# Kraken API stopped working when fetching streams

**URL:** <https://discuss.dev.twitch.com/t/kraken-api-stopped-working-when-fetching-streams/12401>\
**Category:** API\
**Created:** [October 11, 2017, 5:50pm UTC](https://discuss.dev.twitch.com/t/kraken-api-stopped-working-when-fetching-streams/12401 "2017-10-11T17:50:18Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![leesm0218](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@leesm0218](https://discuss.dev.twitch.com/u/leesm0218)\
**Post date:** [October 11, 2017, 6:28pm UTC](https://discuss.dev.twitch.com/t/kraken-api-stopped-working-when-fetching-streams/12401/8 "2017-10-11T18:28:25Z")

</div>

> [@I use same header value. but one work, one not work](https://discuss.dev.twitch.com/t/i-use-same-header-value-but-one-work-one-not-work/12395/4):
>
> Yeah your header format is incorrect, I’m not a javascript expert but it can’t be a string like that you need to form your headers as an object like this: headers: { ‘Client-ID’: ‘blablabla’, ‘Accept’: ‘application/vnd.twitchtv.v5+json’ } This makes the entries members of an object not just an object with a string in. The reason the first call you made works is that it does not require any headers, if you click the link you’ll get a response without using a version or Client-Id [https://ap…](https://api.twitch.tv/kraken/games/top?limit=100)

nevermind. it’s my fault.

---

_[View the full topic](https://discuss.dev.twitch.com/t/kraken-api-stopped-working-when-fetching-streams/12401)._
