Skip to content
Documentation · 422 Idempotency key reuse

Conventions

422 Idempotency key reuse

Problem type https://www.getproperly.com/developers/errors/idempotency-key-reuse

HTTP status 422
type https://www.getproperly.com/developers/errors/idempotency-key-reuse
title Idempotency key reuse
Content-Type application/problem+json

When it occurs

The Idempotency-Key header was already used within its ~24 hour window with a different request body.

Example

422 Idempotency key reuse
{
  "type": "https://www.getproperly.com/developers/errors/idempotency-key-reuse",
  "title": "Idempotency key reuse",
  "status": 422,
  "detail": "Idempotency-Key was already used with a different request body",
  "instance": "/v1/bookings",
  "code": "idempotency_key_reuse",
  "requestId": "aQ3fT8xW1m"
}

Handling

  • Reuse a key only to retry the identical request. A new request needs a new key; UUIDs are recommended.
  • Keys are scoped to your account and stored for about 24 hours.

All problem types are listed on the Errors page.

Type to search the Platform API docs.