# Troubleshooting WhatsApp Business API Error Code 10: Permission Denied
Author: Prashant Jangid
Author URL: https://www.heltar.com/blogs/author/prashant-jangid
Published: 2024-10-29
Category: Troubleshoot
Category URL: https://www.heltar.com/blogs/category/troubleshoot
Tags: WhatsApp API Error
Tag URLs: WhatsApp API Error (https://www.heltar.com/blogs/tag/whatsapp-api-error)
URL: https://www.heltar.com/blogs/troubleshooting-whatsapp-business-api-error-code-10-permission-denied-cm2u1z32z00dmwixonkbk3abd

## Resolving WhatsApp Business API Error Code 10: Permission Denied

When using the WhatsApp Business API, **Error Code 10** (Permission Denied) with a **403 Forbidden status** indicates that the necessary permissions are either missing or have been removed. This error usually prevents access to certain API endpoints or actions.

## What Causes Error Code 10?

Error Code 10 means that permission for the requested action is either:

- Not granted to the app.

- Removed from the app’s access.


## **Solution for Error Code 10**

To fix this error, follow these steps:

1. Go to the [Access Token Debugger](https://developers.facebook.com/tools/debug/accesstoken/) and paste your access token to check if your app has the required permissions.


- Verify if the required permissions, **whatsapp\_business\_management and whatsapp\_business\_messaging**, are enabled.

- If your token doesn’t include these permissions, you’ll need to create a new one. While generating the token, make sure to select the Meta app you are using for API calls and to add the permissions: whatsapp\_business\_management and whatsapp\_business\_messaging (detailed steps ahead).

2. Ensure that the phone number used to set the business public key is allowlisted.

### To Generate a New System User Access Token:

1. Log into **[Meta Business Suite](https://en-gb.facebook.com/business/tools/meta-business-suite)**.

2. Choose your business account from the top-left dropdown, then click the **Settings** (gear) icon.

3. Go to **Business settings.**

4. Click **User > System users**.

5. Find and select the system user you need from the list.

6. Click **Generate new token**.

7. Select the **Meta app** you are using for API calls.

8. Select the necessary **Graph API permissions** for the app. Ensure **whatsapp\_business\_management** and **whatsapp\_business\_messaging** are added.

9. Finally generate the token.


By confirming the necessary permissions and allowlisting the required phone number, you can restore access and resolve Error Code 10.

For further troubleshooting tips on WhatsApp API errors or insights into maximizing the potential of WhatsApp Business API potential, visit [heltar.com/blogs](https://heltar.com/blogs).


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

