# Notion Plugin Getting Unauthorized

**URL:** <https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088>\
**Category:** Codex CLI\
**Tags:** bug\
**Created:** [May 16, 2026, 4:23pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088 "2026-05-16T16:23:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diegod96](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/diegod96/32/736864_2.png) [@Diegod96](https://community.openai.com/u/Diegod96)\
**Post date:** [May 16, 2026, 4:23pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/1 "2026-05-16T16:23:12Z")

</div>

I had the Notion plugin via Codex working and then I deleted my Notion account to use my work email/account. I went to uninstall the Notion plugin and reinstall, thinking I would be prompted to relogin with my work Notion, but was not prompted to. I then tried to access Notion via Codex and I get “UNAUTHORIZED”. Tried multiple time to uninstall the Notion plugin and reinstall but never get prompted to relogin to Notion using the new work account.

---

<div class="post-metadata">

**Author:** ![swordfish444](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/swordfish444/32/741032_2.png) [@swordfish444](https://community.openai.com/u/swordfish444)\
**Post date:** [May 25, 2026, 5:27pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/2 "2026-05-25T17:27:33Z")

</div>

I have the same issue. The fact that it’s not reauthorizing and using no longer valid cache is the real issue. Definitely would like to see this get fixed ASAP.

---

<div class="post-metadata">

**Author:** ![farevalo](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@farevalo](https://community.openai.com/u/farevalo)\
**Post date:** [May 28, 2026, 10:11pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/3 "2026-05-28T22:11:17Z")

</div>

I am facing the same problem. Has anyone found any workarounds?

---

<div class="post-metadata">

**Author:** ![TomasNemecek](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@TomasNemecek](https://community.openai.com/u/TomasNemecek)\
**Post date:** [June 2, 2026, 12:09pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/4 "2026-06-02T12:09:39Z")

</div>

Even GPT account in Notion plugin displays “Connect”, after manually connecting to different account, still uses the old on (and still displays “Connect”). Do you know how to clear that cache?

---

<div class="post-metadata">

**Author:** ![rond.rr](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@rond.rr](https://community.openai.com/u/rond.rr)\
**Post date:** [September 11, 2026, 11:43am UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/5 "2026-09-11T11:43:40Z")

</div>

Same here, it never really authenticates even though the notion auth window says it did, also, on codex plugin page for notion after the authentication from notion side it shows a spinning wheel forever besides the Notion entry on Apps section.

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [September 13, 2026, 12:20pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/6 "2026-09-13T12:20:50Z")

</div>

I asked ChatGPT to search for the closest related issue, and it identified:

> <https://github.com/openai/codex/issues/24848>
>
> \## Summary
> 
> The Codex desktop app can discover Notion connector tools after rein…stall/reconnect, but the tools still fail with \`401 Reauthentication required\`. The UI does not make it clear whether Notion is installed, authenticated, enabled as an MCP server, or only available as a plugin connector.
> 
> \## Environment
> 
> \- Codex desktop app on macOS
> \- Date observed: 2026-05-28
> \- Notion plugin/connector was uninstalled, reinstalled, and reconnected by the user
> \- Screenshot state: \`notion\` appears under "From plugins", while the main MCP server list only shows \`node\_repl\` and \`playwright\`
> 
> \## Expected behavior
> 
> After reconnecting / reauthorizing Notion, the current Codex session should be able to use the Notion tools to fetch and update pages.
> 
> \## Actual behavior
> 
> Tool discovery exposes Notion tools under:
> 
> \`\`\`text
> mcp\_\_codex\_apps\_\_notion
> \`\`\`
> 
> But fetching a Notion page still fails:
> 
> \`\`\`text
> 401: "Server returned 401: 'Reauthentication required'"
> \`\`\`
> 
> The older \`mcp\_\_notion\_\_\` namespace is no longer usable in this session:
> 
> \`\`\`text
> unsupported call: mcp\_\_notion\_\_notion\_fetch
> \`\`\`
> 
> \## Steps tried
> 
> 1. Uninstalled the Notion MCP/plugin from Codex settings.
> 2. Reinstalled / reconnected Notion.
> 3. Retried tool discovery.
> 4. Retried \`mcp\_\_codex\_apps\_\_notion.\_fetch\` against a Notion page URL.
> 5. Still received \`401 Reauthentication required\`.
> 
> \## Impact
> 
> \- Codex can discover Notion tools but cannot actually read or write Notion pages.
> \- Reinstalling/reconnecting Notion does not appear to refresh the connector auth state available to the current Codex runtime.
> \- The UI does not clearly distinguish:
> - installed plugin
> - connected OAuth account
> - active MCP server
> - connector requiring reauthentication
> 
> \## Requested improvements
> 
> \- Refresh Notion connector authentication after reconnect/reinstall so the current Codex session can use the tools.
> \- Surface explicit status in the MCP/plugin UI: connected, needs auth, enabled as MCP, installed as plugin only, etc.
> \- Provide a way to force-refresh connector auth for the current session without guessing whether a Codex restart is required.
> \- If a connector is discovered but unusable due to auth, show that status in tool discovery or the tool error with a user-actionable remediation.

That issue is not an exact match, but it does show that others are reporting related problems and that the Codex maintainers review such reports.

If that issue describes the same problem you are experiencing, consider adding a 👍 reaction to the GitHub issue itself, rather than only reacting to this forum topic. GitHub reactions can help the maintainers gauge how many users are affected.

If it does not match your problem closely enough, search the [existing Codex issues](https://github.com/openai/codex/issues) for a better match. If you cannot find one, consider opening a new issue and include as much relevant information as possible, such as your Codex version, operating system, environment, reproduction steps, expected behavior, actual behavior, and any relevant logs or error messages.

---

<div class="post-metadata">

**Author:** ![OpenAI\_Support](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/openai_support/32/561845_2.png) [@OpenAI\_Support](https://community.openai.com/u/OpenAI_Support)\
**Post date:** [September 21, 2026, 5:54pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/7 "2026-09-21T17:54:58Z")

</div>

Sorry for the delayed response and thanks for sharing the details here everyone. It looks like the Notion connection is still getting stuck on **401 / UNAUTHORIZED** even after reconnecting or reinstalling. Thanks as well to @EricGT for sharing the related issue and extra context.

One additional thing to try is moving aside the app/tool discovery cache to see if that helps refresh the connection.

If you’re still seeing this, you can open a new thread with the latest non-sensitive details, or reach out to OpenAI Support through [help.openai.com](http://help.openai.com) and share the exact error, a recent timestamp, your Codex version, and any sanitized logs or setup details privately. Please don’t post tokens, credentials, or other secrets here.

-Farah

---

<div class="post-metadata">

**Author:** ![Mark\_G](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@Mark\_G](https://community.openai.com/u/Mark_G)\
**Post date:** [September 21, 2026, 5:55pm UTC](https://community.openai.com/t/notion-plugin-getting-unauthorized/1381088/8 "2026-09-21T17:55:07Z")

</div>


