Skip to main content

HTTP Response Status Codes

Overview

This page documents the meanings, causes, and recommended client handling of the HTTP response status codes returned by the platform API.

HTTP codes

Status codeNameDescriptionRetry behavior
2xx successful
200OK

The request was successful. If an action was requested, it was performed synchronously. Data has been returned.

Do not retry.
202Accepted

The request was successful. If an action was requested, it is performed asynchronously.

Do not retry.
204No Content

The request was successful. If an action was requested, it was performed synchronously. There is no data returned.

Do not retry.
4xx client error
400Bad Request

The server cannot process the request due to a client error. See the API documentation or contact us for help.

Do not retry.
401Unauthorized

The client is not authenticated or has missing credentials in the request.

Do not retry.
403Forbidden

Access to this resource has not been granted. This can also be a result of a quota limit or your plan.

Do not retry.
405Method Not AllowedThe route or method implementation does not exist.Do not retry.
409ConflictA duplicate resource exists.Do not retry.
429Too Many RequestsThe rate limit has been exceeded.

If a Retry-After header is present, retry after the specified number of seconds. Otherwise, do not retry.

5xx server error
500Internal Server Error

This error should not occur. If you see it, contact us.

Do not retry.
502Bad Gateway

This error should not occur. If you see it, contact us.

Retry with exponential backoff.
503Service UnavailableThe platform is down for maintenance.Retry with exponential backoff.
504Gateway Timeout

The request took too long. If you see this response, contact us.

Retry with exponential backoff.
529Site OverloadedThe platform is under excessive load.

Retry honoring the Retry-After response header, if provided. Otherwise, retry with exponential backoff.

Retries with exponential backoff

For HTTP requests identified for retry in the preceding table, retry up to five times with an exponential backoff of 23n2^{3n} seconds between attempts (where nn is the retry number). An example retry strategy follows.

Retry attemptWait time (seconds)
18
264
3512
44096
532,768

Retry-After HTTP response header

5xx and 429 responses can optionally include a Retry-After header. The Retry-After header provides the minimum time the client should wait before retrying the request. The header value can be an integer number of seconds or a date string. For more information, see the Retry-After documentation on MDN.