Twitch-Channel-Points-Miner-v2
Twitch-Channel-Points-Miner-v2 copied to clipboard
Doesn't get points for raids and bonuses.
Doesn't get points for raids and bonuses. There is a notice about bonuses and a raid. But it doesn't take points.
- OS: Ubuntu 20.04.5 LTS
- Python 3.8.10
i am also running into this issue, seems the bot tires to redeem the bonus box but never does
Can confirm this issue. Restarted the miner, but still no more CLAIM points.
Can Confirm sees the points and bonuses cant claim. also tries to place points for predictions but cant.
As additional info, manually pressing the Claim button on-stream, the CLAIM message immediately appears on the log. Would make me guess that Twitch edited the request sent by clicking it and now the miner doesn't send the right signal anymore?
Add to what you said it sees the prediction and goes through with trying to make a prediction in the logs it says place X amount of points but actually doesnt. so it appears to be working when you view logs but never actually places the bet.
I don't know if it can help, but on my version of the project I don't have the issue. And I made no changes to the requests being made, so to me it seems unlikely to be a change from Twitch.
same isssue
Have the same issue, Debug logging returns this type of error on both raid and claim
Data: {'operationName': 'JoinRaid', 'extensions': {'persistedQuery': {'version': 1, 'sha256Hash': 'c6a332a86d1087fbbb1a8623aa01bd1313d2386e7c63be60fdb2d1901f01a4ae'}}, 'variables': {'input': {'raidID': '85f4eb30-xxxxx'}}}, Status code: 200, Content: {"errors":[{"message":"failed integrity check"}],"extensions":{"challenge":{"type":"integrity"},"durationMilliseconds":2,"operationName":"JoinRaid","requestID":"01GCWYxxxxx"}}
Some days ago I had that issue for a few hours and then it was gone.
I don't know if it can help, but on my version of the project I don't have the issue. And I made no changes to the requests being made, so to me it seems unlikely to be a change from Twitch.
Yesterday I tried to run your project for several hours. (On a new Ubuntu VM). So nothing happened. Your project lacks detailed instructions with screenshots or videos for lamers. How to install, what to install, how to configure, where to configure. Not all users are programmers or work with IT systems.
I don't know if it can help, but on my version of the project I don't have the issue. And I made no changes to the requests being made, so to me it seems unlikely to be a change from Twitch.
Yesterday I tried to run your project for several hours. (On a new Ubuntu VM). So nothing happened. Your project lacks detailed instructions with screenshots or videos for lamers. How to install, what to install, how to configure, where to configure. Not all users are programmers or work with IT systems.
I know. I'm not trying to promote my project here. For sure it is less oriented for "lambda" people and it's a choice I made.
Just saying what I observe on my end. Being the fact that I don't have that issue right now, so a Twitch Api change seems unlikely.
Same problem. +50 claim bonuses have not been taken for a day already. This also does not work in the first version of Twitch-Channel-Points-Miner.
Seems like sha256Hash for ClaimCommunityPoints is the same (46aaee..3d0), but why does twitch return the integrity check error? 🤔
Status code: 200, Content: {"errors":[{"message":"failed integrity check"}],"extensions":{"challenge":{"type":"integrity"}
+1. Has been like this for 2 days. Like the others I see "failed integrity check" in the logs. Somethings I tried:
- I tried to lower the maximum number of parallel streams to 1 instead of 2 in twitch.py -> Same thing.
- Cleared the cookie and the logs and started fresh, it loaded all my streamers and tried to claim bonuses for some of them -> Same thing.
Some days ago I had that issue for a few hours and then it was gone.
That was a Twitch issue where you couldn't even claim the bonus on the website. That's not the same thing that's happening now. You can claim it manually on the site and it does show up in the script when you do.
The issue you're referring to was like 2 weeks ago and yeah the box wasn't showing up at all.
Though yesterday I had the same failed integrity check
error and it went away by it self. Lasted from 2022-13-09 00:20:00 to 02:45:00 CET.
Twitch now need "Integrity token" when you call the GraphQL API
What is "Integrity": https://github.com/mauricew/twitch-graphql-api#integrity
You can generate the token like this: https://github.com/Kappador/twitch-integrity/blob/master/index.js
Can confirm I've been hitting the same issue the past day or two. Based on the information posted above, it seems like the solution would be to update the miner to send a POST with an empty body during startup of the application to get an integrity token, and then use that on all subsequent requests?
Twitch now need "Integrity token" when you call the GraphQL API
What is "Integrity": https://github.com/mauricew/twitch-graphql-api#integrity
You can generate the token like this: https://github.com/Kappador/twitch-integrity/blob/master/index.js
how to do it? i dont get it. This prog(twitch-miner) is on python, but yours is on JS. I am not a programmer
Also it needs to be renewed regularly, so not just at startup.
Apparently, mere mortals were left without a tool. 😭
+1 to this thread, noticed last night bonuses stopped being claimed automatically.
Downloaded the files yesterday and today don't claim the rewards, maybe I brought some bad luck. Also, why is only Mining in the 2 first twitch channels? I put 3 and I'm just receiving from 2 of them.
@GMPerfectZ https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2#limits
@GMPerfectZ https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2#limits
ty. I did remember reading that.
I added a /integrity request at startup and setting the appropriate header - that didn't solve the problem. It seems that in addition to Client-Integrity
, the Client-Session-Id
, Client-Version
and X-Device-Id
headers are also needed, but where to get the values for them is not clear.
I added a /integrity request at startup and setting the appropriate header - that didn't solve the problem. It seems that in addition to
Client-Integrity
, theClient-Session-Id
,Client-Version
andX-Device-Id
headers are also needed, but where to get the values for them is not clear.
Hello @BRIGADA,
little fun fact on that side: those values can be randomly generated.
function clientSessionID() { return "xxxxxxxxxxxxxxxx".replace(/[xy]/g, (function(e) { var t = 16 * Math.random() | 0; return ("x" === e ? t : 3 & t | 8).toString(16) })) } function clientVersion() { return "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".replace(/[xy]/g, (function(e) { var t = 16 * Math.random() | 0; return ("x" === e ? t : 3 & t | 8).toString(16) })) } function xDeviceID() { return "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx".replace(/[xy]/g, (function(e) { var t = 16 * Math.random() | 0; return ("x" === e ? t : 3 & t | 8).toString(16) })) } function clientID() { return "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx".replace(/[xy]/g, (function(e) { var t = 16 * Math.random() | 0; return ("x" === e ? t : 3 & t | 8).toString(16) })) }
I added some code from my javascript to redeem the channel point rewards. With the addition of the token for the client integrity I was able to redeem the rewards again. I noticed that the same integrity token can be used multiple times.
Hope this helps everyone :)
Kind Regards
Cin3m
Feel free to test my PR #594 to fix this issue.
Cheers 🎉
anyone from developer/moderator end, can make a tutorial (if video possible) for the nerds or non coders like us to fix this docker/integrity check error so that we can claim bonus and other points.
anyone from developer/moderator end, can make a tutorial (if video) for the nerds or non coders like us to fix this docker/integrity check error so that we can claim bonus and other points.
For workaround, If you use docker-compose method:
version: "3.9"
services:
miner:
image: ghcr.io/bossoq/twitch-channel-points-miner-v2
stdin_open: true
tty: true
environment:
- TERM=xterm-256color
volumes:
- ./analytics:/usr/src/app/analytics
- ./cookies:/usr/src/app/cookies
- ./logs:/usr/src/app/logs
- ./run.py:/usr/src/app/run.py:ro
ports:
- "5000:5000"
If you use docker run method:
docker run \
-v $(pwd)/analytics:/usr/src/app/analytics \
-v $(pwd)/cookies:/usr/src/app/cookies \
-v $(pwd)/logs:/usr/src/app/logs \
-v $(pwd)/run.py:/usr/src/app/run.py:ro \
-p 5000:5000 \
ghcr.io/bossoq/twitch-channel-points-miner-v2
This will pull patched docker image from my repository.

I am non programmer newbie, thats why i am asking for tutorial. how to use use docker-compose or docker run method? I had simply downloaded and was using Twitch Channel Points Miner v2 by Tkd Alex on Windows 11, thats all. nothing i know more