Invalid Session ID or Session Not Found Error

You may encounter the following error when establishing a connection with the Salesforce Adapter using the Authorization Code Credentials security policy.


The activity stream is expanded to show an error on the invoke connection. The error says: Invalid Session ID found in SessionHeader.

This is a known issue that occurs during connection security configuration. The issue is primarily caused by Salesforce enabling refresh token rotation by default. At present, this feature is not supported by the Salesforce Adapter.

As a temporary workaround, contact Salesforce Support and request that refresh token rotation be disabled for the connected application until support for this feature is available. You can also switch to the Client Credentials security policy to avoid this error. See Configure Connection Security.