Skip to main content

Hi - I have configured a flow that uses an Apex action. The Apex action has a callout to an external system and leverages Named Credentials. The Named Credentials authenticate on a per-user basis, so each user must go to External Connections and authenticate their account before they use it.  

 

However, many users haven't taken this step so the flow throws an error: "An Apex error occurred: System.CalloutException: The external credential isn't authenticated. Authenticate the credential or contact your Salesforce admin." 

 

Is there a way for me to check that a user has authenticated a named credential in flow? This would allow me to provide good direction in the case they have not.

2 risposte
  1. 31 mar 2025, 00:53

    It only seems like credentials are stored there for 'External Data Sources'. I don't see any records for OAuth connections with just named credentials/external credentials.