Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(code mappings): Handle non-int project ids #83087

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

lobsterkatie
Copy link
Member

It's unclear how this happens (user error? misconfigured integration?), but from time to time our code mappings endpoint gets hit with a request where the project id is a string or a hex value rather than an integer. This adds handling for that case, returning a 400 response rather than simply erroring out.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 8, 2025
@lobsterkatie lobsterkatie marked this pull request as ready for review January 8, 2025 12:57
@lobsterkatie lobsterkatie requested a review from a team as a code owner January 8, 2025 12:57
@lobsterkatie lobsterkatie merged commit b96b639 into master Jan 8, 2025
50 checks passed
@lobsterkatie lobsterkatie deleted the kmclb-handle-code-mappings-project-id-error branch January 8, 2025 18:05
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