cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting Invalid Session Id error while accessing SalesForce REST API resources

Former Member
0 Likes
1,762

Hi All,

I have created a developer account on Salesforce.com which is a  trial account for 30 days.


I am trying to access SalesForce REST APIs. I have implemented OAuth in my app as explained in Force.com REST API Developer's Guide .

Now I am trying to access REST APIs described in the documentation but I am getting .


                              <Error><errorCode>INVALID_SESSION_ID</errorCode>

               <message>Session expired or invalid</message></Error>


I have read some solutions suggesting to get refreshed token from the server But after doing all that I am getting the same issue.If  anyone has faced same situation, please suggest a way out.

I am struggling with few questions

  • Is there any issue with the developer's account
  • Does the developer account have free access to REST APIs
  • Do i need to write AJAX request in my UI5 app to get refresh token


Thanks in Advance!


Regards,

Anupriya

Accepted Solutions (0)

Answers (1)

Answers (1)

agentry_src
Active Contributor
0 Likes

Hi Anupriya,

I am curious why you are posting this question here rather than with SalesForce.  Not a criticism, but very curious.

Cheers, Mike

SAP P&I Technology RIG

Former Member
0 Likes

Hi Michael,

I am trying to integrate SalesForce REST APIs with my SAP UI5 app. So in process, I am implementing OAuth for secure access and getting that Invalid Session ID error while hitting SalesForce REST APIs from my UI5 app.

Would really like to know whether there is any other relevant place available where I can post this.

Please suggest.

Regards,

Anupriya

agentry_src
Active Contributor
0 Likes

Hi Anupriya,

SalesForce has a Message board community roughly equivalent to SCN, Salesforce Success Community.  I would suggest posting your issue there as it seems like a SalesForce issue more so than an SAPUI5 issue.  But if you find a solution, please post it here as well.  Save another person the search for a solution.

Regards, Mike

SAP P&I Technology RIG