Invalid request
Retrying the identical request will fail the same way. Change the request first.
- Code
- invalid_request
- HTTP
- 400
- Retry
- Do not retry
The message
error.message
'messages' must be a non-empty array. See https://minirouter.sh/docs/errors#invalid_requestExample values.
The fix
Check the field named in the message. Remove unsupported fields or simplify an oversized or deeply nested schema. A signature error in messages[n].content[n] concerns provider-issued thinking history; do not edit or truncate the signature. 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