Get Streams API for the current user returns blank object

You don’t need this header.

This suggests the user you tried to look up is not currently live.

You only get data if the streamer is live

For example, using the twitchCLI

I am not live

barrycarlyon@Robyn ~ % twitch api get 'streams?user_login=barrycarlyon'
{
  "data": [],
  "pagination": {
    "cursor": ""
  }
}

CohhCarnage is live

barrycarlyon@Robyn ~ % twitch api get 'streams?user_login=cohhcarnage'
{
  "data": [
    {
      "game_id": "512953",
      "game_name": "Elden Ring",
      "id": "39538994809",
      "is_mature": false,
      "language": "en",
      "started_at": "2022-03-08T12:41:17Z",
      "tag_ids": [
        "6ea6bca4-4712-4ab9-a906-e3336a9d8039",
        "1277e554-f8c9-4795-a475-27418d7bd111",
        "eaba0ad7-c4e1-4878-b37f-01308dbb65c8",
        "96b6073f-450d-4248-8ed4-988e28f3f759",
        "7e329e2d-60a1-4a87-9e59-41272c57ab42"
      ],
      "thumbnail_url": "https://static-cdn.jtvnw.net/previews-ttv/live_user_cohhcarnage-{width}x{height}.jpg",
      "title": "Elden Ring (Deaths: 7)! - !HFWUnboxing - YouTube.com/CohhDaily - !PC - #EpicPartner Creator Code: COHH",
      "type": "live",
      "user_id": "26610234",
      "user_login": "cohhcarnage",
      "user_name": "CohhCarnage",
      "viewer_count": 13566
    }
  ],
  "pagination": {
    "cursor": ""
  }
}