The file is not accepted.
- Code
media_upload_refused- Type
https://problems.peakintelligence.ch/homematch/media-upload-refused- 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 file is not accepted. The rules of its use turned its declaration away before a byte moved, or the media service refused it. The problem carries refusalReason, from a closed set a client words, and, for a media service verdict, upstream. Show the person the reason and let them choose another file.
Example
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json
{
"type": "https://problems.peakintelligence.ch/homematch/media-upload-refused",
"title": "The file is not accepted.",
"status": 422,
"code": "media_upload_refused",
"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)
- Homematch admin API (production)
- Homematch admin API (stage) (stage)