No refresh Token (Google Admin SDK API)

Hello n8n community,
I use Google SDK API to get users quota of my user in GSuite.
I have a problem with the refresh token in the OAuth2 with this setup:


After initial connection i get the data and my N8N Workflow work but after an hour i get the “No refresh Token” error.
I tried the G Suite Admin node but i didn’t get the needed informations.
Opening the credentials and reconnecting will give me a new valid token for another hour.
Anyone else encountered a similar issue?
Thanks,
Anthony

Welcome to the community @Bartox

Can you set the Auth URI Query Parameters to access_type=offline&prompt=consent and try again?

2 Likes

Hello,
Thanks for your response, it’s work !

1 Like

Thank you!

1 Like