Reputation: 313
I am using Postman to get my PayPal Sandbox Token, an i keep getting the following respond: 404 Not Found { "error": "invalid_client", "error_description": "Client Authentication failed" } I am following the docs with the following url https://developer.paypal.com/docs/integration/direct/make-your-first-call/ I also tried using cURL with the following command: by using my client_id and secret and i get the same result
curl -v https://api.sandbox.paypal.com/v1/oauth2/token \
-H "Accept: application/json" \
-H "Accept-Language: en_US" \
-u "client_id:secret" \
-d "grant_type=client_credentials"
Upvotes: 0
Views: 2181
Reputation: 436
It looks like there is something wrong with the client id, secret values. Please double check the client id and secret values. You will need to use sandbox credentials against sandbox end point for getting the access token. I tried the same curl request and its working without any issues.
Upvotes: 1