Peak problem types
Home / homematch / media_upload_bytes_mismatch

The bytes do not match their declaration.

Code
media_upload_bytes_mismatch
Type
https://problems.peakintelligence.ch/homematch/media-upload-bytes-mismatch
Status
400 Bad Request
Audience
client. Only the calling software can act on it. A client shows its own general failure and quotes traceId; detail is in English, for developers.
Service
homematch

Description

The bytes a member of staff handed the server do not match the size and SHA-256 declared for them. Nothing was stored. Send the bytes again with a declaration that matches them.

Example

HTTP/1.1 400 Bad Request
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/media-upload-bytes-mismatch",
  "title": "The bytes do not match their declaration.",
  "status": 400,
  "code": "media_upload_bytes_mismatch",
  "audience": "client",
  "traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}

A real answer also carries detail when there is something to say about this occurrence, and may carry errors or members of the type's own, which the service's OpenAPI document describes. When to ask again is the Retry-After header.

Declared by