Google Drive plugin fails to create files: “No permission”
What issue are you seeing?
I am using the Google Drive plugin in the Codex desktop app on Windows 10.
The plugin connects successfully, and MCP appears to be working. However, when I ask Codex to create a new Google Doc in my Google Drive, the action fails with:
No permission
The issue seems to be that the Google OAuth flow does not request write/create permissions for Google Drive or Google Docs. The plugin connects successfully, but it cannot create/alter files afterward.
What steps can reproduce the bug?
- Open Codex desktop app on Windows 10.
- Connect the Google Drive plugin.
- Complete the Google OAuth flow. (This step only permission is granted, no edit or create permission was asked)
- Ask Codex to create a simple Google Doc, for example:
Create a Google Doc in my Google Drive named "Codex Drive Write Test" with the content "test".
- Codex attempts to use the Google Drive plugin.
- The action fails with:
No permission
Reconnecting the Google Drive plugin does not fix the issue. Only see and download permissions were granted.
<img width="632" height="280" alt="Image" src="https://github.com/user-attachments/assets/ff8b4140-368f-47be-85c5-495d7378cc70" />
What is the expected behavior?
The Google Drive plugin should request the required write/create permissions during OAuth.
If the current token does not have the required permissions, Codex should trigger reauthorization and request the missing Google Drive or Google Docs write scope before attempting to create the file.
Additional information
Codex app version: 26.519.41501
Subscription: Plus
Model: gpt-5.5
Platform: Windows 10, Codex desktop app
I am using a personal Plus account, not a workspace or enterprise account.
The plugin connects successfully, but creating a Google Doc fails with "No permission". The OAuth consent screen does not appear to request write/create permissions.
13 Comments
Proposed Solution: Google Drive Plugin "No permission"
Root Cause
MCP tool permission propagation gap. Google Drive MCP server authenticates successfully (OAuth token valid), but Codex Desktop's sandbox/permission layer blocks the actual
files.createAPI call because the Google Drive scope isn't in the allowlist. Error "No permission" is generic — doesn't indicate which permission is missing.Fix
Full solution: codex-24233-google-drive-plugin-no-permission-fix.md
Facing this same issue. Happened when I tried to switch accounts. Codex on Windows desktop.
Hi, did you cope with that successfully? How did you fix this problem?
Only workaround I found is connecting to Google Drive via MCP server. Seems to be somewhat finicky though.
You can go to your account settings on ChatGPT Web and go to Apps -> Google Drive and then disconnect it and re-connect it. It launched the OAuth screen and worked fine afterwards.
This does not work for me. Even after wiping the google openai connection in codex, chatgpt web, and deleting it from my google account, trying to connect the google drive app again in the chatgpt website, it only asks google for read permissions and not edit. Same problem with trying to do it in codex.
UPDATE: I found a fix! firstly, to be safe and start clean, remove the openai permissions on your google account by going into manage google account < linked apps < find openai then remove permissions. Then go to the chatgpt website (this will fix it for codex too), go to settings < apps and disconnect the google drive app if it's already connected. Then connect it again- when doing so you will probably see that it still only requests permissions from google to view documents and not edit them. The fix? Open up a brand new chat (in chatgpt web app) and simply just type "create a google doc" and then it should automatically prompt a pop up asking to fix update/expired google permissions, clicking that then takes you through the google oauth again, where this time it asks for the edit permissions. This also fixed it in codex for me.
@reduced2ash Thank you! This worked for me too. Just asking "create a google doc" in the browser triggers the permissions refresh with write access.
Thanks a lot! This works for me as well
This fix worked for me too! Note that you need to explicitly select Google Drive and then say "create a google doc" and then it'll prompt to reconnect a "stale connection"
<img width="834" height="310" alt="Image" src="https://github.com/user-attachments/assets/abb07895-e510-484a-b8b5-74269b29a756" />
It works, THANK YOU SO MUCH BRO!!!!
I hit a related Google Drive connector auth/scope failure on macOS, with an additional stale-connection state after trying to force a clean reconnect.
Environment:
google-drive@openai-curatedObserved sequence:
_get_profileinitially worked.Expected behavior:
So this seems like both a write-scope upgrade problem and a stale connector-state problem: the live connector returns 401, while the Codex UI still believes Google Drive is connected and does not launch OAuth again.
Hi folks - we identified a configuration issue on our end and resolved it. This should no longer be an issue.