I feel that I am doing something wrong, I was thinking that it’s because that this was testing mode. I read somewhere that if on Google console is testing mode then credentials work just 7 days so I changed it to production, but it still stopped working
Same problem for me since today. I updated to the latest version yesterday. Tested multiple things (add credentials new, reconnect, production & testing mode in Google Console) but nothings works.
Before the update I had no issues at all.
Last version was one of around 1 month ago (don’t have exact version number right now).
Edit:
Authorization failed - please check your credentials
Stacktrace:
NodeApiError: Authorization failed - please check your credentials
at Object.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Calendar/GenericFunctions.js:26:15)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Object.googleApiRequestAllItems (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Calendar/GenericFunctions.js:35:24)
at async Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Calendar/GoogleCalendar.node.js:342:44)
at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:442:47
Thank you for reporting the error. Do you experience it only with the Google OAuth or does it happen with other services as well?
I suggest you roll back to 0.138.0. However, if you really need to be on the latest version, you should refer this solution: Get Cookie After Login - #11 by jan
Thanks! Currently I only use Telegram API & services with Google OAuth.
I tried to downgrade to 0.138.0 which also didn’t work.
Same for 0.136.0.
When I try to reconnect, after accepting everything in the oauth screen, I get the error:
“Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).”
Any idea what I’m doing wrong?
Yesterday we released version 0.140.0 with a fix for the refresh tokens issue, so I would recommend you upgrade and try running without the N8N_USE_DEPRECATED_REQUEST_LIB flag.
Also there are other issues I am working on now to fix other possible errors. Please bear with us as replacing an inner library unfortunately can have side effects but we’re working hard on fixing all issues.
I believe later today we will be releasing another hotfix (possibly version 0.140.1) with more fixes, so stay tuned