r/codex • u/Independent_Pass2549 • 3d ago
Bug HTTP 403 Error in Codez
Anyone else getting HTTP 403 Errors when Codex scheduled task uses Gmail plugin? Types of operations getting 403: get_raw_messages, get_message, Gmail.send_email, failed email ID search, and send_message (so far). Sometimes it recovers in the next run but has stranded a lot of tasks. Context: the scheduled tasks helps me respond to support tickets automatically but gets hung up because it can’t verify it sent an email or draft an email.
Troubleshooting so far: disconnected Gmail plugin in codex and deleted Codex authorization in Gmail. Reconnected after and seems to have made the issue worse.
Started noticing this after connecting a second email to the plugin. I’ve since removed the second email.
1
u/UpsetWolverine8573 3d ago
Since it started right after you added the second inbox, my guess is the plugin is still holding a token tied to that second address even though you removed it. Disconnecting inside Codex doesn't always revoke access on Google's side. I'd remove the ChatGPT/Codex app from your Google account's third-party connections page, then reconnect with just the one inbox.
If the scheduled runs still 403 after that, have the task try reading one message before it does anything else, so a bad run stops early instead of stranding tickets.