Skip to content

STL 1345 fix#42

Open
shresthichauhan wants to merge 1 commit intolntdev:shresthifrom
shresthichauhan:STL-1345_Fix
Open

STL 1345 fix#42
shresthichauhan wants to merge 1 commit intolntdev:shresthifrom
shresthichauhan:STL-1345_Fix

Conversation

@shresthichauhan
Copy link
Copy Markdown
Collaborator

This fix will solve STL-1345 bug.

Currently user will get "Internal Server Error" (no JSON response) with GET/State Bad Head parameter.

before

This fix will resolve the issue and give JSON response with error code 60 for BAD Head parameter.

after

Copy link
Copy Markdown
Collaborator

@kulkarniamol kulkarniamol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JSON return code should be 62, not 60. 60 is meant to be returned in case of invalid "block, batch or transaction id" as per the documentation.

Also, where is the code where the JSON error is being set?

Currently user will get "Internal Server Error" (no JSON response)
with GET/State Bad Head parameter.This fix will resolve the issue
and give JSON response with error code 62 for BAD Head parameter.

Signed-off-by: shresthichauhan <shresthix.chauhan@intel.com>
@shresthichauhan
Copy link
Copy Markdown
Collaborator Author

JSON return code 62 will work for bad head, partial address and wildcard characters -

partial_address_wildcard_character

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.

2 participants