Why did I get website error 401?

PayPal presented error 401 - Unauthorized: Access is denied due to invalid credentials.

This general error relates to an unauthorized request. The request lacked proper authentication and similar errors are often caused by issues related to access tokens.

Here's how to solve this error:

  • Check that the access token is included and correct.
  • Check that the access token hasn't expired.

Read more about authentication in Make your first call.