3

I am getting this when try to use Salesforce REST API from it's apex

[{"message":"This session is not valid for use with the REST API","errorCode":"INVALID_SESSION_ID"}]

Approach I am using is described here: https://www.jitendrazaa.com/blog/salesforce/call-salesforce-rest-api-from-apex/

It works for Admins, but does not work for all users. Any ideas how to solve this? Is it lack of permissions issue?

Vitaliy Malyshev
  • 33
  • 1
  • 1
  • 7

0 Answers0