OAuth2 using Client Credentials causes Bad Request

Describe the problem/error/question

Trying to make a simple Request to IGDB with OAuth2 Authentication.
image

What is the error message (if any)?

The HTTP Request is never sent since the authentication is causing a 400 Bad Request before that. Authentication works fine when testing using curl. Also tried changing it to Authorization Code with some placeholders to produces a similar request with no success.

Information on your n8n setup

  • n8n version: 1.66.0

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @HellGate94,

Welcome to the community :cake:

Looking at the docs for Twitch are you also remembering to set the Client-Id header in the request? We will handle sending the Authorization header but Twitch seems to have an extra step of needing the client-id to be sent as a header as well on all API requests.

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