400 · Troubleshooting tool calls
upstream_bad_request means the upstream rejected the request. Unsupported tools are one possible cause; parameters, tool schema, content format or excessive context may also trigger it.
On this page
What this means
upstream_bad_request means the upstream rejected the request. Unsupported tools are one possible cause; parameters, tool schema, content format or excessive context may also trigger it.
400 · upstream_bad_requestCheck and resolve
Check model capabilities and protocol requirements, then tools, tool_choice and context length. Missing Tools tags or a model's name do not establish support. If needed compare with a known-supported model and a minimal valid request; retain the request ID.