Skip to main content
Hello -  I am receiving this error when trying to connect to a second Salesforce org. 

 

System.CalloutException: We couldn't access the credential(s). You might not have the required permissions, or the external credential "SitCopyExternal" might not exist.

I have full CRUD on external credentials. Below is the named credential,  external credentials, and authentication provider. Any idea what's configured incorrectly? 

Named Credentials Error (Couldn't Access Credentials)

External credentials

auth provider

 
7 respostas
  1. 25 de abr. de 2024, 09:29

    this error is persisting even when I authorize and it says configured (Authentication Status) it gives this error "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential." but when I click on authorize again it resolves the error, why do I have to manually authorize after 10-20m interval for callouts ? 

0/9000