Error 400 | Google | n8n inserting too many characters in OAuth Redirect URL

Hello everyone,

I’m having a problem logging into my Google account when I’m creating a credential for Google Sheets.

image
:warning:Error 400: redirect_uri_mismatch

I noticed that n8n is inserting an extra character in the OAuth Redirect URL which is conflicting with Google Cloud.

I would like to know if anyone has experienced this error and found a solution.

How do I fix this in n8n? I wouldn’t like to have to create another domain for my website.

Regards :handshake:

  • n8n version: Version 1.52.2
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 22.04
    [/quote]

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @guilhermerezende,

Welcome to the community :cake:

Can you double check your WEBHOOK_URL it looks like you possibly have an extra . at the end.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.