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
David SobczakDavid Sobczak 

Report API Usage with Sforce-Call-Options doesn't work

Hello,

I would like to identify rest call api to SF by the differents custom connected apps. 

I found this doc https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/headers_calloptions.htm which explain to use the header  "Sforce-Call-Options" to do that. But on my side it doesn't work the report never display my custom client name. Do you have an idea or an experience where this header work.

My PostMan config :

User-added image

And the standard report API usage (I am wainting more than 24 hours between request and printing report) :
User-added image 

Thanks for your help

Enrique MuñozEnrique Muñoz
Same problem in our org.
David SobczakDavid Sobczak
For my part, I still haven't found a solution...
Zafar khan 13Zafar khan 13

I have made the Post callout which was written in Rails (hosted on a Private server- VPN connected) which will get the JSON response. When i tried to execute the code in Salesforce, I got an error 'Server unavailable, status code = 503'. I use secure vpn mod apk (https://modvpnapk.com/secure-vpn-mod-apk/) to encrypt the traffic data