Error Object
GET Errors
When a GET request has an error it will be represented by an object in the error array with this shape:
{ "error": "<string>", "account_id": "<string>", "id": "<string>"}Object not found
Returned when the given id does not exist:
{ "error": "object_not_found", "account_id": "acct_123", "id": "web_123"}POST PUT DELETE Errors
This type of error is returned when the request that made it was in error. This response will be part of an array that may contain other errors or successful responses. The error will be formatted like this:
{ "error": "<string", "_idx": <integer>,}errorcode to identify the returned error_idxindexed of the object in the request array that raised this error
Object not found
Returned when the requested object cannot be found
{ "error": "object_not_found", "_idx": 1}