Please also take a look at
https://dev.twitch.tv/docs/v5/guides/migration/
and this duplicate (sorta) thread/solution here
You need to take the usernames and convert them to ID"s before looking them up on the API.
UserID’s never change, but usernames might.