Twitch Helix API: Invalid OAuth Token Error

oh I mis read your code

You used your clientSecret as the Authorization token, which is not valid

You need to generate an oAuth token.

The token type depends on the test of your code and what you are doing