Settings

Theme

Ask HN: Why is codex suddenly giving me this error?

2 points by fcpguru 3 days ago · 1 comment · 1 min read

Reader

Was working fine then all of a sudden every prompt returns:

{ "success": false, "error": { "name": "ZodError", "message": [ { "code": "invalid_union", "errors": [], "note": "No matching discriminator", "discriminator": "type", "path": [ "tools", 5, "type" ], "message": "Invalid input" } ] } }

fcpguruOP 3 days ago

check your env, if you have OPEN_AI or something it will cause this.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection