GQL error: [{'message': 'PersistedQueryNotFound'}]
LeaLangley opened this issue · 4 comments
LeaLangley commented
Version: 9768635
20:24:56: Fatal error encountered:
20:24:56:
20:24:56: Traceback (most recent call last):
20:24:56: File "main.py", line 153, in main
20:24:56: File "twitch.py", line 570, in run
20:24:56: File "twitch.py", line 620, in _run
20:24:56: File "twitch.py", line 1428, in fetch_inventory
20:24:56: File "asyncio\tasks.py", line 571, in _wait_for_one
20:24:56: File "twitch.py", line 1383, in fetch_campaigns
20:24:56: File "twitch.py", line 1350, in gql_request
20:24:56: exceptions.MinerException: GQL error: [{'message': 'PersistedQueryNotFound'}]
gibbed commented
I commented over in Windows200000#154 (comment) too.
Looking at the request from the miner vs Twitch itself, it looks like the sha256Hash
for the DropCampaignDetails
persisted query has changed:
Old:
{"persistedQuery":{"version":1,"sha256Hash":"e5916665a37150808f8ad053ed6394b225d5504d175c7c0b01b9a89634c57136"}}
New:
{"persistedQuery":{"version":1,"sha256Hash":"e7acdecb05429a62f5984bdcb27ee938ae20543579bf73c3ae44e7c822bc4f54"}}
Windows200000 commented
yup, the new one is e7acdecb05429a62f5984bdcb27ee938ae20543579bf73c3ae44e7c822bc4f54
you can change it in constants.py
if you search DropCampaignDetails
hifocus commented
Can confirm this resolves #138 (comment)