RateLimitExceededException

class RateLimitExceededException[source]

JSON representation of the exception, extending base APIException.

code: Literal['RATE_LIMIT_EXCEEDED']

A unique code identifying the kind of error that occurred.

retry_after: timedelta

The amount of time to wait before making another request.

add_note(object, /)

Exception.add_note(note) – add a note to the exception

args
with_traceback(object, /)

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

response: Response | None

The response that generated this error, only present if this data was parsed as toplevel exception from a response.

message: str

The user readable message for the exception.

description: str

A more detailed version of the error message.

request_id: str

The id of the request that went wrong. Please include this id when reporting bugs.