Codeinvalid_request
HTTP400
RetryDo not retry

Invalid request

HTTP 400 · retrying the identical request will fail identically — change the request first.

The message

'messages' must be a non-empty array. See https://minirouter.sh/docs/errors#invalid_request

Values are examples; the live message carries your request’s real figures.

The fix

Check the field named in the message. Remove unsupported fields or simplify an oversized or deeply nested schema. If your client generates the request, contact support with the model, client version, request ID and field path. For base-URL errors, use https://api.minirouter.sh/v1 or https://api.minirouter.sh without a /chat/completions suffix.

Full catalog: /docs/errors#invalid_request