unsupported_conversion
422 Unsupported conversion. Retry: Not as it is: change the request first. It can also end a job that has started, as the job’s error.code; failed jobs cost nothing.
When it happens
The conversion can’t take this file, or doesn’t run through the API. The file’s format is detected from its bytes, never its name, so a PNG named report.docx is still a PNG.
What to do
Check the file, or pick a conversion that takes its format: GET /v1/operations?from=<format> lists them.
Example
{ "type": "https://formatjet.com/docs/errors/unsupported_conversion", "title": "Unsupported conversion", "status": 422, "code": "unsupported_conversion", "detail": "…", "request_id": "req_01JBXA3Q6P0R2S4T6V8W0X2Y4Z"}Endpoints
- Make a job
POST /v1/jobs - Estimate a job
POST /v1/estimate - Convert a file
POST /v1/convert - Save a recipe
POST /v1/recipes - Change a recipe
PATCH /v1/recipes/{id}