{% extends "_layout.html" %} {% set title = "Invalid access token" %} {% set status = "401 Unauthorized" %} {% set description = "Expired or unverifiable access token. Refresh once, then retry." %} {% block main %}

The access token you presented has expired or could not be verified. It carries WWW-Authenticate: DPoP error="invalid_token".

What to do

  1. Refresh the token once, and retry the request with the new one.
  2. If the refresh itself fails, sign in again.

The body

{
  "type":     "https://sc.example.com/server-errors/invalid-token",
  "title":    "Invalid access token",
  "status":   401,
  "detail":   "...",
  "instance": "/v1/jobs/01J9...",
  "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

detail is prose and may be reworded at any time. Branch on type — never parse detail.

Where it comes from

any authenticated endpoint
{% include "_help.html" %}

What this is not

session-ended carries the same WWW-Authenticate and must not be refreshed. The header cannot tell them apart: branch on it and the body’s type together.

invalid-dpop-proof is the proof, not the token.

{% endblock %}