# Error: no client id specified - but it is

**URL:** <https://discuss.dev.twitch.com/t/error-no-client-id-specified-but-it-is/23344>\
**Category:** API\
**Created:** [December 6, 2019, 3:16pm UTC](https://discuss.dev.twitch.com/t/error-no-client-id-specified-but-it-is/23344 "2019-12-06T15:16:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krokodylek](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/krokodylek/32/7458_2.png) [@krokodylek](https://discuss.dev.twitch.com/u/krokodylek)\
**Post date:** [December 6, 2019, 3:16pm UTC](https://discuss.dev.twitch.com/t/error-no-client-id-specified-but-it-is/23344/1 "2019-12-06T15:16:32Z")

</div>

[https://api.twitch.tv/kraken/search/channels?query=starcraft?client\_id=lxk3o4wydpchvpocy11f6ia862upux](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 ?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [December 6, 2019, 3:18pm UTC](https://discuss.dev.twitch.com/t/error-no-client-id-specified-but-it-is/23344/2 "2019-12-06T15:18:40Z")

</div>

> [@krokodylek](#):
>
> [https://api.twitch.tv/kraken/search/channels?query=starcraft?client\_id=lxk3o4wydpchvpocy11f6ia862upux](https://api.twitch.tv/kraken/search/channels?query=starcraft?client_id=lxk3o4wydpchvpocy11f6ia862upux)

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](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](https://dev.twitch.tv/docs/v5/guides/migration)

as currently you are also missing the required v5 header

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [January 5, 2020, 3:18pm UTC](https://discuss.dev.twitch.com/t/error-no-client-id-specified-but-it-is/23344/3 "2020-01-05T15:18:41Z")

</div>

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