Google OAuth redirect_uri_mismatch on n8n Cloud (Free Trial)

Hi team,
I’m using n8n Cloud on a Free Trial.
Google OAuth fails when creating Google Sheets credentials with:
Error 400: redirect_uri_mismatch
redirect_uri:
https://prathamchavhan.app.n8n.cloud/rest/oauth2-credential/callback
I am NOT using a custom Google OAuth client.
I also tried creating the credential without Client ID / Client Secret,
but Google Sign-In still shows the same error.
Workspace URL:

Could someone please reset Google OAuth for my workspace so it uses n8n’s default Google app?
Thanks in advance.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

See here @Yash_Chavhan

Hey there, I hope this can help you. Apparently there was an issue with n8n (several people having the same problem). n8n released version 2.1.4 to resolve this. Go to your n8n Cloud dashboard (Admin Panel) and check if an update is available. Upgrading to 2.1.4 or later should immediately fix the redirect_uri_mismatch error without you needing to change anything in Google Cloud.

n8n was displaying one redirect URL (e.g., https://oauth.n8n.cloud/oauth2/callback) but actually sending a different one (e.g., https://your-instance.app.n8n.cloud/rest/oauth2-credential/callback) to Google.

Hope this solves your issue, fingers crossed!

@Yash_Chavhan a follow up