# /channels/:channel/ occasionally not returning followers/views count

**URL:** <https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730>\
**Category:** API\
**Created:** [July 7, 2015, 1:28am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730 "2015-07-07T01:28:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![scjosh](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@scjosh](https://discuss.dev.twitch.com/u/scjosh)\
**Post date:** [July 7, 2015, 1:28am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/1 "2015-07-07T01:28:47Z")

</div>

Hey there,

I made a GET request to `https://api.twitch.tv/kraken/channels/scjosh` to try and grab the followers/views count but just for my account I couldn’t get these details. For instance, if I put another channel name it would show up as well as a bunch of other information that a request for my channel wouldn’t have. I’ve included a screenshot of what’s returned for my channel (scjosh) as well as a screenshot of what should be returned. Is this just an API bug? Thanks.

`GET https://api.twitch.tv/kraken/channels/scjosh`  
 ![](https://discuss.dev.twitch.com/uploads/default/610/d83009da73b4493a.png)

`GET https://api.twitch.tv/kraken/channels/summit1g`  
 ![](https://discuss.dev.twitch.com/uploads/default/611/060abc7ce9572079.png)

---

<div class="post-metadata">

**Author:** ![splinny](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/splinny/32/495_2.png) [@splinny](https://discuss.dev.twitch.com/u/splinny)\
**Post date:** [July 7, 2015, 7:20am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/2 "2015-07-07T07:20:58Z")

</div>

Check “link: self” for your own channel screenshot - you used wrong link.

---

<div class="post-metadata">

**Author:** ![scjosh](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@scjosh](https://discuss.dev.twitch.com/u/scjosh)\
**Post date:** [July 7, 2015, 7:41am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/3 "2015-07-07T07:41:51Z")

</div>

How would the link I’m using be incorrect? In the API spec [/channels/:channel](https://github.com/justintv/Twitch-API/blob/master/v3_resources/channels.md#get-channelschannel) should be returning the same data. Anyway, looks like the API updated as the [data for my channel is now correctly shown](https://api.twitch.tv/kraken/channels/scjosh).

---

<div class="post-metadata">

**Author:** ![3ventic](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/3ventic/32/298_2.png) [@3ventic](https://discuss.dev.twitch.com/u/3ventic)\
**Post date:** [July 7, 2015, 8:05am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/4 "2015-07-07T08:05:35Z")

</div>

There is a bug that’s been going around for a long time causing the channel object to get mixed up with the user object sometimes, likely caused by a caching error.

[![](https://i.3v.fi/raw/1436256077.png) ](https://i.3v.fi/raw/1436256077.png)

---

<div class="post-metadata">

**Author:** ![moocat](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/moocat/32/116_2.png) [@moocat](https://discuss.dev.twitch.com/u/moocat)\
**Post date:** [July 7, 2015, 9:49am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/5 "2015-07-07T09:49:41Z")

</div>

Yeah, this bug has now spread to the /channels/:channel endpoint as well. Not sure if it was there before? At least not to my knowledge.

This bug makes working with the API extremely difficult.

---

<div class="post-metadata">

**Author:** ![jkface](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@jkface](https://discuss.dev.twitch.com/u/jkface)\
**Post date:** [July 7, 2015, 11:25pm UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/6 "2015-07-07T23:25:48Z")

</div>

Please do something about these issues, Twitch. I’ve never seen a more frustrating set of API’s from such an established tech company.

---

<div class="post-metadata">

**Author:** ![rtainc](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/rtainc/32/646_2.png) [@rtainc](https://discuss.dev.twitch.com/u/rtainc)\
**Post date:** [July 17, 2015, 6:55am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/7 "2015-07-17T06:55:41Z")

</div>

Yep, this seems to be an increasingly common/severe issue with the API. I often get JSON decoding exceptions on the `/streams/:target` endpoint as well, possibly just returning `e`. The API is something Twitch really needs to improve though as I’ve seen, it’s not very high on priority at all.

---

<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:** [August 16, 2015, 6:55am UTC](https://discuss.dev.twitch.com/t/channels-channel-occasionally-not-returning-followers-views-count/2730/8 "2015-08-16T06:55:55Z")

</div>

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