codex - 💡(How to fix) Fix Codex Desktop approval notification opens blank/error route for ambient suggestion command [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#19876Fetched 2026-04-28 06:35:43
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

Codex Desktop repeatedly shows macOS desktop notifications asking for approval to run a command. Clicking the notification opens a blank Codex view with a brief plain-text error that flashes too quickly to read. Approving or denying does not resolve it; restarting Codex causes it to happen again immediately. This appears to come from background ambient suggestion tasks rather than a visible conversation. The approval notification targets a hidden/stale/inaccessible task route, so the click-through opens an error route instead of the relevant approval UI. error Conversation state not found conversationId=<redacted>

RAW_BUFFERClick to expand / collapse

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

26.422.30944

What subscription do you have?

Enterprise

What platform is your computer?

MacOS / Darwin 25.4.0 arm64 arm

What issue are you seeing?

Codex Desktop repeatedly shows macOS desktop notifications asking for approval to run a command. Clicking the notification opens a blank Codex view with a brief plain-text error that flashes too quickly to read. Approving or denying does not resolve it; restarting Codex causes it to happen again immediately.

This appears to come from background ambient suggestion tasks rather than a visible conversation. The approval notification targets a hidden/stale/inaccessible task route, so the click-through opens an error route instead of the relevant approval UI.

Observed logs: error Conversation state not found conversationId=<redacted> [desktop-notifications] show approval conversationId=<redacted> kind=commandExecution requestId=1 [desktop-notifications] notification click open notificationId=approval-2

Sentry breadcrumbs showed repeated 403s: GET https://chatgpt.com/backend-api/wham/tasks/<redacted> -> 403 GET https://chatgpt.com/backend-api/wham/tasks/<redacted>/turns -> 403

Background task prompt seen in logs: Generate 0 to 3 ambient suggestions for this local project...

Example requested commands: pwd rg --files <project> | sed ... | head -n 200 git log --oneline --decorate -n 15

Expected: Clicking an approval notification should open the relevant approval UI, or Codex should avoid showing desktop approval notifications for background/ambient tasks whose conversation/task is not accessible in the app.

Privacy: Local usernames, project paths, task IDs, conversation IDs, and request IDs have been redacted.

What steps can reproduce the bug?

I just open the app and the notifications start coming in.

What is the expected behavior?

I shouldn't get random notifications for approval that don't go anywhere.

Additional information

No response

extent analysis

TL;DR

The issue can be mitigated by modifying the Codex App's behavior to handle background ambient suggestion tasks differently, potentially by suppressing desktop notifications for inaccessible tasks.

Guidance

  • Investigate the conversationId and requestId values in the observed logs to understand why the conversation state is not found, leading to the error.
  • Review the Sentry breadcrumbs to analyze the repeated 403 errors when accessing task resources, which might indicate a permission or authentication issue.
  • Consider implementing a check to ensure that only accessible tasks trigger desktop notifications, preventing the approval notification from targeting hidden or stale task routes.
  • Examine the background task prompt and example requested commands to determine if there's a specific condition or setting that triggers the unwanted notifications.

Example

No code snippet is provided due to the lack of specific implementation details in the issue.

Notes

The root cause of the issue seems to be related to the handling of background tasks and conversation states within the Codex App, but without more information about the app's internal logic and configuration, a definitive fix cannot be provided.

Recommendation

Apply a workaround to suppress desktop notifications for background ambient tasks whose conversation/task is not accessible in the app, as this seems to be the most direct way to mitigate the issue given the current information.

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 Codex Desktop approval notification opens blank/error route for ambient suggestion command [1 comments, 2 participants]