| Code | invalid_field |
| Type | request_error |
| HTTP status | 400 |
| Default message | Request does not pass validation. |
What to do
Section titled “What to do”Look at error.errors: it lists each field that failed and why. Fix the request and send it again; sending it unchanged fails the same way.
The request or the state of the resource is the problem. Change something before you send it again.
Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.
{ "error": { "type": "request_error", "code": "invalid_field", "detail": "Request does not pass validation.", "documentation_url": "https://docs.baiyar.com/resources/errors/invalid_field/" }, "meta": { "request_id": "req_…" }}