Suddenly getting many "The current authorization is not valid for this context" errors

Are you using the old version of the API (V3) instead of the new, V5?

Also, Twitch released a new feature that allows users to change their name, so if you’re using the old API you probably are trying to do something for a user that changed their name and now you don’t have permission because you’re referring the user by their old name.

Note: V3 uses usernames, V5 uses user IDs