Skip to main content

HTTP status

400 invalid_request_error

Typical cause

Your conversation history contains round-tripped Response API output items (for example custom_tool_call items or refusal content parts), and no provider for the model serves the Response API natively.

Resolution

Use a model with native Response API support.