forcedotcom / postman-salesforce-apis

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

Authorization Error #42

Closed jkenzer closed 3 years ago

jkenzer commented 3 years ago

I'm following the instructions from the README.md and when I get to authorization, I click on Get New Access Token and I get a web browser with the following text:

error=invalid_client_id&error_description=client%20identifier%20invalid

Do I need to go into Salesforce and get a clientId first or is this something that should happen with the initial auth request?

I'm using Postman Desktop.

pozil commented 3 years ago

Hi @jkenzer, the clientId variable is be pre-filed when you get the collection:

Screen Shot 2021-02-15 at 09 49 18

Can you make sure that the value of the url variable matches the type of org you're trying to connect to.

jkenzer commented 3 years ago

@pozil Thanks. That was it. I deleted the collection and re-forked it and it's working. I must have accidently deleted the clientId on the first go around. Sorry for requesting tech support.