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

/hyperblock/by-nonce/:metablock returns 500 when called with block nonce of the future #279

Open
lahivee opened this issue Oct 13, 2021 · 2 comments

Comments

@lahivee
Copy link

lahivee commented Oct 13, 2021

Hello,

The api endpoint /hyperblock/by-nonce/:metablock returns an internal server error (500) when called with a meta block nonce of the future (to yet existing nonce). A return message that symbolizes invalid input (of the 4XX line) would help to analyze the response for anomalies.

Thank you

@bogdan-rosianu
Copy link
Contributor

Hello!
We are aware that HTTP codes don't follow the standard in some cases. However, changing this now will introduce breaking changes for all users so we'll postpone the refactoring until we'll prepare a version 2.

@lahivee
Copy link
Author

lahivee commented Nov 21, 2021

Thank you for reopening this! It makes it easier to act accordingly

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

No branches or pull requests

2 participants