Enhanced-TTVDropBot icon indicating copy to clipboard operation
Enhanced-TTVDropBot copied to clipboard

GQL RESPONSE ERROR

Open StevensUneven opened this issue 1 year ago • 5 comments

Keep getting the following error:

`

npm run build && node build/index.js

[email protected] build rimraf ./build && tsc

Successfully Loaded Settings...

Displayless mode enabled Discord Webhook enabled

Found a twitch-session... No need to login...

Getting all active Campaigns... Removed World of Warcraft from the Priority List, because there is no ACTIVE campaign with such name. Removed Diablo III from the Priority List, because there is no ACTIVE campaign with such name. Removed Diablo IV from the Priority List, because there is no ACTIVE campaign with such name. Removed Halo Infinite from the Priority List, because there is no ACTIVE campaign with such name. Removed PUBG: BATTLEGROUNDS from the Priority List, because there is no ACTIVE campaign with such name. Removed Apex Legends from the Priority List, because there is no ACTIVE campaign with such name. Removed Sea of Thieves from the Priority List, because there is no ACTIVE campaign with such name. Removed Rocket League from the Priority List, because there is no ACTIVE campaign with such name.

Selected a Game from your Priority List watch: Call of Duty: Modern Warfare II

Getting all available Drops... GQL RESPONSE ERROR! DropCampaignDetails Request Failed... Retrying in 60 seconds... Try: 1/4 GQL RESPONSE ERROR! DropCampaignDetails Request Failed... Retrying in 60 seconds... Try: 2/4 GQL RESPONSE ERROR! DropCampaignDetails Request Failed... Retrying in 60 seconds... Try: 3/4 GQL RESPONSE ERROR! DropCampaignDetails Request Failed... Retrying in 60 seconds... Try: 4/4 Unhandled Rejection at: Promise { '[{"message":"failed integrity check","path":["user","dropCampaign"]}]' } Unhandled Rejection Reason: [{"message":"failed integrity check","path":["user","dropCampaign"]}] `

Then app closes

StevensUneven avatar May 25 '23 00:05 StevensUneven

Same issue, guessing this is also dead.

AirHeadsbuirse avatar Jun 03 '23 15:06 AirHeadsbuirse

hello everyone I have this issue too GQL RESPONSE ERROR! DropCampaignDetails Request Failed... Retrying in 60 seconds... Try: 1/4

delta-whiplash avatar Aug 28 '23 21:08 delta-whiplash

same issue for me

PivaRos avatar Oct 14 '23 21:10 PivaRos

Same here, this is probably dead :(

rka avatar Nov 03 '23 07:11 rka

I think they might have added some anti bot security into Twitch GQL Api. I was playing around with stuff and it looks like integrity token that we get in the bot seems to be invalid when trying to fetch drop campaing info. When swapped with one from my browser it runs just fine. Not sure why other GQL operations work just fine, but kinda makes sense that they want to protect the drops from the abuse. In the cookies and XHR request we can see some kpsdk stuff, which looking at the web might be related to anti automation measurements from Kasada.

So I think the era of browser-free twitch drop bots might be over. I hope that someone can prove me wrong.

Easiest way to farm drops now is to switch to other headless browser based bots that you can find easily on github. Also note that Twitch staff probably see all the requests with invalid integrity checks and that means they can easily determine if user is trying to setup a bot. Take care with your accounts!

Edit: its the same issue as there: https://github.com/streamlink/streamlink/issues/5370#issuecomment-1571121052 If we decode base64 the jwt token generated in the integrity endpoint, there is is_bad_bot property which is set to true for the token generated with this bot

BlayeeR avatar Dec 18 '23 20:12 BlayeeR