codex - 💡(How to fix) Fix All prompts return "invalid_request_error" [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18336Fetched 2026-04-18 05:55:43
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1

Error Message

{"error":{"message":"Invalid request payload","type":"invalid_request_error","code":"invalid_request_error","param":"tools"}}``` code=invalid_request_error message=Value error, Unsupported tool type: image_generation Not having this error

Code Example

{"error":{"message":"Invalid request payload","type":"invalid_request_error","code":"invalid_request_error","param":"tools"}}

---

code=invalid_request_error message=Value error, Unsupported tool type: image_generation
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.415.21839 (1763)

What subscription do you have?

Codex Pro+

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

I just updated Codex App. Now every prompt returns:

{"error":{"message":"Invalid request payload","type":"invalid_request_error","code":"invalid_request_error","param":"tools"}}```

And I can see following is being returned:

code=invalid_request_error message=Value error, Unsupported tool type: image_generation


I did not change anything except upgrade. Using GPT-5.4 model.
Codex CLI works without issue.

Note, even opening a new chat in Codex app and saying "Hello" results in this issue.

### What steps can reproduce the bug?

Open Codex App and start new chat.

### What is the expected behavior?

Not having this error

### Additional information

_No response_

extent analysis

TL;DR

The issue is likely due to an incompatible tool type, specifically "image_generation", which is not supported in the current version of the Codex App.

Guidance

  • The error message "Unsupported tool type: image_generation" suggests that the GPT-5.4 model is trying to use a feature that is not supported in the Codex App version 26.415.21839.
  • Try checking the Codex App documentation to see if there are any known issues or limitations with the GPT-5.4 model or the "image_generation" tool.
  • Since the Codex CLI works without issue, it may be worth investigating if there are any differences in the configuration or settings between the CLI and the App.
  • Consider reaching out to the Codex App support team to report the issue and ask for guidance on how to resolve it.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue may be specific to the combination of the Codex App version, subscription type, and platform. Further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Try using a different model or tool type that is supported in the current version of the Codex App, or reach out to the support team for guidance on how to resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix All prompts return "invalid_request_error" [1 comments, 2 participants]