Expand my Community achievements bar.

SOLVED

Adobe Salesforce Connector - INVALID_SESSION_ID

Avatar

Level 4

 Hi,

I have integrate AEM with Salesforce using salesforce cloud config. I am able to connect to salesforce successfully and able to pull data from salesforce. After sometime when I access aem page am getting error below

[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]  

I have also checked below settings in salesforce

  • Session timeout after 4 hours of inactivity
  • Selecte OAuth scopes
    •  Perform requests on your behalf at any time (refresh_token, offline_access)
    • Access and manage your data (api)

If we change any configs in salesforce do we need to login again from the salesforce cloud config?

Could you please help me here. Do we need to update any configs in salesforce?

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Kishore,

In sales force if you have configured "Selected OAuth Scopes" as full then refresh token will not be effective. Make sure to change the scope.

Thanks,

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

Hi Kishore,

In sales force if you have configured "Selected OAuth Scopes" as full then refresh token will not be effective. Make sure to change the scope.

Thanks,