DOCS / ERROR CODES

HEN-2002: Token expired

The API token has passed its expiry time..

HTTP 401Client side

What happened

The API token has passed its expiry time.

How to fix it

Create a new token with cluck login or POST /v1/tokens, and consider a longer lifetime for CI.

Example response

{
  "error": "HEN-2002",
  "message": "Token expired",
  "status": 401,
  "request_id": "req_1bd5e7"
}

Should I retry?

No. Fix the request before sending it again.

CodeHEN-2002
HTTP status401
FamilyHEN-2xxx

Related errors

Still stuck? Include the request_id when you contact support. Our hens can find it in about a second.