AnsweredAssumed Answered

API Authenticate Response = Error

Question asked by Giovanni Marazzi on Mar 26, 2018
Latest reply on Mar 26, 2018 by Giovanni Marazzi

Hi,

 

I am trying to authenticate on my POST but it return Error on the Response.

{"error":"no_method","error_message":"Could not find a route with 2 elements"}

 

I am using Postman and my instance is on demand (so last Sugar version)

 

{{url}}/rest/v10/oauth2/token

 

body:

 

{
"grant_type" : "password",
"client_id" : "sugar",
"username" : "{{username}}",
"password" : "{{password}}",
"platform" : "base"
}

 

I tried also using 

 

{{url}}/rest/v11/oauth2/token

 

 

 

Every help is appreciated.

 

Best Regards,

Giovanni

Outcomes