Librarika Hubfor developers Test environment
Menu

Problem code

dpop_invalid

Status 401 Unauthorized
Type https://api.librarika.dev.raynux.com/problems/dpop_invalid
Title Dpop invalid
Retry After you send a fresh, correct proof.
Headers WWW-Authenticate: DPoP with error="invalid_dpop_proof"

What it means

The token is DPoP-bound and the DPoP proof is missing, malformed, signed by another key, for another method or URL, too old or too new (more than 60 seconds), missing the access-token hash ath, or a replay of a proof already used.

What to do

Sign a new proof for every request, with a new jti, the exact method and URL, the current time and ath. See DPoP.

Example

HTTP/1.1 401 Unauthorized
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
  "type": "https://api.librarika.dev.raynux.com/problems/dpop_invalid",
  "title": "Dpop invalid",
  "status": 401,
  "code": "dpop_invalid",
  "detail": "The DPoP proof is missing or invalid.",
  "request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}

The type URI https://api.librarika.dev.raynux.com/problems/dpop_invalid is this page. The detail above is an example of the English text; it is translated into the request's language and may change, so match on code, never on detail.

All problem codes · Errors