Client ID and OAuth token do not match in request

Hey,

            headers = {
                'Client-ID': client_id,
                'Authorization': 'Bearer ' + await get_bearer()
            }
            async with self.bot.session.get('https://api.twitch.tv/helix/streams?user_login=' + streamer_name,
                                   headers=headers) as r:

Im using this code to make that request and what i get is:

{'error': 'Unauthorized', 'status': 401, 'message': 'Client ID and OAuth token do not match'}

In the dev.twitch.tv portal i made sure that client id is correct, what does this error mean, what is the oauth token?

nvm i fixed it

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