Rate Limit Errors#

class pywa.errors.ThrottlingError#

Bases: WhatsAppError

Base exception for all rate limit errors.

class pywa.errors.ToManyAPICalls#

Bases: ThrottlingError

The app has reached its API call rate limit.

class pywa.errors.RateLimitIssues#

Bases: ThrottlingError

The WhatsApp Business Account has reached its rate limit.

class pywa.errors.RateLimitHit#

Bases: ThrottlingError

Cloud API message throughput has been reached.

class pywa.errors.SpamRateLimitHit#

Bases: ThrottlingError

Message failed to send because there are restrictions on how many messages can be sent from this phone number. This may be because too many previous messages were blocked or flagged as spam.

class pywa.errors.ToManyMessages#

Bases: TooManyMessages

Deprecated, use TooManyMessages instead.