Skip to content

invalid_field

invalid_field: HTTP 400, request error. Request does not pass validation.


Code invalid_field
Type request_error
HTTP status 400
Default message Request does not pass validation.

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_…" }
}

All error codes