I've configured an External Client App, Auth Provider, and Named Credential following the DLRS documentation and updated the custom setting. I'm also using the most up-to-date version of DLRS.
The authentication appears to work correctly initially. After authenticating the External Credential Principal, I'm able to use DLRS without issue. However, if I return an hour or so later and try to use DLRS app again, I receive the following error below. It seems like a timeout issue but I'm not sure what setting is causing it.
- Unable to connect to the Salesforce Metadata API.
- Web service callout failed: WebService returned a SOAP Fault: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session. Session not found, missing session hash: This error usually occurs after a session expires or a user logs out. Decoder: DataInDbSessionKeyDecoder faultcode=sf:INVALID_SESSION_ID faultactor=
Has anyone run into this with the newer External Client App + Named Credential configuration?
Any guidance would be appreciated.
I have raised this idea after checking with Support team that there isn't any existing solution for this. It is very generic problem and request you all to please upvote this -
https://ideas.salesforce.com/s/idea/a0BHp000017JmZaMAK/subscribe-a-salesforce-help-article-to-get-updates