Errors and Error Codes
Learn how to handle errors.
Upon error, a response will contain details to help resolve the error. The response will contain the following fields:
Attribute | Type | Description |
Code | string | Error code. |
Message | string | A detailed error message. We recommend not to rely on the message to programmatically handle the error. Use Code to do that instead. |
ID | string | Optional. For 500 responses only. If you encounter an error and this field is present, you can send us this ID for our reference. |
ExtraData | string | Optional. Extra data that may be helpful to handle the error. This could be a JSON string. |
InnerErrors | array of InnerError |
Attribute | Type | Description |
Code | string | Error code. |
Path | string | The name of the request object's attribute that has errors. |
Message | string | A detailed error message. We recommend not to rely on the message to programmatically handle the error. Use Code to do that instead. |
Last modified 3yr ago