Artifact checksum mismatch

What the ArtifactChecksumMismatch error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.

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

The SHA-256 checksum of the uploaded bytes does not match the artifact address 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08. Upload the bytes that address names, or address them by their own checksum.

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
addressstring

Example #

json
{
  "detail": "The SHA-256 checksum of the uploaded bytes does not match the artifact address 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08. Upload the bytes that address names, or address them by their own checksum.",
  "address": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
  "type": "https://lingo.dev/docs/api/errors/artifact-checksum-mismatch",
  "status": 422,
  "title": "Artifact checksum mismatch"
}

Returned by #

  • PUT /v2/localization/jobs/{id}/artifacts/{address}
  • PUT /v2/organizations/{orgId}/localization/artifacts/{address}