Google Drive connection error

I keep getting this error when trying to ‘credentials to connect to google drive’ . I followed the documentation and tried several times. Anyone can enlighten?

Error: The OAuth callback state is invalid!

More detailsFailed to connect. The window can be closed now.

hello @Lynn_Boh

are you using a self-hosted instance or cloud? How your callback url looks?

i am using self hosted on railway.
my callback url
https://primary-production-0da6.up.railway.app/rest/oauth2-credential/callback

can anyone help please?

is it something to do with the environment variable? I have recently upgraded n8n version and change the env variable.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.