Error paginating catalog data: PersistedQueryNotFound
See original GitHub issueScreenshots or Logs
[2021-12-19 22:09:26.043 +0100] INFO : Checking free games for user@example.com
[2021-12-19 22:09:33.698 +0100] INFO : Successfully refreshed login
user: "user@example.com"
[2021-12-19 22:09:33.698 +0100] INFO : searchStrategy is `all`: searching for weekly and promotional games
user: "user@example.com"
[2021-12-19 22:09:34.627 +0100] ERROR: Error paginating catalog data: {"errors":[{"message":"PersistedQueryNotFound","correlationId":"","serviceResponse":"{\"errorStatus\":500}","stack":null}]}
Error: Error paginating catalog data: {"errors":[{"message":"PersistedQueryNotFound","correlationId":"","serviceResponse":"{\"errorStatus\":500}","stack":null}]}
at Object.transform (/usr/app/src/free-games.ts:82:21)
at paginateEach (/usr/app/node_modules/got/dist/source/create.js:180:45)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at AsyncGeneratorFunction.got.paginate.all (/usr/app/node_modules/got/dist/source/create.js:213:26)
at FreeGames.getCatalogFreeGames (/usr/app/src/free-games.ts:67:19)
at FreeGames.getAllFreeGames (/usr/app/src/free-games.ts:311:13)
at redeemAccount (/usr/app/src/index.ts:25:20)
at async Promise.all (index 4)
at main (/usr/app/src/index.ts:65:5)
[2021-12-19 22:09:34.661 +0100] WARN : Current version
COMMIT_SHA: "ee66418b159c1e79b5d81321101b4a22746844bf"
BRANCH: "master"
DISTRO: "alpine"
Additional context Happens in about 1/10 cases, restart fixes the problem. Not sure what causes it, maybe a retry is the only workaround.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Persisted Queries Link - Apollo GraphQL Docs
Problem to solve. Unlike REST APIs that use a fixed URL to load data, GraphQL provides a rich query language that can be...
Read more >Automatic persisted query in Apollo Client and Server is ...
The error message must be PersistedQueryNotFound . For some reason it uses the message instead of the unique PERSISTED_QUERY_NOT_FOUND error ...
Read more >Automatic persisted query in Apollo Client and Server is ...
Automatic persisted query in Apollo Client and Server is not working getting PERSISTED_QUERY_NOT_FOUND error · Ask Question.
Read more >Headless Server Manual
If the query is not known to the server, it answers with a PersistedQueryNotFound error. The client then reissues the request, this time...
Read more >Apollo Server Express | Part 10 | BONUS!!! Adding Pagination ...
apollo #apollo-server-express #nodejs #curdDo Consider Joining our patron page for special and on-demand lectures and solutions, to keep us ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The COMMIT_SHA is baked into the container to track versioning. That commit is from December 2021, so very old. You shouldn’t need to update that variable manually at all, as it doesn’t functionally change anything.
@caxelair I can’t tell for sure, but it’s likely your container is just out of date. You’ll need to
docker pull <image tag>
every once and a while to keep things up to date. There are also solutions like Watchtower or Portainer that can manage updating containers for you.