Hello,
The method TwitchLib.Api.Core.HttpCallHandlers.TwitchHttpClient.HandleWebException throw a BadTokenException when the api return 403.
But in some case, the returned message from the api is :
{
"error": "Forbidden",
"status": 403,
"message": "channel points are not available for the broadcaster"
}
But TwitchHttpClient will hide this information and return a bad token message.
I tested this issue with my account (new twitch account) and called "Helix.ChannelPoints.GetCustomReward".
I searched for a long time before realizing that my token was correct, but the problem was that my channel did not support the functionality.
Hello,
The method TwitchLib.Api.Core.HttpCallHandlers.TwitchHttpClient.HandleWebException throw a BadTokenException when the api return 403.
But in some case, the returned message from the api is :
{
"error": "Forbidden",
"status": 403,
"message": "channel points are not available for the broadcaster"
}
But TwitchHttpClient will hide this information and return a bad token message.
I tested this issue with my account (new twitch account) and called "Helix.ChannelPoints.GetCustomReward".
I searched for a long time before realizing that my token was correct, but the problem was that my channel did not support the functionality.