ACCESS_DENIED
Should you try again? No, not until the API key is allowed to make the request, or the account is active again.
Why it happens
- The key is a restricted key without the scope this endpoint needs. WhatsApp endpoints need the WhatsApp resource: Read for
GETrequests and Write for all other requests. - The key is limited to authorized IP addresses, and the request came from an IP address that isn’t on the list.
- The account is suspended. The
detailfield saysThe account is suspended.
How to fix it
- In the Wavix portal, go to Administration → API Keys and open the key.
- If the key is restricted, give it the permission the endpoint needs.
- If Restrict access to authorized IPs only is on, add the public IP address of the server that sends the request.
- If the account is suspended, contact support@wavix.com.
Technical details
For the error format and how to handle it, see Request errors.