Error: no client id specified - but it is

https://api.twitch.tv/kraken/search/channels?query=starcraft?client_id=lxk3o4wydpchvpocy11f6ia862upux

returns:

{“error”:“Bad Request”,“status”:400,“message”:“No client id specified”}

From the doc:
Query-string parameter
( https://api.twitch.tv/kraken/users/44322889?client_id=XXXXX )

Am I doing something wrong? Or is my cliend id invalid ?

Should be, as multiple parameters need to be seperated by & not ? for each one

https://api.twitch.tv/kraken/search/channels?query=starcraft&client_id=lxk3o4wydpchvpocy11f6ia862upux

and you really should be specifying it as a header

https://dev.twitch.tv/docs/v5/guides/migration

as currently you are also missing the required v5 header

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