Goal : configure Salesforce to enable an external system to use SF APIs. I am fully discovering the full picture and i am missing pieces..
I created a connected app, enabling API. In postman desktop, I downloaded the SF collections and i created an hopefully 'forever token' using oAuth2 and got a response. I tested the access token selecting Bearer token and {{_endpoint}}/services/data/v{{version}}/limits/recordCount?sObjects=Account,Contact,Lead
This worked fine Now i send over the token to the external system guys and in postman ( they don't have the SF collection) but they tried the same {{_endpoint}}/services/data/v{{version}}/limits/recordCount?sObjects=Account,Contact,Lead
And immediately get "message": "Session expired or invalid","errorCode": "INVALID_SESSION_ID".
i then retried on my desktop postman all was working so i tried on Web postman in an anonymous window and also get "message": "Session expired or invalid","errorCode": "INVALID_SESSION_ID".
So My question is what am i doing wrong? have i forgotten a setting somewhere? a little tick somewhere? ( i did try to set the 'Follow auth Header ' on in Settings but same error output)
Any input welcome. Web view
{{_endpoint}}
and{{version}}
variables correctly? Are you typing the header name correctly? Some screenshots of your two postman setups (with sensitive information blacked out, naturally) would probably be helpful.