-
Notifications
You must be signed in to change notification settings - Fork 880
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
Change JSON RPC Error-32602 (Invalid Params) to return with http status code 200 #4967
Change JSON RPC Error-32602 (Invalid Params) to return with http status code 200 #4967
Conversation
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -4,6 +4,8 @@ | |||
|
|||
### Breaking Changes | |||
|
|||
- Changed JsonRpc http service to return the error -32602 (Invalid params) with a 200 http status code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: from 400 to 200
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
…us code 200 (hyperledger#4967) * Handle INVALID_PARAMS with a 200 http status code * Change tests to expect INVALID_PARAMS with a 200 http status code * Add change log entry * Change test to handle jsonRPC result rather than raised exception Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
…us code 200 (hyperledger#4967) * Handle INVALID_PARAMS with a 200 http status code * Change tests to expect INVALID_PARAMS with a 200 http status code * Add change log entry * Change test to handle jsonRPC result rather than raised exception Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
PR description
This PR changes the JsonRpc http service to return the error -32602 (Invalid params) with a 200 http status code.
Fixed Issue(s)
Linked to #4747
Documentation
doc-change-required
label to this PR ifupdates are required.
Changelog