function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Management 20Management 20 

Salesforce to Salesforce causing huge spike in API calls

We have a two way salesforce to salesforce connection between two orgs and it always used to work correctly until recently it just started spiking up to over 175000 API calls a day. We've investigated the cause and this is definitely coming from the salesforce to salesforce connection. Does anyone know why this is happening? We have a number of flows on both salesforce orgs and somebody has suggested to me there could be some sort of loop that causes the calls to just keep going indefinitely. Any input on what may be causing this would be appreciated.
VinayVinay (Salesforce Developers) 
Hi Management,

You can create a Salesforce API usage report and manage your API calls.  Check below reference for same.

You would need to check and debug issues and there is no straight answer for spike in API calls.

Please mark as Best Answer if above information was helpful.