Skip to content

Signin  >  Errors  >  TooManyRequestsError

TooManyRequestsError

Error Class

TooManyRequestsError dataclass

Bases: ServiceError

Error thrown when rate limit is exceeded HTTP Status Code: 429 Too Many Requests Possible OAuth2ErrorCode values: - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention Possible causes: - Too many token requests from the same client - Rate limiting based on client_id or IP address - Abuse prevention mechanisms triggered - Service protection against excessive token generation

Attributes

error instance-attribute
error: str

OAuth 2.0 error code indicating the specific type of error Will be INVALID_REQUEST for rate limiting scenarios

fault class-attribute instance-attribute
fault: Literal['client', 'server'] | None = 'client'