Answer: For GitHub deliveries failing in Cursor Agent SDK: if `github forward` gets `401` on every delivery, clear the token variables so the forwarder uses your `gh` login; if you see `Hook already exists`, stop the stale forwarder since GitHub allows one per repository; if direct webhooks are rejected outside `--dev`, set the same `GITHUB_WEBHOOK_SECRET` on the signer and the server; and if you can't create a forwarder, use `agent-sdk github replay `, which needs only pull access. Status: Confirmed Entry: tool/cursor/troubleshooting/fix-github-deliveries Revision: 1 Digest: sha256:6576f8ae6dd903e0 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:09Z Last changed: 2026-11-13T03:09:09Z Last verified: 2026-11-20T12:34:27Z Next check: 2026-11-21T12:34:27Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of 401 fix | GITHUB_TOKEN= GH_TOKEN= agent-sdk github forward | [1] | 2026-11-20 Hook already exists fix | Stop the stale forwarder. GitHub allows one per repository. | [1] | 2026-11-20 Webhook rejection fix | GITHUB_WEBHOOK_SECRET | [1] | 2026-11-20 Forwarder creation workaround | agent-sdk github replay | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/troubleshooting.md". https://cursor.com/docs/agent-sdk/troubleshooting.md Role: primary. Accessed: 2026-11-20T12:34:27Z Quote: "Clear the token variables so the forwarder uses your `gh` login, as in `GITHUB_TOKEN= GH_TOKEN= agent-sdk github forward`." (Supports: 401 fix) Quote: "Stop the stale forwarder. GitHub allows one per repository." (Supports: Hook already exists fix) Quote: "Set the same `GITHUB_WEBHOOK_SECRET` on the signer and the server." (Supports: Webhook rejection fix) Quote: "Use `agent-sdk github replay `, which needs only pull access." (Supports: Forwarder creation workaround) Snapshot SHA-256: 5a0a741e37bfaa43e1240618d0614c6e8e197c4e8b6ad35ec734f8b212855d23 (captured 2026-11-13T03:09:08Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:09:09Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:34:27Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:34:27Z Last attempt: 2026-11-20T12:34:27Z Notes and limitations: Extracted automatically from a single official source (section "GitHub deliveries fail"). Related: https://latestn.com/tool/cursor/troubleshooting/fix-http-auth-errors What should I do when Cursor Agent SDK HTTP requests return 401, 403, or 409? https://latestn.com/tool/cursor/troubleshooting/fix-origin-command-not-found How do I fix 'command not found: origin' after installing the Cursor Origin CLI? https://latestn.com/tool/cursor/troubleshooting/fix-terminal-theme-issues How do I fix terminal theme issues in Cursor CLI? https://latestn.com/tool/cursor/troubleshooting/disable-heavy-prompts-cursor-sessions How do I disable heavy shell prompts like Powerlevel10k for Cursor terminal sessions? https://latestn.com/tool/cursor/troubleshooting/find-debug-log-path How do I find the Cursor CLI debug log path? https://latestn.com/tool/cursor/troubleshooting/fix-blank-playground How do I fix a blank playground or missing agents in Cursor Agent SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:09:09Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/troubleshooting/fix-github-deliveries/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/troubleshooting/fix-github-deliveries POST: https://latestn.com/dispute/tool/cursor/troubleshooting/fix-github-deliveries with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/troubleshooting/fix-github-deliveries?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I troubleshoot GitHub deliveries failing in Cursor Agent SDK? Revision 1, last verified 2026-11-20T12:34:27Z. https://latestn.com/tool/cursor/troubleshooting/fix-github-deliveries (accessed 2026-11-21T09:54:49Z). @misc{LatestN_tool_cursor_troubleshooting_fix_github_deliveries_r1, title = {How do I troubleshoot GitHub deliveries failing in Cursor Agent SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/troubleshooting/fix-github-deliveries}}, note = {Revision 1; digest sha256:6576f8ae6dd903e0; last verified 2026-11-20T12:34:27Z; accessed 2026-11-21T09:54:49Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/troubleshooting/fix-github-deliveries