Group Errors#
- class pywa.errors.GroupError#
Bases:
WhatsAppErrorBase exception for all group errors.
Read more at developers.facebook.com.
- class pywa.errors.BadGroup#
Bases:
GroupErrorCannot send messages to single member groups.
- class pywa.errors.GroupUnknown#
Bases:
GroupErrorThe group was not found, either because it doesnβt exist or you are not a member.
- class pywa.errors.GroupInvalidCursor#
Bases:
GroupErrorThe cursor has either expired or become corrupted. Start pagination from the beginning again.
- class pywa.errors.GroupRequestPartiallySucceeded#
Bases:
GroupErrorNot all participant-level operations in the request succeeded.
- class pywa.errors.GroupDuplicateParticipant#
Bases:
GroupErrorDuplicate participants in the participant array input.
- class pywa.errors.GroupParticipantOverlimit#
Bases:
GroupErrorGroup participant size exceeds limit.
- class pywa.errors.GroupSuspended#
Bases:
GroupErrorThe group violates platform policies.
- class pywa.errors.GroupRateLimitHit#
Bases:
GroupErrorGroup operation failed because there were too many group operations from this phone number in a short period.
- class pywa.errors.GroupInvalidProfilePictureAspectRatio#
Bases:
GroupErrorWidth and height of the image must be equal.
- class pywa.errors.GroupImageTooSmall#
Bases:
GroupErrorImage width and height must be greater than 192px.
- class pywa.errors.GroupCreationLimitReached#
Bases:
GroupErrorReached the limit for the maximum number of groups that can be created for this number.
- class pywa.errors.GroupParticipantNotInGroup#
Bases:
GroupErrorParticipant is not a part of the group.
- class pywa.errors.GroupJoinRequestDoesNotExist#
Bases:
GroupErrorGroup join request does not exist.
- class pywa.errors.GroupCreationTemporarilyDisabled#
Bases:
GroupErrorGroup creation is temporarily disabled due to excessive marketing messages sent by the WABA in customer service window over the past 7 days.
- class pywa.errors.GroupAPINotEligible#
Bases:
GroupErrorGroups APIs are only available for eligible phone numbers. Please check eligibility for Groups APIs in our documentation - /documentation/business-messaging/whatsapp/groups/get-started