Salesforce Fact #744 | Named credential error

Have you encountered this error: 'The callout couldn't access the endpoint, You might not have the required permissions or the named credential <Named Credential name> does not exist'.

One of the reason could be the user doesn't have access to the 'User External Credentials' object. To resolve this, provide Read access to the user on this object.

Reference: https://salesforce.stackexchange.com/questions/398401/named-credential-not-accessible-by-non-system-admin-profiles

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow