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
Ilan PerezIlan Perez 

Debug Streaming API

We have 200K Streaming API Call per day. For some reason these are all being used up and we dont know why.
I am trying to work out how i can debug what is making these api calls.

Can anyone advise.

Regards
Ilan
Raj VakatiRaj Vakati
Can you check the push topic object to see what all the cases its firing?  like notification for create or update etx .. 
Sourabh ShrivastavaSourabh Shrivastava

As per Salesforce Streaming API applications are stateful, you need to use a proxy tool to debug your application. Please see below link for more details. 

https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/DebuggingStreamingAPIApplications.htm (https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/DebuggingStreamingAPIApplications.htm" target="_blank)

Ilan PerezIlan Perez
I get that if I want to debug the actual api call but how do I see what is making all of these api calls in the first place. Is there a way to generate a report viewing what system made the api call? To be honest I am a little lost as to what a streaming api call is...