Get familiar with errors you might encounter
HTTP status codes do not always provide sufficient information about the cause of an error. For more detailed programmatic handling of errors, responses contain additional JSON fields that describe the error.
Whenever an API request results in an error, the response will contain a high-level error class specified by the
codeand a human-readable summary in the
"message":"Invalid wallet address."
The table below shows the list of error codes that may be returned in an API error response.