postman error

Hi All

              I have been using the post man add on  in chrome to retreive all opportunities records with Closed Won

I have used the

Method:POST

url:

https://<>/rest/v10/oauth2/token?grant_type=password&username=admin&password=xxxx&client_id=data&client_secret=data&platform=base

and when i click on send i get.

{

  "error": "invalid_client",

  "error_message": "The client credentials are invalid"

}

Can any one please update me where i am wrong.

Regards

Sidhu Tevfik Tümer Ramana Raju Santhana Shijin Krishna

Parents
  • While you can take these steps, you could also just log into Sugar, then open your development tools, look at the network tab, and inspect one of your network calls to Sugar.  If you look at the request headers, you'll see your OAuth token.  You can then just drop that into Postman, where the name is OAuth-Token and the value is the GUID.  You can then make whatever calls you want in that context.

Reply
  • While you can take these steps, you could also just log into Sugar, then open your development tools, look at the network tab, and inspect one of your network calls to Sugar.  If you look at the request headers, you'll see your OAuth token.  You can then just drop that into Postman, where the name is OAuth-Token and the value is the GUID.  You can then make whatever calls you want in that context.

Children
No Data