Access blocked: This app’s request is invalid
[email protected]
You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of this app, see error details.
Error 400: redirect_uri_mismatch
This shows on my screen every time I try and get OAuth for any google credential. I have tried everything, and made the correct steps in Google Cloud Console. We really need n8n to fix their redirection urls ASAP.
I noticed this issue yesterday but I dont know if these kinds of issues are happening frequently to users.
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:
Hey man. I had the exact same problem and my solution was to create a service account in google console, and just use it for my google nodes (for me specifically it was Drive). No matter what I tried, the auth just didnt work. im actually glad to see its not just me.
Anyway, go create a google service account. If you’re struggling I’ll add some SC of how i did it & linked to n8n
Pick Credentials (I’m assuming you know how to get here)
Then click to create a new service account
Theres a shor 4-step creation process. I believe you will manage it.
You will be given a private key that starts with —-BEGIN PRIVATE KEY ***************** — END PRIVATE KEY (or something similar). this, including the hyphens, IS YOUR PRIVATE KEY (lol). store it
This worked for me, even after the normal auth didnt. why? who the heck knows
1 Like
Dear YannC,
I encountered the same problem. It may be an issue with the REST API.
The only thing we can do is wait for a fix in the new version.
If you need to refresh your credentials, you can probably roll back to version 1.x.
Thanks a lot Yann. I’ll see if this helps.
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.