anthropic · anthropic/invalid_request_error
invalid_request_error
Invalid Request Error
The request format or parameters are invalid, for example malformed JSON, a missing required field such as model, max_tokens, or messages, or messages that do not alternate between user and assistant roles.
Also defined in
- openai Invalid Request Error The request body is malformed, missing required parameters, or contains invalid values. Check the API reference for the correct request format and parameter types.
- stripe Invalid Request Error The request to the Stripe API contained invalid parameters. Check the error's param field to identify which parameter is invalid. This is a programming error in the integration that should be corrected in code, not surfaced to the end user.