How to View Salesforce Integration Log Details

September 17, 2024

Salesforce Integration Logs allow you to quickly identify and resolve integration issues, reducing system downtime and preventing data discrepancies. With error notifications, you can take immediate action when an error occurs, eliminating the need to check the logs manually. These logs provide detailed records of all data transfers between Jotform and Salesforce.

Common errors often arise from mismatched configurations between Jotform integration and Salesforce settings.

Youtube Embed Poster: -gaFSR9UcUo

Viewing the Salesforce Action Logs

You can view the Salesforce Action Logs by going through the Salesforce option again through the Integration tab. Here are the steps:

  1. In the Form Builder, go to the Settings tab.
  2. Click Integrations on the left panel.
  3. Choose Salesforce from the list. All apps that you integrate with Jotform are displayed at the top.
  1. Click the See Action Logs button to view your Salesforce integration log details.
See Action Logs button in the Salesforce integration settings

You’re now viewing the Salesforce Log Details. On this window, you’ll see the action log dropdown filters. One is to filter the Success and Errors, and the other is to filter the range (Today, Last 7 Days, Last 15 Days, and Last 30 Days).

Now, to view the details, simply click the small arrow on the right side of the error to view the log details.

Action Logs window in Salesforce integration with Jotform

Note

Jotform keeps the error logs for 30 days. That’s a lot of time for you to backtrack the errors. However, we still recommend monitoring your integration to see if it’s still sending realtime data.


Error Notifications

To prevent potential disruptions to the data flow, Jotform also sends an email when a problem occurs with your Salesforce integration. This process runs automatically and sends you an email notification if it detects a failed action in the last 24-hour logs.

Here is what the error summary email will look like:

Jotform Notification Email for Salesforce error logs

Common Errors and Resolutions

To overcome the errors, general solutions are to correct the Jotform Form Field’s options, make form fields required, or add permissions on Salesforce. Below are the most common errors you’ll find and the corresponding solutions:

ErrorSolution
Bad value for restricted picklist field#1: Match the form field options to Picklist API names.
#2: Allow the picklist to accept values that are not defined in the picklist value set.
Duplicate records detected#1: Adding an updated record matching the rule.
#2: Disabling the duplicate rule.
Missing required field#1: Make the field required.
Data value too large#1: Set a character limit.
#2: Change your custom field type in Salesforce.

Bad Value for Restricted Picklist Field

Error code: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST

The mismatching options between the Jotform form field and the Salesforce picklist API Names cause this error.

The possible solutions to this case are:

Method #1: Match the form field options to Picklist API names

Assume a Single Choice field is mapped to a Picklist. The options of the Single Choice field and the Picklist API names should perfectly match, as shown in the images below:

Single Choice field with options
Salesforce picklist API Names

Method #2: Allow the picklist to accept values that are not defined in the picklist value set

To do this, you must edit your Picklist field in Salesforce and uncheck the “Restrict picklist to the values defined in the value set” option. See the below image for the option:

Restrict picklist value in Salesforce field settings

See also: Salesforce – INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST.


Duplicate Records Detected

Error code: DUPLICATES_DETECTED

While creating a record at Salesforce from Jotform submission data, Salesforce can reject the request due to Salesforce’s duplicate rules.

The possible solutions to this case are:

Method #1: Adding an updated record matching the rule

If you’ve chosen to Create a record when you first did the Salesforce integration, edit it and ensure that the “Update an existing record” option is enabled and a matching rule is set. You can add as many rules as you want, but matching with the Email Address field is recommended. The rule checks the records and will automatically determine the action for you – to update the record instead of throwing an error.

Update an existing record in Jotform's Salesforce integration

Method #2: Disabling the duplicate rule

Turning off the duplicate rule in the chosen object will also work, but it is not recommended if you wish to keep your data free of duplicate information from the same user. If you wish to do it this way, here are the steps:

  1. In your Salesforce dashboard, go to the Setup page.
  2. In the Quick Find box, search for Duplicate Rules.
  3. Click Duplicate Rules from the result. It is under the Duplicate Management section.
  4. Click the Standard Lead Duplicate Rule of the chosen object from the list of duplicate rules. In the below example, we have the Lead as the object.
Duplicate Rules in Salesforce Duplicate Management
  1. Click the Deactivate button, and that’s it!
Deactivate Button in Salesforce Duplicate Rule

See also:


Missing Required Field

Error code: REQUIRED_FIELD_MISSING

You’ll get this error when your Salesforce object has required fields mapped to an optional Jotform field, and your users skip it upon submitting their data. To fix this error, you must set the Jotform field as required.

Required toggle in an Email field properties

See also: How to Set a Required Field.


Data Value Too Large

Error code: CANNOT_EXECUTE_FLOW_TRIGGER

When you find an error code with a “STRING_TOO_LONG” message, it means that a question answer has more characters than the Salesforce record’s field limit. Below are the solutions to this error:

Method #1: Set a character limit to the Jotform field

The Character Limit is found in the Short Text Entry field. It’s called the Entry Limit on the Long Text Entry field.

Character Limit in Short Text Entry properties

See also: How to Set Entry Limits on Short and Long Text Fields.

Method #2: Change the custom field type on Salesforce

You can change your custom field type according to the length of your answer to your form question. You can find the custom field type character lengths in this document.

Change Field Type button when editing a custom field type in Salesforce

See also: Salesforce – Change the Custom Field Type.

Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.