MuleSoft · Salesforce Connector

SALESFORCE:INVALID_INPUT

Short answer

SALESFORCE: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.

VerifiedLast verified

01Error text

MuleSoft error
Error type: SALESFORCE:INVALID_INPUT

02Likely causes

  • The provided input data for an operation is not valid.
  • The docs note that currency values may not exceed 18 characters, and that a value checked against a Salesforce list must be the exact value.

03How to fix it

  1. Log the input to the failing operation and compare it with the object's fields in Salesforce.
  2. Correct the mapping that produces the invalid value.
  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:INVALID_INPUT.

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.