OAuth Authorization Error – Salted__... is not valid JSON (Google OAuth not opening, n8n Cloud)

Describe the problem/error/question

Hi,

On n8n Cloud, Google OAuth is failing for me (Calendar & Drive).

Clicking “Sign in with Google” immediately throws:

OAuth Authorization Error
Unexpected token 'S', "Salted__..." is not valid JSON

Key points:

  • Happens even with empty credentials

  • Affects multiple Google integrations

  • Google auth page never opens

  • Network tab shows /rest/oauth2-credential/auth returning HTTP 500

  • Response appears to be an encrypted payload (Salted__...) instead of JSON

I configured Google Cloud perfectly for Google drive API. IP, Key, Callback. But it even happens with Google calendar. I don’t get it.

New version: 2.1.0

Looks like a backend / encryption issue at project or workspace level.

Has anyone encountered this or found a workaround?

Thanks.


If you want it even more minimal (Discord-style), say the word.

What is the error message (if any)?

OAuth Authorization Error
Unexpected token 'S', "Salted__..." is not valid JSON

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.1.0
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I have the same issue, how did you solve it?

Don’t use a beta version. Use a stable version. That solved the problem in my case !

Cheers.

1 Like

I have the same problem

It solved it ! Thank you :folded_hands: :folded_hands:

I’m not using a beta version