Google OAuth2 Client Authentication Error

Describe the problem/error/question

Hello, I am using a workflow for scraping leads for free but I am encountering with an issue which is an “OAuth2 Client Authentication Error”. Can you help me to solve this problem ?

What is the error message (if any)?

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:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Kuti01
From what I’ve seen, this usually happens when the Client ID/Secret or redirect URI don’t match. I’d double-check the credentials in Google Cloud and ensure the OAuth redirect URL in n8n is correctly added. Also verify the auth type (header vs body).

1 Like

Hi @Kuti01 I really agree and in fact @tamy.santos is right! And as per your previous questions, what i recommend is that make sure you have entered your callback URL which was given in the credentials area of google and copied that and pasted it in the Google’s Redirect URL and then saved, also i have seen you struggling with this, consider watching this video for step by step guide:

So this will give you proper understanding on how to do that.