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

Implement Malformed error code #41

Merged
merged 2 commits into from
Apr 14, 2020
Merged

Conversation

marioizquierdo
Copy link
Collaborator

Fixes #39

Service routing logic now returns the new error code malformed (400) if the request JSON or Protobuf is invalid. Previously it would return bad_request (404), so this is a non-backwards compatible, major version update. But it won't affect existing clients (even in other languages), this would only affect manual requests that were sending invalid JSON or Protobuf.

@marioizquierdo marioizquierdo requested a review from spenczar July 28, 2019 07:10
@marioizquierdo marioizquierdo merged commit 2625270 into master Apr 14, 2020
@marioizquierdo marioizquierdo deleted the malformed_error_code branch April 14, 2020 17:32
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.

Malformed error code
1 participant