MuleSoft · Salesforce Connector

SALESFORCE:INSUFFICIENT_PERMISSIONS

Short answer

SALESFORCE:INSUFFICIENT_PERMISSIONS means the permissions of the connected Salesforce user are not enough for the operation. Grant that user the missing permission in Salesforce, or connect with a user that has it.

VerifiedLast verified

01Error text

MuleSoft error
Error type: SALESFORCE:INSUFFICIENT_PERMISSIONS

02Likely causes

  • The provided permissions are insufficient.

03How to fix it

  1. Identify the object and action the failing operation needs.
  2. In Salesforce, give the connected user the permission for that object and action.
  3. To see the full stack trace instead of the truncated one, add -Dmule.verbose.exceptions=true to the VM arguments.
  4. Turn on verbose logging: in log4j2.xml add <AsyncLogger name="org.mule.extension.salesforce" level="DEBUG"/> inside <Loggers>. Turn it off after troubleshooting.
  5. Handle the failure with an error handler of type SALESFORCE:INSUFFICIENT_PERMISSIONS.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.