SalesforceSharp icon indicating copy to clipboard operation
SalesforceSharp copied to clipboard

ApiCallsLimit and ApiCallsUsed returns 0

Open charleyau opened this issue 3 years ago • 0 comments

Salesforcesharp version is: 1.1.0 HelperSharp version 0.0.4.1 Newtonsoft.Json version 6.0.6 RestSharp version 105.0.1

I have used the following code, verified it connects and queries the Account object successfully, however when I attempt to use the ApiCallsLimit and ApiCallsUsed I am always getting 0. I have verified in SalesForce that I had made at the time 21 calls for the day.

Code I'm using client.Authenticate(authFlow); int numlimit = client.ApiCallsLimit; int numcalls = client.ApiCallsUsed;

charleyau avatar Jul 29 '21 18:07 charleyau