# Error on /kraken/chat/emoticon\_images

**URL:** <https://discuss.dev.twitch.com/t/error-on-kraken-chat-emoticon-images/23791>\
**Category:** API\
**Created:** [January 18, 2020, 6:36am UTC](https://discuss.dev.twitch.com/t/error-on-kraken-chat-emoticon-images/23791 "2020-01-18T06:36:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxdocobxx](https://avatars.discourse-cdn.com/v4/letter/x/41988e/32.png) [@xxdocobxx](https://discuss.dev.twitch.com/u/xxdocobxx)\
**Post date:** [January 18, 2020, 6:36am UTC](https://discuss.dev.twitch.com/t/error-on-kraken-chat-emoticon-images/23791/1 "2020-01-18T06:36:58Z")

</div>

Hey there, the emoticon\_images api works fine if the emotesets is set to smaller than 472873131, otherwise it always return “500 Internal Server Error”.

Example to reproduce the error:

```
$.ajax({
    url: 'https://api.twitch.tv/kraken/chat/emoticon_images?emotesets=1284046701',
    headers: {
        'Client-ID': client_id,
        'Accept': 'application/vnd.twitchtv.v5+json'
    },
});
```

---

<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:** [January 18, 2020, 11:15am UTC](https://discuss.dev.twitch.com/t/error-on-kraken-chat-emoticon-images/23791/2 "2020-01-18T11:15:13Z")

</div>

Usually _this_ issue is temporary, or you are calling a dead/recycled emoteset ID and the endpoint borks up.

---

<div class="post-metadata">

**Author:** ![xxdocobxx](https://avatars.discourse-cdn.com/v4/letter/x/41988e/32.png) [@xxdocobxx](https://discuss.dev.twitch.com/u/xxdocobxx)\
**Post date:** [January 18, 2020, 7:09pm UTC](https://discuss.dev.twitch.com/t/error-on-kraken-chat-emoticon-images/23791/3 "2020-01-18T19:09:37Z")

</div>

Those emoteset IDs are taken from clients’ [Twitch chat USERSTATE](https://dev.twitch.tv/docs/irc/tags#userstate-twitch-tags), I believe those values ​​should be legit.

I have collected some samples of the emote-sets values taken from different clients’ error log:

- 0,19194,481432,875676,1074861,1661855,1666352,1683266,300107185,300199157,300281821,300371174,300371175,300371176,300548756,300649738,300715889, **472873131** ,1990641929

- 0,19194,113862,113867,113868,1431875,300206300,300238151, **472873131** ,1422705687,1606572380

- 0,9937,16558,19194,144293,287812,362973,503461,865926,1023635,1023636,1023637,1157854,1316436,1480001,1496143,300206310,300449831,300548766,300740951, **472873131** ,1144355779,1158147365

- 0,42,1504,12158,17191,18037,18294,19194,20826,22469,32967,60360,67564,79408,85281,91842,106708,135743,151869,179573,193775,202085,211988,216060,253640,325785,339771,389949,498922,619711,619712,619713,726622,783493,810928,865926,1031442,1163584,1202921,1247608,300086029,300206303,300432482,300548773, **472873131** ,546037463,620895129,628495355,1057125516,1255583197,1371581590,1398001173,2136627392

- 0,14366,14374,1273363,1409031,300153736,300153737,300153738,300206314,300548757,300684412, **472873131** ,1005430537,1450705814,1834540652

As you can see, all these samples have one common ID 472873131, and all IDs beyond this value will return “500 error” or an empty emoticon\_sets when calling with the emoticon\_images API.

I noticed that these errors started on December 11, 2019 and still persist, so I believe Twitch has changed something that caused this error since that day.

---

<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:** [February 17, 2020, 7:09pm UTC](https://discuss.dev.twitch.com/t/error-on-kraken-chat-emoticon-images/23791/4 "2020-02-17T19:09:37Z")

</div>

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