validation
HTTP 422 / 400 Invalid request
When it happens
Section titled “When it happens”The body or a parameter is invalid. errors[] lists each problem with its path and a code (for example password.too_short, scopes.invalid, ip.invalid, range.too_long).
What to do
Section titled “What to do”Fix each item in errors[] and send the request again.
Sending the same request again gives the same answer until the cause is fixed.
Details
Section titled “Details”- HTTP status: 422 Unprocessable Content, 400 Bad Request
- Where you can meet it: Customer API (
/v1), Customer portal - Code:
validation(stable: match on the code, not on the title or detail text)
Example response
Section titled “Example response”{ "type": "https://docs.zemodata.com/errors/validation", "title": "Invalid request", "status": 422, "code": "validation", "detail": "…", "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S", "errors": []}See Errors for how problem responses work, and all error codes.