0

I am trying to get bearer key from Salesforce via postman. we have done all the connected app setting with Oauth enabling and user access.

Upon using the POST method in postman URL like https://endpoint/oauth2/token?grant_type=password&client_id=*********'&client_secret=*******&username=*****.com&password=******

I get the bearer key at times, same request returns to BAD request("error": "invalid_grant") most of the time

2
  • 1
    Do you have the security token appended with the password?
    – Jayant Das
    Commented Apr 17, 2020 at 19:34
  • @JayantDas Thank you, that was the one missing
    – CloudDot
    Commented Apr 18, 2020 at 2:10

0

You must log in to answer this question.

Browse other questions tagged .