Get It Done Logo
Get It Done
HTTP 401invalid_token

Invalid access token

An OAuth 2.1 access token was supplied but is expired, malformed, or revoked.

Likely causes

  • The access token has passed its expiry.
  • The token was issued by a different authorization server or for a different resource.

How to fix

  • Refresh the access token using your refresh token (request the `offline_access` scope to receive one).
  • Re-run the OAuth authorization flow if the grant was revoked.

Example response

application/problem+json
{
  "type": "https://nowgetitdone.com/docs/api/problems/invalid-token",
  "title": "Invalid access token",
  "status": 401,
  "code": "invalid_token",
  "request_id": "req_a1b2c3d4"
}

The type field resolves to this page: https://nowgetitdone.com/docs/api/problems/invalid-token

Related