forcedotcom / postman-salesforce-apis

Salesforce API Postman Collection
Creative Commons Zero v1.0 Universal
1.06k stars 638 forks source link

Invalid session ID #40

Closed dariofinotti closed 3 years ago

dariofinotti commented 3 years ago

Hi, following the guide I was able to connect and use collection. Closing and reopening the next day I received this message: { "message": "Session expired or invalid", "errorCode": "INVALID_SESSION_ID" } I tried to login again using the button " Get new access token" but also using a new token nothing changes. Anyone has the same issue?

Postman Version 8.0.5 win32 10.0.19041 / x64

Uploaded settings image

thanks Immagine 2021-02-09 180151

pozil commented 3 years ago

Hi @dariofinotti. Can you double check that you have correctly set the _endpoint collection variable with your instance url? Don't forget to save after selecting the token and updating the variable.

dariofinotti commented 3 years ago

Hi @pozil, I found the problem, it was the Add auth data to: Request URL, the correct one is request hearders. Thanks

pozil commented 3 years ago

Glad you solved it. Thanks for using the collection.