Subscriber badges is null in some channels that have subscribers


#1

Im getting a channel’s badge images by using this endpoint “https://badges.twitch.tv/v1/badges/channels/channel/display?language=en

The problem is that for some channels, under the “subscribers” key, it is null and thus I have no image. This is happening in rooms where the channel does have subscribers. I can see this vie the chat/message object that tells me which badges they have, and by highlighting the icon in the normal twitch chat page, it says “subscriber”. Furthermore, this only happens if one channel so far, but works in like the 30 other channels ive tested with.


#2

Which channel?


#3

fathersongaming


#4

Working here (https://badges.twitch.tv/v1/badges/channels/21924993/display?language=en):

{
"badge_sets": {
"subscriber": {
"versions": {
"0": {
"image_url_1x": "https://static-cdn.jtvnw.net/badges/v1/663603f1-35c5-4261-9f58-1bb846121701/1",
"image_url_2x": "https://static-cdn.jtvnw.net/badges/v1/663603f1-35c5-4261-9f58-1bb846121701/2",
"image_url_4x": "https://static-cdn.jtvnw.net/badges/v1/663603f1-35c5-4261-9f58-1bb846121701/3",
"description": "Subscriber",
"title": "Subscriber",
"click_action": "subscribe_to_channel",
"click_url": ""
},
"12": {
"image_url_1x": "https://static-cdn.jtvnw.net/badges/v1/8d2c3cce-c14a-4387-8d23-31e824da10ed/1",
"image_url_2x": "https://static-cdn.jtvnw.net/badges/v1/8d2c3cce-c14a-4387-8d23-31e824da10ed/2",
"image_url_4x": "https://static-cdn.jtvnw.net/badges/v1/8d2c3cce-c14a-4387-8d23-31e824da10ed/3",
"description": "1-Year Subscriber",
"title": "1-Year Subscriber",
"click_action": "subscribe_to_channel",
"click_url": ""
},
"24": {
"image_url_1x": "https://static-cdn.jtvnw.net/badges/v1/f58dd2eb-1185-4c45-a1db-b812b2a30570/1",
"image_url_2x": "https://static-cdn.jtvnw.net/badges/v1/f58dd2eb-1185-4c45-a1db-b812b2a30570/2",
"image_url_4x": "https://static-cdn.jtvnw.net/badges/v1/f58dd2eb-1185-4c45-a1db-b812b2a30570/3",
"description": "2-Year Subscriber",
"title": "2-Year Subscriber",
"click_action": "subscribe_to_channel",
"click_url": ""
},
"3": {
"image_url_1x": "https://static-cdn.jtvnw.net/badges/v1/b48c337d-93fa-4e8e-ba46-a3a534b91a1a/1",
"image_url_2x": "https://static-cdn.jtvnw.net/badges/v1/b48c337d-93fa-4e8e-ba46-a3a534b91a1a/2",
"image_url_4x": "https://static-cdn.jtvnw.net/badges/v1/b48c337d-93fa-4e8e-ba46-a3a534b91a1a/3",
"description": "3-Month Subscriber",
"title": "3-Month Subscriber",
"click_action": "subscribe_to_channel",
"click_url": ""
},
"6": {
"image_url_1x": "https://static-cdn.jtvnw.net/badges/v1/961ad373-c912-4be7-bb6c-aba6647b6c09/1",
"image_url_2x": "https://static-cdn.jtvnw.net/badges/v1/961ad373-c912-4be7-bb6c-aba6647b6c09/2",
"image_url_4x": "https://static-cdn.jtvnw.net/badges/v1/961ad373-c912-4be7-bb6c-aba6647b6c09/3",
"description": "6-Month Subscriber",
"title": "6-Month Subscriber",
"click_action": "subscribe_to_channel",
"click_url": ""
}
}
}
}
}