HTTP status
400 invalid_request_error
Typical cause
The request setsresponse_format: { type: "json_object" } but the selected model does not support JSON mode output.
Resolution
Remove theresponse_format parameter or choose a model that supports JSON mode.