# Channel Followers Endpoint Returns 0 Followers Sometimes

**URL:** <https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753>\
**Category:** API\
**Created:** [January 6, 2017, 4:19pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753 "2017-01-06T16:19:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapuru](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kapuru/32/4401_2.png) [@kapuru](https://staging-discuss.dev.twitch.com/u/kapuru)\
**Post date:** [January 6, 2017, 4:19pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/1 "2017-01-06T16:19:04Z")

</div>

Hi,

I can successfully request a channels followers using the endpoint /channel/:id/followers.  
However sometimes the endpoint returns 0 followers instead of an error where there should actually be followers for a channel.

To give you an example:

I’m trying to get all followers of a my channel with 400 followers. I’m requesting 100 followers each time and following the cursor to get the next 100. My logs kind of look like this:

100 followers fetched (Channel XYZ)  
100 followers fetched (Channel XYZ)  
0 followers fetched (Channel XYZ)  
100 followers fetched (Channel XYZ)  
No more followers for channel XYZ. Cursor equals last cursor.

As you can see in the middle all of a sudden the API returned 0 followers but a cursor which I can use to jump to the next result set.

---

<div class="post-metadata">

**Author:** ![DallasNChains](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dallasnchains/32/1608_2.png) [@DallasNChains](https://staging-discuss.dev.twitch.com/u/DallasNChains)\
**Post date:** [January 6, 2017, 8:44pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/2 "2017-01-06T20:44:23Z")

</div>

Does this always happen, or is it intermittent? I’m curious if that third request is getting load balanced to another server with a different result set (hence why nothing is returned).

---

<div class="post-metadata">

**Author:** ![kapuru](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kapuru/32/4401_2.png) [@kapuru](https://staging-discuss.dev.twitch.com/u/kapuru)\
**Post date:** [January 6, 2017, 9:28pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/3 "2017-01-06T21:28:35Z")

</div>

I’m trying to give you with as much information as I can get out of my logs.

It doesn’t happen always, but minimum once or twice a day. According to my logs last time it happened was January 06 08:14:37 GMT +1. It lasted about a minute. All requests in this timeframe returned 0 followers and no error.

I mentioned earlier that absolutely no errors were thrown by the API but it seems like that’s wasn’t true. At Jan 06 08:13:51 GMT +1 the request returned the following error.

{“error”:“Internal Server Error”,“status”:500,“message”:""}

Not really helpful to me, but maybe your logs give you a better insight into what happened.  
After that error the API returned an empty followers array on every request for about a minute (instead of continuing to give me an error that I can handle gracefully), doesn’t matter if I start fetching the followers from scratch or if I fetch them from another user. Everyone has an empty followers array.

---

<div class="post-metadata">

**Author:** ![kapuru](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kapuru/32/4401_2.png) [@kapuru](https://staging-discuss.dev.twitch.com/u/kapuru)\
**Post date:** [January 7, 2017, 1:36pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/4 "2017-01-07T13:36:57Z")

</div>

It happened again today at about Jan 07 07:49:16 GMT +1 for about 10 minutes. Within this timeframe some results returned 0 followers and many worked as expected. My logs show no errors being returned by the API this time.

---

<div class="post-metadata">

**Author:** ![Six](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/six/32/2334_2.png) [@Six](https://staging-discuss.dev.twitch.com/u/Six)\
**Post date:** [January 7, 2017, 5:55pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/5 "2017-01-07T17:55:54Z")

</div>

I’ve also noticed similar things with creating/deleting reactions to posts/comments. At random times the returned response content would be empty with either a 400 or 500 error, but the operation would still be successful. Sometimes it also happens while creating posts as well. So far I have found no reliable way to reproduce this.

---

<div class="post-metadata">

**Author:** ![kapuru](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kapuru/32/4401_2.png) [@kapuru](https://staging-discuss.dev.twitch.com/u/kapuru)\
**Post date:** [January 7, 2017, 6:15pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/6 "2017-01-07T18:15:27Z")

</div>

You describe a different problem.

In my case the returned response is empty, but there’s no error. Status code is 200 OK.

---

<div class="post-metadata">

**Author:** ![Six](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/six/32/2334_2.png) [@Six](https://staging-discuss.dev.twitch.com/u/Six)\
**Post date:** [January 7, 2017, 6:27pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/7 "2017-01-07T18:27:04Z")

</div>

> I mentioned earlier that absolutely no errors were thrown by the API but it seems like that’s wasn’t true. At Jan 06 08:13:51 GMT +1 the request returned the following error.

> {“error”:“Internal Server Error”,“status”:500,“message”:“”}

---

<div class="post-metadata">

**Author:** ![kapuru](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/kapuru/32/4401_2.png) [@kapuru](https://staging-discuss.dev.twitch.com/u/kapuru)\
**Post date:** [January 9, 2017, 6:15pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/8 "2017-01-09T18:15:37Z")

</div>

Any updates?

---

<div class="post-metadata">

**Author:** ![DallasNChains](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dallasnchains/32/1608_2.png) [@DallasNChains](https://staging-discuss.dev.twitch.com/u/DallasNChains)\
**Post date:** [January 9, 2017, 6:32pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/9 "2017-01-09T18:32:51Z")

</div>

No update. The team is investigating it. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [February 8, 2017, 6:33pm UTC](https://staging-discuss.dev.twitch.com/t/channel-followers-endpoint-returns-0-followers-sometimes/8753/10 "2017-02-08T18:33:03Z")

</div>

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