If you’re working with WhatsApp API and encounter the error 2068 - Flow is blocked, it means that your flow is in a blocked state. This can occur due to various reasons, including incomplete setup of an endpoint or an issue with the public key. This guide will help you identify the causes and resolve the issue quickly.
What Causes the '2068 - Flow is Blocked' Error?
Flow is in a Blocked State: The flow you are trying to execute is currently blocked due to internal restrictions or misconfigurations.
Incomplete Endpoint Setup: If your flow uses an endpoint, it may require additional setup. The public key may be missing, expired, or incorrectly configured.
Changes in API Configuration: Recent updates or changes in WhatsApp API policies may lead to blocked flows.
How to Fix '2068 - Flow is Blocked' Error
1. Verify Flow Status
Check if the flow is blocked due to internal restrictions:
Log into your WhatsApp API provider’s dashboard.
Navigate to the flow settings.
Ensure it is active and not manually disabled.
2. Complete Endpoint Setup
If your flow interacts with an external endpoint, ensure that:
The endpoint URL is correctly configured.
Any required authentication (such as API keys) is properly set up.
You have granted the necessary permissions.
3. Upload or Update Public Key
If the flow relies on encryption or authentication:
Check if the public key is uploaded in the API settings.
If the key has expired, generate and upload a new one.
Verify that the key format is correct.
4. Review Recent API Updates
WhatsApp may introduce changes that affect your flows. Stay updated by:
Checking WhatsApp’s official API documentation.
Reviewing change logs and release notes from your API provider.
5. Restart and Re-test the Flow
Once you have made the necessary fixes restart the flow and test with sample requests to ensure it works correctly.
6. Contact API Support
If the issue persists reach out to your WhatsApp API provider’s support team. If you're a provider and are still unable to resolve the issue contact Meta Support.
For more troubleshooting guides related to WhatsApp API errors, check out heltar.com/blogs.