Describe the problem/error/question:
I am trying to connect my Gmail account to n8n using the Gmail node, but I’m getting a “Error 400: redirect_uri_mismatch” error during the OAuth flow. I’ve already checked that the redirect URIs in Google Cloud Console and the n8n Gmail node match exactly, but the error persists.
What is the error message (if any)?:
Error 400: redirect_uri_mismatch
Please share your workflow:
(I haven’t been able to successfully connect to Gmail yet, so I don’t have a working workflow to share. I’m stuck at the OAuth stage.):
N/A
(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: 1.77.3 (Based on the output when you started your Docker container)
- Database (default: SQLite): PostgreSQL (You have a
n8n_postgres
container running) - n8n EXECUTIONS_PROCESS setting (default: own, main):
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**Docker
- **Operating system:**Windows