Username 01 is not a valid Username
None of the users in your $channels1 array are valid usernames
Again, what is the actual request you are making to Twitch.
In this case the actual $url you generate and call?
You don’t need this with Helix. Helix doesn’t need an accept header. But does not matter if it’s included.