The file is not the one declared.
- Code
media_source_mismatch- Type
https://problems.peakintelligence.ch/homematch/media-source-mismatch- Status
- 422 Unprocessable Content
- Audience
user. The person using the client can act on it. A client may showdetailto them; it is worded in the request's language.- Service
- homematch
Description
The bytes that arrived are not the file that was declared, for example the size or checksum differs. The file was not taken. This is a client defect: declare the file correctly and upload it again.
Example
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json
{
"type": "https://problems.peakintelligence.ch/homematch/media-source-mismatch",
"title": "The file is not the one declared.",
"status": 422,
"code": "media_source_mismatch",
"audience": "user",
"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
- Homematch tenant API (production)
- Homematch tenant API (stage) (stage)