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/errorsValues are examples; the live message carries your request’s real figures.
The fix
Fix the request body. The most common cause is a base-URL mistake: we accept both https://api.minirouter.sh/v1 and https://api.minirouter.sh, but not a /chat/completions suffix in the base URL itself.
Full catalog: /docs/errors#invalid_request