MeyktAPI Documentation

Errors / file_not_found

file_not_found

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

No uploaded file was found for that upload_id.

What happened

The upload_id is unknown, the upload was never actually performed, or it expired.

Uploads that are never referenced by an order are deleted after 14 days.

The upload was requested with a key of the other environment: a test key can only reference uploads requested with a test key, and a live key only live uploads. The upload is not found for the other key, and the message names the environment as a possible cause.

For POST /v1/returns/evidence: the upload was already used up. Preparing return evidence takes the file out of the waiting area, so the same upload_id cannot be used for a second piece of evidence (another evidence_id, case or perspective). The message says "already used for return evidence" and field is upload_id.

How to fix it

  • Request a slot with POST /v1/uploads, then PUT the file content to the returned upload_url, then reference the upload_id in the order.
  • Request the slot and place the order with keys of the same environment (test or live).
  • When repeating an order, reuse the same upload_id values — the duplicate protection recognises them.
  • If the upload was already used for return evidence: request a new slot for every further file or case and prepare it with a new evidence_id. Repeating the original request unchanged (same evidence_id, return_id, perspective, upload_id) returns the original receipt.

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