Loading

Proactive Alert Monitoring: Synchronous Callout Failures

Дата публикации: Aug 31, 2023
Описание

Synchronous Callout Failure occurs when a synchronous (realtime) callout initiated from your Salesforce org fails to successfully connect or return data from an external source. 

The Signature Success plan’s Proactive Monitoring product will monitor for, and alert you to, sustained volumes of these errors. This article outlines some scenarios to help you investigate should you receive an alert from Proactive Monitoring related to this error type. In addition, on the Salesforce Help site Designated contacts and above can see your realtime metrics, alerts & more.

If the following error text is included in the full text of an error message received, your organization may experience performance issues and possible service disruptions.

Full error message text:

  • Unable to process request. System.CalloutException

 

Causes

Below are some possible callout failure scenarios:

  • External endpoints returning HTTP error codes
  • Improperly configured remote site settings
  • Poorly coded Apex callouts
Решение

Here are some common practices & resources that may help to resolve this error.

     

    External endpoints returning HTTP error codes

    • If you are attempting to connect to an external endpoint and you encounter HTTP error codes (404 not found, 500 internal server error), these failures will contribute to your failure percentage, and can potentially mask larger issues.
     

    Improperly configured remote site settings

    • Ensure all external endpoints are correctly configured via 'Remote Site Settings' within your Salesforce organization.  Please refer to our site settings configuration guide for best practices.
     

    Poorly coded apex callouts

    • Always adhere to best practices when utilizing Apex callouts to external sources.

     

    Additional resources 


    Help and Developer resources

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

    000384178

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