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
Error type: SALESFORCE:INSUFFICIENT_PERMISSIONS02Likely causes
- The provided permissions are insufficient.
03How to fix it
- Identify the object and action the failing operation needs.
- In Salesforce, give the connected user the permission for that object and action.
- To see the full stack trace instead of the truncated one, add
-Dmule.verbose.exceptions=trueto the VM arguments. - Turn on verbose logging: in
log4j2.xmladd<AsyncLogger name="org.mule.extension.salesforce" level="DEBUG"/>inside<Loggers>. Turn it off after troubleshooting. - Handle the failure with an error handler of type
SALESFORCE:INSUFFICIENT_PERMISSIONS.
04Official documentation
→Related errors
- SALESFORCE:INVALID_INPUTSALESFORCE:INVALID_INPUT means the input data given to the Salesforce operation is not valid. Compare the payload with what the object accepts, field by field.
- SALESFORCE:NOT_FOUNDSALESFORCE:NOT_FOUND means Salesforce could not find the requested resource. Check the ID or name the operation sends.
- HTTP:FORBIDDENHTTP:FORBIDDEN means the server refused to return the resource because the client does not have access rights to it (HTTP 403). The credentials were sent, so fix the permissions of the identity behind them on the target system.
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