Skip to content

Log QRS reject status/error on account-facts sync_rejected - #397

Merged
Pigbibi merged 1 commit into
mainfrom
chore/ft-afs-log-qrs-reject
Oct 9, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
chore/ft-afs-log-qrs-reject

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Publish collapses every non-200 QRS response into sync_rejected. Log status= and a bounded alphanumeric error= token so the next /account-facts-sync invoke surfaces the exact Workers reject reason (e.g. account_facts_identity_mismatch) without dumping secrets or bodies.

Likely cause under investigation: sole-account fallback posts real broker_account_id while QRS Firstrade binding may still bind account_selector/broker_account_id from the platform label.

No trading-mode / strategy change.

Publish currently collapses every non-200 QRS response into sync_rejected.
Print status= and a bounded alphanumeric error= token so the next invoke
shows the exact console reject reason without dumping secrets or bodies.
@Pigbibi
Pigbibi merged commit 918c6cb into main Oct 9, 2026
1 check passed
@Pigbibi
Pigbibi deleted the chore/ft-afs-log-qrs-reject branch October 9, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant