Loading
Salesforce now sends email only from verified domains. Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Resolve API Execution Errors

          Resolve API Execution Errors

          Use the Debug Details tab to troubleshoot errors in the executed API.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer editions of Revenue Cloud where Salesforce Pricing is enabled
          User Permissions Needed
          To view price logs: Salesforce Pricing Design Time

          Here are some of the most common issues when your pricing API call fails.

          1. If the failed pricing API was used to calculate a product's price, find the error details under the Debug Details tab.
            1. Under Debug Details, click Pricing Procedure.
            2. To find the reasons for success or failure of a line item, expand the line item.
            3. To resolve the error for a failed line item, follow the troubleshooting steps under the respective line item.
            In a typical pricing API call, pricing is calculated for multiple line items. Sometimes, one line item fails, but the others succeed. For example, if you use a Manual Discount element and enter an incorrect value for the Adjustment Type variable, the API call for that specific line item fails, while the other line items succeed.
            Debug details for multiple line itemsDebug details expanded for single line item
          2. If the failed API was used to calculate a product's derived price, check whether the error occurred in the discovery procedure, pricing procedure, or both.
            1. To identify and resolve the issue, under Debug Details, click Discovery Procedure and check the error message.
              The Discovery Procedure tab shows the details in JSON format.
            2. To check the issues based on source and derived products, and their execution information under Debug Details, click Pricing Procedure and follow the troubleshooting steps.
            Revenue Cloud Operations Console Derived Price
          3. When a pricing procedure is executed, you may see an error status even if the error log is empty. This happens because a line item has not been executed for pricing.
           
          Loading
          Salesforce Help | Article