Bug report - Twitch API proxy not behaving properly

(please excuse me if I should have posted this as a reply on my other post, feel free to merge it (I chose to post it here because the other support post is for support on my project, not about the bug itself))

Hello. Recently, while fetching some data from the twitch API proxy, specifically from the /streams?(user_id|user_login) endpoint, and all I got were these useless empty objects:

{
  "data": [],
  "pagination": {

  }
}

Initially, I assumed this was my fault, but was advised by @im59138 to report it as a bug.

Okay. Let’s check a couple of things. What do you get when you retrieve data from https://twitch-proxy.freecodecamp.rocks/helix/streams?user_login=ESL_SC2?

{
  "data": [
    {
      "id": "41097247013",
      "user_id": "30220059",
      "user_login": "esl_sc2",
      "user_name": "ESL_SC2",
      "game_id": "490422",
      "game_name": "StarCraft II",
      "type": "live",
      "title": "RERUN: Oliveira vs. Serral - ESL SC2 Masters Spring 2024 Finals - Semifinals",
      "viewer_count": 153,
      "started_at": "2024-09-24T21:59:59Z",
      "language": "en",
      "thumbnail_url": "https://static-cdn.jtvnw.net/previews-ttv/live_user_esl_sc2-{width}x{height}.jpg",
      "tag_ids": [],
      "tags": [
        "Esports",
        "English"
      ],
      "is_mature": false
    }
  ],
  "pagination": {
    "cursor": "eyJiIjp7IkN1cnNvciI6ImV5SnpJam94TlRNdU1qY3hOREl3TWpNeU1EZ3pOU3dpWkNJNlptRnNjMlVzSW5RaU9uUnlkV1Y5In0sImEiOnsiQ3Vyc29yIjoiIn19"
  }
}

(Uhhhhh…)

Apparently the useless objects are when the user isn’t streaming…