Failed Responses
Responses can contain a list of one or more errors. These are strings describing the error condition. These are typically due to input data validation failures and thus associated with the specific input field.
Below is an example of a response from a failed login method call where the password field was too short:
<struct> <member> <name>errors</name> <value> <struct> <member> <name>password</name> <value> <array><data> <value><string>Input must be at least 6 characters. You submitted 3</string></value> </data></array> </value> </member> </struct> </value> </member> <member> <name>api_status</name> <value><int>500</int></value> </member></struct>
Note: These error messages may be localized based on the account’s language preferences.
Thank you! Your feedback will help us to improve this guide.
Was this page helpful?
We're sorry to hear that.