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?
Api Enabledon the user's profile marked true? – Bryan Anderson Oct 28 '20 at 14:34