Google Verification Denied

Describe the problem/error/question

Hi, I am getting a - Google hasnt verified this app error. I have Enable the API, the domain is verified on the Cloud Console, the user is added in the search console and the google domain verification txt record is also added in my dns, still its not working and giving me the above error. Can someone please help me sort out this error?

What is the error message (if any)?

Google hasn’t verified this app
You’ve been given access to an app that’s currently being tested. You should only continue if you know the developer that invited you.

Please share your workflow

{
“meta”: {
“instanceId”: “d2e9d0bcc7880bd2f8fd5bd70478b558006df6f7883df8f076bdaf0c93b698bc”
},
“nodes”: [
{
“parameters”: {
“calendar”: {
“__rl”: true,
“mode”: “list”,
“value”: “”
},
“additionalFields”: {}
},
“id”: “45f6b5aa-dcad-4285-b3eb-7f8e2dad30e6”,
“name”: “Google Calendar1”,
“type”: “n8n-nodes-base.googleCalendar”,
“typeVersion”: 1.1,
“position”: [
-880,
1140
],
“credentials”: {
“googleCalendarOAuth2Api”: {
“id”: “1tzrk9Rftvf72teo”,
“name”: “Google Calendar account”
}
}
}
],
“connections”: {},
“pinData”: {}
}

(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

Google hasn’t verified this app
You’ve been given access to an app that’s currently being tested. You should only continue if you know the developer that invited you.

Output I expected - Google Calendar up and running.

Information on your n8n setup

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

hello @mynewopportunities

That message means the app in google console is in the TEST mode.
You should move it to production or leave as is (press the continue button), but the test mode will work only for those who are strictly added as testers

Nothing happens after I click the Continue button. I get a popup as shown in the attachment.

Hey @mynewopportunities,

That error would suggest the webhook_url is not correctly set, Can you make sure this is set to your domain and that the oauth redirect uri in n8n is updated to show the new value.

1 Like


According to the docs, you can’t use HTTP in redirect URL, you should use HTTPS

I tried even that, it gave an error…Can you please let me know where exactly we need to put https?

As I tried in Google console by changing the URI to https gave me an error and as far as N8N is concerned the url has http and that could not be changed its fixed.

Hey @mynewopportunities

You need to set WEBHOOK_URL to use the https url you have configured for n8n.

1 Like

Hi @Jon Can you be please more explanative on How to setup a Webhook first. The requirement here is about Oauth and Google account denial.

Hey @mynewopportunities,

You don’t need to make a webhook you just need to set the WEBHOOK_URL environment variable so that the value you put in your Google App matches what n8n gives you. If these values are different you will get an error saying there is a URI mismatch.

I have set that up in the .env file. Requesting you to please review it and let me know if there are any errors as such.

I have changed the timezone too. Hope the syntax is correct.

I tried this configuration in the .env file and tried to check, but its giving me the same account denial error.
What could be possibly the error?

Someone from the discord channel suggested me to purchase a valid, no error genuine SSL certificate, which I will buy soon.
Could that be one of the reasons?

Here is the redirect URL in the google cloud console.
Screenshot 2024-10-11 194708

your timezone needs to be in this format " America/New_York"
You can find a list of these names here. It NEEDS to be in the list to be accepted. If you are on eastern US time that is the default time zone, you can just leave that var out.

You need a reverse proxy

The reason why this isnt working is because you’re specifying the port “:5678” in the google URI and that doesn’t match the env var of “WEBHOOK_URL=https://n8n.clouddevops.online

The redirect URI needs to match the domain in the vars exactly

You need to set up a reverse proxy like NGNIX to serve the port.

If you don’t know how to do that, try cloudflare tunnels, its super easy and free

Hi Liam, Its set properly as per the wiki link and in the env file.

Screenshot 2024-10-11 200829

Let’s go with the Cloudflare tunnels, maybe it will accept the controversial free 15 year SSL too. Any video link to create such a tunnel?