MeyktAPI Documentation

Errors / validation_failed

validation_failed

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

One or more fields are invalid. Nothing was created.

What happened

Orders are all-or-nothing: a single bad item rejects the whole order. A half-created order in a workshop is worse than none.

The response lists every problem it found in errors[], not just the first one. Each entry names the exact field in dot notation, for example items.0.quantity.

How to fix it

  • Walk through errors[] and fix every entry.
  • Resend the complete order — not just the corrected part.

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