The error is most likely in your authorization process. You’re calling it sessionData.code, hopefully not after the code parameter from Twitch, which you’re supposed to exchange for the access_token.
1 Like