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
When trying to send transaction to in-valid address there should be a meaningful error message provided. Currently when trying to send transaction to address that is NOT base58 encoded string there is a HTTP 400 response and an error message:
{
"code":"bad_request",
"message":"Error in $.payments[0].address: Unable to decode Address: expected Base58 encoding"
}
(yet this message should be also edited to comply with anthropomorphic style of messaging cf #298, #299)
However, in case when provided address IS base58 string (yet not valid address) the response from the server is just HTTP 500 and a message:
Context
When trying to send transaction to in-valid address there should be a meaningful error message provided. Currently when trying to send transaction to address that is NOT base58 encoded string there is a
HTTP 400
response and an error message:(yet this message should be also edited to comply with
anthropomorphic
style of messaging cf #298, #299)However, in case when provided address IS base58 string (yet not valid address) the response from the server is just
HTTP 500
and a message:Something went wrong
Steps to Reproduce
Expected behavior
HTTP 400
error message:
Actual behavior
HTTP 500
Something went wrong
Resolution Plan
N/A
PR
master
QA
Actually fixed as a side-effect of #313 which also even adds a proper negative test to capture this behavior: see Cardano.Wallet.HttpBridge.CompatibilitySpec
The text was updated successfully, but these errors were encountered: