I have just released a new version of my extension and I have a weird error in production I do not have in development and which is happenning only on certain channels.
There is call to “https://api.twitch.tv/gql” which timeouts after 20 seconds.
I am not making the call myself, this seems to be part of Twitch.onAuthorized() and this also seemed to be related to subscription status as the query of the call is : {"query":"query ExtensionSubscriptionStatus(\n $channelID: ID\n) {\n user(id: $channelID) {\n id\n self {\n subscriptionBenefit {\n tier\n }\n }\n }\n}","variables":{"channelID":"75570414"}}
@BarryCarlyon Unfortunately this is still not working for me. I tried on 2 different computers.
The error only happens if you grant permissions to the extension.
So on your end the call is successfull ? I sent you the curl by message.
Hi, I’ve got exact same issue. If user grants permission for reading his subscription status - extension won’t authorize with 504 call to https://api.twitch.tv/gql. Without this permission app works fine. Error appears only on channels that can be subscribed.