Skip to content

Too many requests error

About

Contains a too many requests error message and data. The error occurs if more requests are made within a certain period than the application allows. The HTTP response contains the Retry-After header, which indicates when it is recommended to repeat the request for its successful completion. See more Rate limiting

Fields

Name Type Required Description
id integer Yes Error id
error string Yes Error name
message string Yes Error description
metadata object Yes Additional information about error. See below

Metadata

Name Type Required Description
periodInMinutes integer Yes rate limiting period in minutes
requestsPerPeriodAllowed integer Yes available requests for period
recommendedRetryTime date Yes recommended time to retry request

Example

{
  "id": 1,
  "error": "TooManyRequestsError",
  "message": "The /users/current/accounts API allows 10 requests per 60 seconds to avoid overloading our servers. Please wait some time and retry your request or contact support to extend your quota.",
  "metadata": {
    "period": 60000,
    "requestsPerPeriodAllowed": 10,
    "recommendedRetryTime": "2021-02-05T16:59:17.029Z"
  }
}

Usages

All responses of REST API