Sys Admin getting This session is not valid for use with the REST API . . . Make sure that you enable "Allow OAuth Username-Password Flows" in the "OAuth and OpenID Connect Settings" in Setup Also, make sure the scope for the Connected App includes "Full" or "API" access, as appropriate It may be easier to just create a Named Credential and use that in your code, instead
Error INVALID_SESSION_ID when using REST API - Salesforce To solve this you may use the continuous IP enforcement feature (introduced in Summer '15): Add Salesforce's internal IP range 10 0 0 0 to 10 255 255 255 to the list of profiles needing to use Salesforce's REST API Did this article solve your issue? Let us know so we can improve!
How to resolve INVALID_SESSION_ID error on fetching Tooling API data Note: I assume that the Error is because tooling API runs in future when it gets the free salesforce Resource and in future, Salesforce is not able to identify the Session-Id even if the same user is logged in
Salesforce Connector | Salesforce operation fails with This session is . . . Each connected app allows five unique approvals per user After a fifth approval is made, the oldest approval is revoked And because no valid refresh token was available for the MuleSoft API on the Salesforce-connected app, it errored out with the exception message mentioned in the symptom
Error: This session is not valid for use with the REST API When this setting is set to 'High Assurance' we get the 'This session is not valid for use with the REST API' error When we set it to '--None--', we are able to both login to and query Salesforce successfully