Peak problem types
Home / homematch / media_upload_no_variant

The upload has no such variant.

Code
media_upload_no_variant
Type
https://problems.peakintelligence.ch/homematch/media-upload-no-variant
Status
404 Not Found
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 variant asked for does not exist for this upload, such as a video's content or a thumbnail of a file that has none. This is a client defect: ask only for the variants the upload lists.

Example

HTTP/1.1 404 Not Found
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/media-upload-no-variant",
  "title": "The upload has no such variant.",
  "status": 404,
  "code": "media_upload_no_variant",
  "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