MeyktAPI Documentation

Errors / file_type_not_allowed

file_type_not_allowed

HTTP 422 · Do not retry unchanged — fix the request first

The file content is not an accepted type.

What happened

We check the actual bytes of the file, not its extension. Renaming a file does not change what it is.

The message names the type we detected.

How to fix it

  • Send one of the accepted types: PNG, JPG, WebP, GIF, SVG, PDF, DXF, EPS, PS, ZIP or plain text.
  • If you believe the type is correct, check that the upload transferred the raw bytes and not a wrapped or re-encoded copy.

Retrying

Repeating the request unchanged will fail again. Correct the request first — the response tells you which part is wrong.

All error codes: /developers/errors · Machine-readable: llms-full.txt