Loading

Marketing Cloud REST Route returns Insufficient Privileges error

Julkaisupäivä: Oct 13, 2022
Kuvaus
If your API call is returning the following error in the Response when hitting a REST route, your app is likely missing a required scope in its permissions.
{
    "message": "Insufficient Privileges to complete this action.",
    "errorcode": 20002,
    "documentation": ""
}
Ratkaisu
Navigate to your Component within your Installed Package which is tied to the credentials making the API call.

This is found within Setup > Apps > Installed Package, then click into the specific Installed Package. Scroll down to the Component of the app making the call and take a look at the Scope section. Ensure the required scope is selected or select all and adjust in your rest call on a case by case basis
Knowledge-artikkelin numero

000384391

 
Ladataan
Salesforce Help | Article