Error attempting to retrieve oath token, sandbox Rest API app, POSTMAN

jurijus01
Member
Member

Hello, 

 

Error 401

{
    "error""invalid_client",
    "error_description""Client Authentication failed"
}
 
when tryin to get Acceess Token.
 
Going by the book! Made a sandbox app, using Postman,
Authorisation: Basic Auth, entered username, entered secret
Body: x-www-form-urlencoded, grand_type: "client_credentials"
 
Entering data correctly, no spaces or anything like this. Tried entering secret "as is", with "-" symbols in between and without them. No effect.
 
Why do I get the error? Can anybody help, please?

 

Login to Me Too
1 REPLY 1

jurijus01
Member
Member

Fixed. Need to enter ClientID and secret, not sandbox account username and secret

 

doesn't seem to be a way of deleting your own messages here.

 

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.