HTTP 400validation
Invalid request
invalid_request
What it means
The request body failed validation. The `message` field has the specific reason.
Common causes
- Missing required field (e.g. `ingredient` on `/v1/check`, `ingredients` on `/v1/formula`).
- Field has the wrong type (e.g. `events` not an array on `/v1/webhooks`).
- Body isn't valid JSON.
How to fix
- Read the `message` field — it states exactly what failed.
- Cross-check the request schema in the OpenAPI spec at https://regcheck360.com/api/openapi.json.
Example
// 400 response
{
"error": "invalid_request",
"message": "ingredients array is required",
"request_id": "req_…"
}