Skip to content

media_fetch_failed

Could not fetch media. The media URL could not be fetched. It must be a public HTTPS URL that answers within 20 seconds.

HTTP status 422
Type invalid_request_error
Code media_fetch_failed
Can retrying help? No. The same request gets the same answer until you change it or fix the cause.
Charged? No. This refusal is free.

Check the URL is public and reachable, or upload the file instead.

{
"error": {
"type": "invalid_request_error",
"code": "media_fetch_failed",
"message": "The media URL could not be fetched. It must be a public HTTPS URL that answers within 20 seconds.",
"param": "input.first_frame",
"doc_url": "https://docs.halationlab.ai/errors/media-fetch-failed/",
"request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T"
}
}
  • POST /v1/generations: Start a generation
  • POST /v1/assets: Import a file

See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.