bjscharf
bjscharf

Reputation: 91

Paypal Authentication - unauthorized from SDK, Postman, etc

We cannot authenticate to our live account after trying the SDK, REST, Postman, etc.  According to documentation I should be able to just change the client_id and client_secret in the forked postman project.  When I do so, and run "Generate Access Token" in Postman I get:

{
    "supported_authn_schemes": [
        "email_password",
        "remember_me"
    ],
    "error": "invalid_client",
    "error_description": "Client Authentication failed"
}

I get similar 401 errors in the SDK.  I copied the client_id and client_secret from my account here (clicking on live, and then the app to get them).

Is there some extra step we have to take to enable this?  We want to pull our own data to run custom royalty reports we have created.

Upvotes: 0

Views: 196

Answers (1)

Preston PHX
Preston PHX

Reputation: 30379

When changing credentials from sandbox to live, you also need to change your configuration to use the live endpoints.

Live credentials will not work with sandbox endpoints, nor vice-versa; the two environments are completely separate

If it still does not work when everything seems correct, create a new REST app and try its credentials.

Upvotes: 1

Related Questions