USMNT
December 11, 2023, 3:48pm
1
Describe Problem:
I cannot get n8n to connect to google search console
What is the error message (if any)?
n8n error: https://drive.google.com/file/d/1imoJQU__GNq9tZiX1rFmTH_3peXTpi7w/view?usp=drivesdk
auth: https://drive.google.com/file/d/1LB3zzcRAihW0ssAcTer8DYFDKprPgsvR/view?usp=drivesdk
google cloud oath consent screen: https://drive.google.com/file/d/1AACQaA4ZvxPZvvHgtsgUKGwSUZPugv4n/view?usp=drivesdk
Please share your workflow
Im using the HTTP request node and oauth2 to connect, I am able to get into my account, but once I execute it says I don’t have the rights. When I setup my application in Google Cloud to give my email test user access that seems to work, meaning I’m connected, its just when I run the application to the following URL it doesn’t work
https://www.googleapis.com/webmasters/v3/sites/my-website.com/searchAnalytics/query
I am running n8n cloud.
n8n
December 11, 2023, 3:48pm
2
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:
n8n
December 11, 2023, 3:51pm
3
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:
ihortom
December 11, 2023, 8:01pm
4
@USMNT , have you tried to authenticate as per Authorize Requests | Search Console API | Google for Developers ? The error looks dodgy to me as it references Google Drive. Not sure what it has to do with Search Console.
When I work with HTTP Request nodes I typically try HTTP Debugging clients like Insomnia (my personal faivorite) or Postman . See if that way works for you. If not, that it is an issue with the permissions to the Google service.
USMNT
December 11, 2023, 9:29pm
5
is the error link i get as seen here:
perhaps your confusing my screenshot links with where I store them?
i even tried one more idea here, adding the API key on at the end of the URL request.
I can’t think of what credential I haven’t tried yet.
Add a test user
Add a test user - gmail which need to approve in consent screen.