Skip to main content
Error code: 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 GET requests 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 detail field says The account is suspended.

How to fix it

  1. In the Wavix portal, go to Administration → API Keys and open the key.
  2. If the key is restricted, give it the permission the endpoint needs.
  3. If Restrict access to authorized IPs only is on, add the public IP address of the server that sends the request.
  4. If the account is suspended, contact support@wavix.com.
For more information, see Restricted keys and scopes.

Technical details

For the error format and how to handle it, see Request errors.