You need to sign in to do that
Don't have an account?
Elia Gandolfi
POSTMAN: Invalid session ID even with correct security token
I'm brand new to Salesforce REST API.
I need to send a GET request to query a list of records.
Everything works great in Workbench, that means my apex class is fine.
But, when I try to do the same from Postman, I keep receiving an "errorCode":"INVALID_SESSION_ID". I followed step-by-step this (http://www.youtube.com/watch?v=WdAhD6p1nKM)video and created my connected app exactly as he does.
In Postman, I can correctly get the security token, but when sending the request I still can't authenticate.
I'm trying all this in a Sandbox of which I'm an administrator. Can the error be due to some app permission settings I'm not aware of?
I need to send a GET request to query a list of records.
Everything works great in Workbench, that means my apex class is fine.
But, when I try to do the same from Postman, I keep receiving an "errorCode":"INVALID_SESSION_ID". I followed step-by-step this (http://www.youtube.com/watch?v=WdAhD6p1nKM)video and created my connected app exactly as he does.
In Postman, I can correctly get the security token, but when sending the request I still can't authenticate.
I'm trying all this in a Sandbox of which I'm an administrator. Can the error be due to some app permission settings I'm not aware of?
Greetings to you!
Please refer to the below links which might help you further with the above issue.
https://developer.salesforce.com/forums/?id=906F0000000DEvGIAW
https://stackoverflow.com/questions/56118080/salesforce-integration-invalid-session-id-using-postman
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
All Answers
Greetings to you!
Please refer to the below links which might help you further with the above issue.
https://developer.salesforce.com/forums/?id=906F0000000DEvGIAW
https://stackoverflow.com/questions/56118080/salesforce-integration-invalid-session-id-using-postman
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
In the end it's actually a Postman issue. I used this alternative chrome plugin and it worked great
https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo?hl=en-US