unsupported_media_type
HTTP 415 · invalid_request_error
The file is not a valid PDF or image for this endpoint.
You are not charged for this error. JustAPI only ever bills a completed job whose output was smaller than its input — never a request that failed, regardless of whose fault it was.
What to do
Fix the request. Retrying it unchanged will fail again.
Response shape
{
"error": {
"code": "unsupported_media_type",
"message": "<details for this specific request>",
"type": "invalid_request_error",
"doc_url": "https://justapi.tech/docs/errors/unsupported_media_type/",
"request_id": "req_..."
}
}