Skip to main content
When you set up Facebook Audience campaigns using Marketing APIs, you might run into specific errors. Below are some common errors and how to resolve them.

Check for Required Permissions

Facebook’s API does not let you create or change Custom Audiences if the terms have not been accepted. If the contract is not signed, Facebook triggers an error when you try to create or edit a Custom Audience.

Identify Permission Issues

To confirm that permission issues are causing the audience creation failure, follow these steps:
  1. Go to Developer Tools in your browser.
  2. Select the Network tab.
  3. In MoEngage, click Create Audience in the Create new audience section.
  4. Look for the error message that appears in the Network tab, as shown below. Screenshot_2021-07-09_at_4.50.23_PM.png

Resolve Permission Issues

To resolve this issue, follow these steps:
  1. Navigate to the Manage Custom Audiences page on Facebook. You might be asked to log in if you are not already logged in.
  2. Update the correct Ad account ID in the URL.
  3. Accept the terms and conditions for the Ad account.
  4. Fetch a new access token from the Facebook App dashboard.
  5. Go to the MoEngage dashboard. Log out from Facebook on the MoEngage Settings page, and then log in again with the new access token.
  6. Try creating a new audience or adding new users to an existing audience.
If the problem continues, try these additional steps:
  1. Go to the Facebook App dashboard, and then click Add Product.
  2. Search for Facebook Login, and then select it.
  3. Fill in the relevant details. This should add Facebook Login to the left panel under Products.
  4. Return to the MoEngage dashboard, and then try creating a new audience or adding new users to an existing audience.