Newly created access_token is invalid

client_credentials grant type is not used for anything in kraken. You should also use id.twitch.tv in the token flow as described in the documentation, not the old api.twitch.tv/kraken/oauth2: https://dev.twitch.tv/docs/authentication/