Skip to content

unsupported_media_type

Unsupported content type. This file type is not supported.

HTTP status 415
Type invalid_request_error
Code unsupported_media_type
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.

Use a JPEG, PNG or WebP image, an MP4, MOV or WebM video, or an MP3, WAV or M4A audio file.

{
"error": {
"type": "invalid_request_error",
"code": "unsupported_media_type",
"message": "This file type is not supported.",
"param": null,
"doc_url": "https://docs.halationlab.ai/errors/unsupported-media-type/",
"request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T"
}
}
  • POST /v1/assets: Import a file
  • POST /v1/uploads: Start an upload

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