worldline

Documentation

401 - Unauthorized

Description

Authentication is required and has failed or has not yet been provided. This response indicates that the client must authenticate itself to get the requested response.

Common Scenarios

  1. Missing token : The token is not provided in the request headers..

  2. Incorrect header : The token is provided in a incorrect HTTP header.

  3. Incorrect header prefix : The Authorization header does not contain the right prefix.

Resolution Steps

  • Confirm that you retrieve a valid token.

  • Ensure that the token is provided in the Authorization HTTP header

  • Ensure that the Authorization HTTP header contains "Bearer " as prefix.

  • Check the API documentation for proper authentication methods and requirements.