You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do cursor validation, however, if there is an error we return a
plain error instead of a `problem.P` -- this causes horizon to handle
the error as a 500 instead of a 400.
This fix moves cursor parsing to its own method and then use it in the
query handler to return a `problem.P` error.
Fixesstellar#3085.
We do cursor validation, however, if there is an error we return a
plain error instead of a `problem.P` -- this causes horizon to handle
the error as a 500 instead of a 400.
This fix moves cursor parsing to its own method and then use it in the
query handler to return a `problem.P` error.
Fixes#3085.
What version are you using?
1.9.0
What did you do?
Request
/claimable_balances
with invalidcursor
value. Ex: https://horizon-testnet.stellar.org/claimable_balances?cursor=1003529-00000043d380c38a2f2cac46ab63674064c56fdce6b977fdef1a278ad50e1a7e6a5e18 (hex-encoded balance id is malformed).What did you expect to see?
400 Bad Request
response.What did you see instead?
500 Internal Server Error
response.The text was updated successfully, but these errors were encountered: