justintv / Twitch-API

A home for details about our API
www.twitch.tv
1.72k stars 379 forks source link

[Bug] Querying /games/top always returns a 400 #635

Closed DomLennonZA closed 7 years ago

DomLennonZA commented 7 years ago

When using the following endpoint https://github.com/justintv/Twitch-API/blob/master/v3_resources/games.md , I always get a 400. See image below. If I use the same headers for the /streams endpoint, this works fine.

image

DomLennonZA commented 7 years ago

Note, I have also tried adding it in the query string as different parameter names. These were client_id, clientid, and client-id.

bashtech commented 7 years ago

That request is working for me. Have you verified your client id is valid?

On Wed, Nov 2, 2016 at 5:59 PM Dominic notifications@github.com wrote:

Note, I have also tried adding it in the query string as different parameter names. These were client_id, clientid, and client-id.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/justintv/Twitch-API/issues/635#issuecomment-258012548, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG3vCST1yi7581qOahBfkbMKz-TGK_Vks5q6QfFgaJpZM4KnzE_ .

DomLennonZA commented 7 years ago

As mention above, I use the exact same headers when querying the /streams endpoint and it works fine.

DomLennonZA commented 7 years ago

I am an idiot...the was whitespace in my other request. Gonna close this now