continue icon indicating copy to clipboard operation
continue copied to clipboard

Error: GPT-5 - 400

Open peer85us opened this issue 11 months ago • 3 comments

Error Details

Model: GPT-5 Provider: openai Status Code: 400

Error Output

{"message":"Item 'msg_05de82bcfe10fdbe006952f19dd86c81958aa8a750cfdfe40a' of type 'message' was provided without its required 'reasoning' item: 'rs_05de82bcfe10fdbe006952f183c9148195b7383f6b1de7551a'.","type":"invalid_request_error","param":"input","code":null}

Additional Context Please add any additional context about the error here

peer85us avatar Dec 30 '25 19:12 peer85us

Related/duplicate issues:

• #9337 - Error: GPT-5 - 400 • #9301 - Error: GPT-5 - 400
• #9164 - Error: GPT-5 - 400 • #9155 - Error: GPT-5 - 400 • #9264 - Error: G 5 - 400 • #9334 - Error: GPT-5 - Unknown error • #9358 - Error: GPT-5 - 401 • #9177 - Error: GPT-5 - 401 • #8458 - No Body Error on GPT-5 • #7129 - gpt-5 : stream: false is not working (Your organization must be verified to stream this model)

continue avatar Dec 30 '25 19:12 continue

Fixed by #11785 There may still be cases where this could happen when using one provider like Anthropic and then switching the same conversation to OpenAI. If you run into this, please open a new issue with details.

RomneyDa avatar Mar 25 '26 01:03 RomneyDa

This is addressed by #11809, which adds a useResponsesApi: false config option to route requests through /chat/completions instead of the /responses endpoint. The error message now also suggests this fix when the "organization must be verified" error is encountered.

RomneyDa avatar Mar 25 '26 07:03 RomneyDa