Error
media_unavailable
The media could not be fetched or is not carried
| HTTP status | 422 |
|---|---|
| Retry | No: fix the request first |
| details | url and detail. |
What happened
The media could not be fetched or is not carried.
Why
A media URL could not be fetched (not public HTTPS, an error status, a timeout), or the file is not an image, video, audio or PDF the channel carries.
How to fix it
Serve the file from a public HTTPS URL, as a type the channel carries.
Example response
{
"error": "media_unavailable",
"message": "The media could not be fetched or is not carried.",
"requestId": "req-8f2c1d4b",
"retryable": false,
"docs": "https://docs.vlayers.ai/errors/media_unavailable"
}See Errors, retries and idempotency for how to handle errors in general.