Skip to content

account.rate_limited

The account is over its request rate

Type https://mthds.ai/errors/account.rate_limited
Family account: The account's limits.
Domain account: the account's owner acts
Retry yes: repeating the operation may succeed, after retry_after seconds when the problem gives it
HTTP status 429
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

The account sent more requests than its rate allows.

What to do

Send the request again after retry_after seconds when the problem gives it, and spread later requests so that they stay under the rate.

Next steps

A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the account's owner, and the second for any other reader.

Reader Kind Detail
The domain's actor wait Wait for the rate window to pass, then send the request again.
Any other reader wait Wait for the rate window to pass, then send the request again.

Detail

The problem's detail is written from this template, filled with the occurrence's parameters:

The account sent more than {limit} requests in {window} seconds.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
limit integer The number of requests the account may send in one window.
window seconds The length of the window.

See also