Skip to content

400 invalid_idempotency_key

Invalid idempotency key. POST /v1/assessments or POST /v1/assessments/{assessment_id}/outcomes was sent without an Idempotency-Key header, or with one outside 16 to 128 characters of A-Z, a-z, 0-9, ., _, : and -.

What to do

Send a key derived from your own attempt id, for example signup- followed by a UUID. The SDKs generate one when you omit it.

Example

{
  "type": "https://docs.noresponse.org/problems/invalid-idempotency-key",
  "title": "Invalid idempotency key",
  "status": 400,
  "detail": "Idempotency-Key is missing or malformed.",
  "code": "invalid_idempotency_key",
  "request_id": "5e8be3a91fde9499f7ce48ae66290895"
}

Every error has this shape. See Errors and limits for the full list.