Twitch Helix API: HTTP Error 401 - invalid access token

Ok. Now it works, one more thing does the /oauth2/token require an redirect_uri? Without specyfing it, it wouldn’t let me in.