Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Why is codex suddenly giving me this error?
2 points by fcpguru 9 days ago | hide | past | favorite | 1 comment
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" } ] } }





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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: