Idempotency key reused

Moses SkodaEngineer1 min read

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/localization-job-idempotency-key-reused. See Errors and status codes for the shape every error shares.

Idempotency key <idempotencyKey> already belongs to a localization job on engine <engineId> that was created with different run options. A retry must repeat the original request; use a new idempotency key to create a different job.

Fields#

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
idempotencyKeystring
engineIdstring

Example#

json
{
  "detail": "Idempotency key <idempotencyKey> already belongs to a localization job on engine <engineId> that was created with different run options. A retry must repeat the original request; use a new idempotency key to create a different job.",
  "idempotencyKey": "<idempotencyKey>",
  "engineId": "<engineId>",
  "type": "https://lingo.dev/docs/api/errors/localization-job-idempotency-key-reused",
  "status": 422,
  "title": "Idempotency key reused"
}

Returned by#

  • POST /v2/organizations/{orgId}/localization/jobs