Template Creation Errors#
- class pywa.errors.TemplateCreationError#
Bases:
WhatsAppErrorBase exception for all template creation errors.
Read more at developers.facebook.com.
- class pywa.errors.TemplateCharacterLimitExceeded#
Bases:
TemplateCreationErrorA field in your template has exceeded the maximum character limit allowed.
- class pywa.errors.TemplateHeaderFormatIncorrect#
Bases:
TemplateCreationErrorYour message header contains invalid formatting.
- class pywa.errors.TemplateBodyFormatIncorrect#
Bases:
TemplateCreationErrorYour message body contains invalid formatting.
Bases:
TemplateCreationErrorYour message footer contains invalid formatting.
- class pywa.errors.TemplateParametersWordsRatioExceedsLimit#
Bases:
TemplateCreationErrorThis template has too many variables for its length. Reduce the number of variables or increase the message length.
- class pywa.errors.TemplateLeadingOrTrailingParametersNotAllowed#
Bases:
TemplateCreationErrorVariables cannot be at the start or end of the template.
- class pywa.errors.TemplateLimitExceeded#
Bases:
TemplateCreationErrorYou have exceeded the maximum number of message templates you can have for this WhatsApp business account.