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
Error in executing buying volatiles function: "Error in executing buy function: {\"code\":-2010,\"msg\":\"Account has insufficient balance for requested action.\"}"
Maybe this can be caught and replaced with something friendlier?
Tried to buy but there was not enough funds available
The text was updated successfully, but these errors were encountered:
is an original message from Binance API, therefore we should not change it. They might inform this message or a different one, and it would be quite a mistake to assume that the error always comes from the balance having not enough funds.
In the future, I or someone might map our own responses accordingly to Binance's status code tho something like
constmapCodeToResponse={-2010: "Tried to buy but there was not enough funds available",-2011: "Another response to another error"...}
Receiving the following warning is very scary
Error in executing buying volatiles function: "Error in executing buy function: {\"code\":-2010,\"msg\":\"Account has insufficient balance for requested action.\"}"
Maybe this can be caught and replaced with something friendlier?
Tried to buy but there was not enough funds available
The text was updated successfully, but these errors were encountered: