Operating Model:

Unauthorised

Description

The call can not be authorised because of:

  • missing or wrong access token
  • wrong signature
  • missing or wrong credentials (for /auth/token call)

How to fix

  • details value of the error response may contain additional information regarding issue cause
  • Check that you pass all required information to pass an authorisation check
  • Check process of signature generation and make sure that it conforms guide

Example

HTTP/1.1 401 Unauthorized
content-length: 166
content-type: application/problem+json
date: Mon, 11 Oct 2021 10:42:01 GMT
upvest-request-id: afcd3c2f-6965-4e1b-bb3e-87a3b481ce29

{
    "type": "https://docs.upvest.co/errors/unauthorised",
    "status": 401,
    "title": "Unauthorised",
    "request_id": "afcd3c2f-6965-4e1b-bb3e-87a3b481ce29"
}

Was this page helpful?