+ Start a Discussion
Web DeveloperWeb Developer 

Error INVALID_SESSION_ID

i am getting INVALID_SESSION_ID error while integrate salesforce
           [message] => Session expired or invalid
            [errorCode] => INVALID_SESSION_ID
 
Sana Tahseen 7Sana Tahseen 7
It is because your session token is expired.
Web DeveloperWeb Developer
how to solve this issue
 
SFDC consultant integratiSFDC consultant integrati
Hello,
You have to Login by using Postman.

login URL: https://login.salesforce.com/services/oauth2/token

Enter all required fields in URL-Params

grant_type =password

client_id = Your Client Id / Consumer Id

client_secret=  Your Client Secret / Consumer Secret

username= your Username

password= Your Password

 for request to work x-www-form-urlencoded is mandatory
SFDC consultant integratiSFDC consultant integrati
After this u get the access token. which is used for further request.