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

422 instead of 500 on subject schema error #837

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

gpkc
Copy link
Contributor

@gpkc gpkc commented Mar 12, 2024

When a user sends a bad schema, we return a 500 even though the error is handled.

Here we return a 422 instead.

@gpkc gpkc requested review from a team as code owners March 12, 2024 10:56
@gpkc gpkc requested a review from tvainika March 12, 2024 14:56
tvainika
tvainika previously approved these changes Mar 12, 2024
@aiven-anton aiven-anton merged commit 143fa73 into Aiven-Open:main Mar 13, 2024
8 checks passed
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.

4 participants