Peak problem types
Home / homematch / provider_upload_refused

The media service refused the uploaded attachment.

Code
provider_upload_refused
Type
https://problems.peakintelligence.ch/homematch/provider-upload-refused
Status
422 Unprocessable Content
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 media service refused the uploaded attachment while it was being staged, for example because its type or content is not accepted. The upstream extension member carries the media service's verdict. The attachment was not staged and the same file will be refused again. Use another file, or fix the one named by the verdict.

Example

HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/provider-upload-refused",
  "title": "The media service refused the uploaded attachment.",
  "status": 422,
  "code": "provider_upload_refused",
  "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