Skip to content

fix(ui): Ignore 402 request errors - #120708

Merged
scttcper merged 1 commit into
masterfrom
scttcper/ignore-402-errors
Jul 27, 2026
Merged

fix(ui): Ignore 402 request errors#120708
scttcper merged 1 commit into
masterfrom
scttcper/ignore-402-errors

Conversation

@scttcper

Copy link
Copy Markdown
Member

402 responses from Autofix are expected when payment is required, but the rejected RequestError can still be reported by the UI SDK.

Filter those events and treat 402 as non-retryable in the default React Query config.

Stop default queries from retrying 402 responses and filter matching RequestError events from UI SDK reporting.

Co-Authored-By: Codex <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 27, 2026
@scttcper
scttcper marked this pull request as ready for review July 27, 2026 23:13
@scttcper
scttcper requested review from a team as code owners July 27, 2026 23:13
@scttcper
scttcper requested review from chargome, logaretm, msonnb and s1gr1d and removed request for a team July 27, 2026 23:13
@scttcper
scttcper merged commit c91a49a into master Jul 27, 2026
78 checks passed
@scttcper
scttcper deleted the scttcper/ignore-402-errors branch July 27, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants