Search Categories Box Art URL

Hello!

My app is currently pulling data from the Search Categories endpoint, but I’m noticing some unusual behavior.

Rather than returning a “Template URL for the game’s box art” for the box_art_url parameter (i.e., https://static-cdn.jtvnw.net/ttv-boxart/./Call%20of%20Duty:%20Warzone-{width}x{height}.jpg), I’m getting a URL with defined dimensions: https://static-cdn.jtvnw.net/ttv-boxart/./Call%20of%20Duty:%20Warzone-52x72.jpg

This has broken my app as my string replace logic looking for {width} and {height} no longer works. I’m not seeing this behavior with other similar endpoints like the Get Top Games endpoint. Any ideas on what’s going on? Can someone else confirm this behavior as well?

Thanks in advance!

You have found a bug.

It didn’t break my logic as a missing {width}/{height} didn’t break my logic.
As my replace just does nothing as there is no {width} to replace. So odd it broke your app. You may want to revise for in case this happens again.

My JS/CSS kept going.

Have filed a issue https://github.com/twitchdev/issues/issues/329

1 Like

Thanks so much for filing an issue!

Thankfully my app still runs, the resolution for the box art is just very poor.

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