I’m working on automations and AI agents using Google Suite apps with n8n. I started on the hosted n8n plan and then moved to running it on a VPS with a server setup. However, I’ve hit a problem since making the switch.
I can connect to Gmail, Calendar, etc., but when executing steps, I get this error:
“Unable to sign without access token.”
Hi @Anakin_Skywalker,
I got the exact same issue with Google Analytics! Account is connected but when using the GET report, got the same error message “Unable to sign without access token”.
And I am using Gmail with the same Google account, no error but, the difference is I just created the new credential for GA so I am wondering if it is linked with the last update of n8n?
Account is properly connected:
I’ve been having the same issue with pretty much all of my Oauth 2 api connections since updating to 1.74.1. Everything worked fine in the previous version.
It also happens to me, with other local installations with older versions it works perfectly, but with 1.74.1, all connections to Google services appear with the message: “unable to sign without access token”.
I’ve managed to get my Oauth 2 workflows working again, by removing proxying for my n8n domain on Cloudflare. I then set N8N_PROXY_HOPS to 1 in the envirnoment settings and re-enabled the Cloudflare proxy and everything appears to be working fine with 1.74.1
I have self-hosted n8n on a PC with Docker-Desktop with the self-hosted package with Qdrant, ollama, etc… Does this solution also work? The problem with updating the self-hosted package is that it always installs the latest version of n8n, it does not allow you to choose the “latest”, stable. Or at least I don’t know how to do it.
Thanks @Geoffrey_T - I am using DigitalOcean and I added the rule, no luck. And I am also using Cloudflare and proxy is off, any other steps that I may miss? Or anyone is using DO and solve the issue?
Thank you very much for answering, precisely when I managed to install the desired version, I saw that you have answered me with the solution, I just wanted to comment that from what I read in the documentation, the option n8n:latest, always installs the “stable” version or, in this case, the 1. 73.1, and at least in installing the package self-hosted-ai-starter-kit, it is not, with this option installs the latest non-stable, ie 1.74.1. 73.1, and at least in the installation of the self-hosted-ai-starter-kit package, it is not so, with this option installs the latest not stable, ie 1.74.1. Until I have not indicated n8n:1.73.1, it has not installed the stable version or as you indicate, the desired version. I attach images of docker-compose.yml. I understand that in future versions will fix it, will be attentive from now on not to install anything that is not “stable”.
Thanks! I forced n8n to 1.73.1 but still no luck…
I saw an update today for version 1.7.5: Don’t break oauth credentials when updating them and allow fixing broken oauth credentials by repeating the authorization flow
I will try that!
UDPATE: Nope! 1.75.0 didn’t solve my issue… I am giving up for now! Thank you all for the help. I learned a lot, really appreciate it.
updated to 1.75.0 and added the line about proxy hops to the docker compose file and reauthed in the workflow I was having issues with and it’s working now. Thank you @Geoffrey_T
Same here…2 days ago it was working fine. Yesterday, it stopped working and this morning I upgraded to the latest version and still not working. I’m pretty sure this a n8n issue, because I have the same workflow using make.com and it works without issues.
Mine is self-hosted on repocloud.io. Anyone having the same issue on the n8n cloud?
Thank you for posting this. I had the same problem and was looking at some type of token issue on the google end. The proxy hops env var fixed it for me as well.
What version are you running? I deleted everything from the workflow credentials & the API credentials, even tried creating a new workflow and I’m getting the same result.