Top Games API Returning Wrong Game Name


#1

I am noticing that sometimes the api.twitch.tv/kraken/games/top endpoint is returning bad data for the game name. For instance, Game ID 514190 is returning name = “Loco Parentis”, but the real name should be “Plants vs. Zombies: Battle for Neighborville”. Game ID 514536 is also returned with the name “Loco Parentis”, which is valid.

I am guessing there is some issue with caching on the server that is causing the problem. This just started happening the past few days (around 2019-09-20). It doesn’t seem to always happen, but it is quite frequent.

Let me know if there is any additional information I can provide!


#2

Hey there! Glad someone else is noticing. Twitch devs? SoBayed
My post: Game duplication in API and website search

This has been an ongoing issue for over 3 weeks with no response and honestly it’s only getting worse.

Since my last post I’ve also found the following mismatches over the past 2 weeks (and I’m still not done consolidating everything)
These pairs are being returned by the API and are demonstrably incorrect.

513870 / "One Night In The House"
511727 / "Starblazer"
513161 / "Mini Trains"
513760 / "Rush Wars"
511572 / "Astaria"
513732 / "Hatsune Miku: Project Diva Mega Mix"
511983 / "Box Boy! + Box Girl!"
512669 / "Condor Attack"
512250 / "Arena of Evolution: Red Tides"
513834 / "Ripper Ribbit"
513567 / "Little Nightmares II"
513162 / "Worlds.com"
511335 / "Beyond A Steel Sky"
513625 / "Pass The Punch"
513424 / "Wintermoor Tactics Club"
512306 / "Melon Journey 2"
511583 / "Guntastic"
511389 / "Nightdawn"
512906 / "Shihori Escape"
511559 / "Xianjian Qixia Zhuan 5"
511558 / "Arizona Derby"

512341 / "World of Kings"
511468 / "Diver Down"
513891 / "Snowbound Blood: A Vast Error Story"
512086 / "bit Dungeon III"
512226 / "You Gotta Get Off the Train"
512221 / "Pferd & Pony - Mein Pferdehof"
512422 / "Jangou"
514012 / "Fun with Ragdolls: The Game"
511396 / "Waven"
513405 / "Simple Sandwich"
513057 / "Dhux's Scar"
513889 / "10 Minute Space Strategy"
513659 / "Super Bikes 2"
512267 / "Virtual Virtual Reality"
512371 / "Tale of the Fragmented Star: Single Fragment Version"
514013 / "Various Daylife"
513170 / "Dwarfheim"
511399 / "Little Witch Reinette: Swan no Namida Rhapsody"

While most of these are more or less harmless (1 viewer / 1 channel), the last one is especially egregious since 511399 is the ID for Super Mario Maker 2.


#3

Examples:

{
:game => {
:name => “Loco Parentis”,
:popularity => 415,
:_id => 514190,
:giantbomb_id => 75417,
:box => {
:large => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-272x380.jpg”,
:medium => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-136x190.jpg”,
:small => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-52x72.jpg”,
:template => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-{width}x{height}.jpg
},
:logo => {
:large => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-240x144.jpg”,
:medium => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-120x72.jpg”,
:small => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-60x36.jpg”,
:template => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-{width}x{height}.jpg
},
:localized_name => “Loco Parentis”,
:locale => “en-us”
},
:viewers => 303,
:channels => 14
},

{
:game => {
:name => “Loco Parentis”,
:popularity => 7,
:_id => 514536,
:giantbomb_id => 75417,
:box => {
:large => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-272x380.jpg”,
:medium => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-136x190.jpg”,
:small => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-52x72.jpg”,
:template => “https://static-cdn.jtvnw.net/ttv-boxart/Loco%20Parentis-{width}x{height}.jpg
},
:logo => {
:large => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-240x144.jpg”,
:medium => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-120x72.jpg”,
:small => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-60x36.jpg”,
:template => “https://static-cdn.jtvnw.net/ttv-logoart/Loco%20Parentis-{width}x{height}.jpg
},
:localized_name => “Loco Parentis”,
:locale => “en-us”
},
:viewers => 5,
:channels => 1
},


#4

Just to follow up, it appears that this issue is no longer happening in the last few days. Hopefully it was an issue fixed in the Twitch backend.