Verification Error
Sinch uses conventional HTTP codes to indicate the success or failure of an API request.
Generally, a 2xx code indicates success. 3xx codes are essential part of data verification process. Codes in the 4xx range indicate an error that failed because of information you provided in the request (authentication failed, a required field was missing, or some other parameter was invalid are all examples). Codes in the 5xx range are rare errors on the Sinch servers that you as a developer usually can't do anything about.
In addition to the error codes, we provide a Message field to help you understand in plain text what went wrong.
| Parameter | Description | JSON Type |
|---|---|---|
| status | A summary of the HTTP error code and error type. | string |
| errorCode | The HTTP error code. | string |
| message | A simple description of the cause of the error. | string |
| reference | If applicable, a reference ID for support to use with diagnosing the error. | string |