Skip to content
RSXDocs
RSX · API · Errors

Digest mismatch

Status
422
Slug
digest-mismatch
Type URL
https://docs.rsx.group/errors/digest-mismatch
01

What happened

The uploaded bytes do not match what the release declared: a different content digest, a different size, or a digest belonging to no artefact of that release. Every artefact is verified against its declared digest as it is stored, so a mismatch is refused rather than recorded.

02

What to do

Publish the digest and size of the artefact you are actually uploading. If the build is reproducible, rebuild and compare the digest before publishing.

03

What you receive

The body is application/problem+json. detail varies with the request; everything else is what you see here.

json
{
  "type": "https://docs.rsx.group/errors/digest-mismatch",
  "title": "Digest mismatch",
  "status": 422,
  "detail": "...",
  "instance": "/{project}/{version}/{group}/{action}",
  "requestId": "0198f2b1-..."
}