HTTP response codes¶
Response codes¶
The Consumer Intelligence API returns the following HTTP statuses in the responses:
HTTP status | Description |
---|---|
200 OK |
Request successful. |
201 Created |
Request successful, resource created. |
202 Accepted |
Request successful, asynchronous operation started. |
204 No Content |
Request successful, but empty result. |
400 Bad Request |
Invalid request, see the error for details. |
401 Unauthorized |
Invalid credentials. |
403 Forbidden |
Authentication successful, but credentials lacks authorization. |
404 Not Found |
Resource was not found, or (in some cases) client does not have access to resource. |
409 Conflict |
Unsuccessful due to conflicting resource. |
429 Too Many Requests |
Client has surpassed its rate limit. Refer to Retry-After header on when to retry. |
500 Server Error |
An internal Consumer Intelligence problem. |
503 Service Unavailable |
Consumer Intelligence has a temporary downtime, try again. |
See the API specification for each API for details.
In general:
- 2xx responses: Everything is OK.
- 4xx responses: Client Error. You have a problem, and you must correct it.
- 5xx responses: Server Error. We have a problem, and we must correct it.