Status Codes
This section provides you the list of expected HTTP response error codes while making the API calls to SAM's Sponsored APIs.
Status and Error codes:
Code | Description | Notes |
---|---|---|
200 | OK | The request was successful |
400 | Bad Request | The request was not properly formed and therefore was not successful |
422 | Unprocessable Entity | The server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions |
403 | Unauthorized | Invalid credentials |
404 | Entity Not Found | Entity Not Found |
429 | Too Many Requests | Number of requests has exceeded the operations/hour limit (Rate limit) for the integrator. Retry after 10 minutes. |
500 | Internal Server Error | An internal server error has occurred |
503 | Service Not Available | The server is currently unable to handle the incoming requests because it is either too busy or is temporarily down for maintenance. |
520 | Cloudflare error | Origin's web server received an invalid or incorrectly interpreted request, resulting in an empty response |
521 | Service Not Available | The origin server has refused the connection. Try again later. |