Flows Errors#
- class pywa.errors.FlowError#
Bases:
WhatsAppError
Base exception for all flow errors.
Read more at developers.facebook.com.
- class pywa.errors.FlowBlockedByIntegrity#
Bases:
FlowError
Unfortunately, we’ve identified an issue with integrity in your account and have prevented you from creating or publishing your Flow.
- class pywa.errors.FlowUpdatingError#
Bases:
FlowError
Flow failed to update
Flow can’t be updated (You attempted to update a Flow that has already been published.)
Error while processing Flow JSON.
Specify Endpoint Uri in Flow JSON (You provided endpoint_uri param for a Flow with Flow JSON version below 3.0.)
- class pywa.errors.FlowPublishingError#
Bases:
FlowError
Flow failed to publish.
Publishing Flow in invalid state
Publishing Flow with validation errors
Publishing Flow without data_channel_uri
Publishing without specifying endpoint_uri is forbidden (Starting from Flow JSON version 3.0 endpoint_uri should be specified via API.)
Versions in Flow JSON file are not available for publishing
No Phone Number connected to WhatsApp Business Account
Missing Flows Signed Public Key
No Application Connected to the Flow
Endpoint Not Available
WhatsApp Business Account is not subscribed to Flows Webhooks