Loading

How to Resolve Concurrent API Errors in Salesforce

Дата публикации: Sep 23, 2026
Описание

This article explains how to troubleshoot and resolve concurrent API errors in Salesforce, which occur when too many long-running API requests run at the same time and exceed governor limits.

Решение

This article answers the question: why do concurrent API errors happen, and how do you prevent and resolve them?

Step 1: Review Concurrent API Usage

  • From Setup, in the Quick Find box, enter Scale Center, and then click Org Performance.
  • To change the time range covered, select a new time range. You can compare two time ranges for data from the last 30 days.
  • To choose a second time range, select Compare. The first time range is the Baseline Time Range, and the second is the Comparison Time Range. Click Submit.
  • Scale Center returns results and time series charts for key performance metrics in your selected time range. To select a time range and launch an analysis, click and drag any chart.

Step 2: Check for Governor Limits

Understand Salesforce API governor limits. Concurrent API limits restrict the number of long-running API requests that can be active simultaneously.

Step 3: Optimize API Calls

Refactor your API integrations to reduce the number of concurrent calls or the duration of individual calls. Use Bulk API when processing large datasets.

Step 4: Implement Retry Mechanisms

Design your external systems to retry API calls with a back-off strategy if a concurrent API error occurs.

Step 5: Review Custom Code

If custom Apex code or integrations are involved, check for inefficient queries or loops that could lead to multiple concurrent API calls.

Step 6: Monitor API Usage

Use Salesforce monitoring tools to track API usage and identify peak times or specific integrations that might be exceeding limits.

Номер статьи базы знаний

005460526

 
Загрузка
Salesforce Help | Article