Skip to main content
Dustin Jensen (California Casualty) 님이 #Apex에 질문했습니다
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개
  1. 2024년 4월 25일 오전 9: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