Adobe Salesforce Connector - INVALID_SESSION_ID | Community
Skip to main content
kishore_polsani
New Participant
April 15, 2017
Solved

Adobe Salesforce Connector - INVALID_SESSION_ID

  • April 15, 2017
  • 1 reply
  • 1616 views

 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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MC_Stuff

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,

1 reply

MC_Stuff
MC_StuffAccepted solution
New Participant
April 15, 2017

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,