Problems with REST API access. We are able to authenticate and get a token using the Client Credentials flow, via an Integration user. i.e. the Integration User is specified in the Connected App as the anointed user for Client Credentials flow. I can see in the back-end that login as successful as the correct user.
But once we have the token, all our attempts at REST queries fail with the error "This session is not valid for use with the REST API", while providing the token as Bearer. What could be causing this?
Things I've checked
- Connected App grants API access
- Connected App has IP restrictions relaxed
- User has permissions to query the objects we're attempting to query (and I would expect a different err if object permissions were the problem).
Is there some restriction in using an Integration User in this way? Isn't think what that license type is for?
Thanks!!