Emoticon_images deprecated?


#1

I am seeing an intermittent error where the kraken/chat/emoticon_images endpoint is returning error 410:

HTTP status code 410 for uri https://api.twitch.tv/kraken/chat/emoticon_images Body: {"error":"Gone","status":410,"message":"v3 is a lie but v5 is still alive. See https://dev.twitch.tv/docs"}

As far as I can tell this endpoint IS v5 (and there is no New Twitch API option for this endpoint):

Any ideas what might be going on?


#2

Make sure you are setting Accept: application/vnd.twitchtv.v5+json in your header or api_version=5 in your URL.

https://api.twitch.tv/kraken/chat/emoticon_images?api_version=5

Header is preferred.


#3

Please also read the migration guide

Please also read the example request in the docs you linked

curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-X GET 'https://api.twitch.tv/kraken/chat/emoticon_images?emotesets=19151'

#4

As far as I can tell I am using Accept: application/vnd.twitchtv.v5+json in the header. I will try to capture the next time that it happens for more detail.