Skip to content

fix(aci): Change response from 404 to 400 when there's an issue with billing metric alerts#112614

Merged
saponifi3d merged 1 commit intomasterfrom
jcallender/aci/improve-metric-alert-api-errors
Apr 10, 2026
Merged

fix(aci): Change response from 404 to 400 when there's an issue with billing metric alerts#112614
saponifi3d merged 1 commit intomasterfrom
jcallender/aci/improve-metric-alert-api-errors

Conversation

@saponifi3d
Copy link
Copy Markdown
Contributor

Description

Currently, we return a 404 when there's a billing issue. This leads to a confusing user experience and there aren't clear next steps.

This PR changes the 404 response to 400; to greater illustrate that it's an issue with the request data / state. The detail information also includes the recommendation to checkout your organization billing settings to give users next steps.

@saponifi3d saponifi3d marked this pull request as ready for review April 9, 2026 19:52
@saponifi3d saponifi3d requested a review from a team as a code owner April 9, 2026 19:52
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 9, 2026
@saponifi3d saponifi3d merged commit a1a9615 into master Apr 10, 2026
56 checks passed
@saponifi3d saponifi3d deleted the jcallender/aci/improve-metric-alert-api-errors branch April 10, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants