Skip to content

ERROR | TypeError: Cannot read properties of undefined (reading 'id') #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
XEGARE opened this issue Dec 9, 2021 · 10 comments
Closed
Labels
bug Something isn't working

Comments

@XEGARE
Copy link

XEGARE commented Dec 9, 2021

Hello. On the latest version I get:
2021-12-09 | 21:40:05.268 | INFO | Epicgames Freebies Claimer (1.5.6) by Revadike
2021-12-09 | 21:40:10.124 | ERROR | TypeError: Cannot read properties of undefined (reading 'id')
at getOfferId (F:\EpicClaimer\src\gamePromotions.js:37:30)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async F:\EpicClaimer\src\gamePromotions.js:52:18
at async Promise.all (index 0)
at async freeGamesPromotions (F:\EpicClaimer\src\gamePromotions.js:50:22)
at async F:\EpicClaimer\claimer.js:91:30

@XEGARE XEGARE added the bug Something isn't working label Dec 9, 2021
@ArmoredVortex
Copy link

Facing the same Issue

@Revadike
Copy link
Owner

Revadike commented Dec 9, 2021

Yes, I also saw this. The response structure of the free promotions API endpoint must have changed.

@Revadike
Copy link
Owner

Revadike commented Dec 9, 2021

The exact problem is that getting product info from slug godfall--challenger-edition is returning an error.

@ArmoredVortex
Copy link

I just tried to claim the game manually and it gave me a captcha to solve.
Maybe that's the cause for this ?

@Revadike
Copy link
Owner

Revadike commented Dec 9, 2021

No, it's not. I actually will be pushing a fix in a minute.

@Revadike
Copy link
Owner

Revadike commented Dec 9, 2021

Should be fixed in V1.5.7

@Revadike Revadike closed this as completed Dec 9, 2021
@ffuubarbuzz
Copy link
Contributor

@jackblk could you please release new container?

@jackblk
Copy link
Contributor

jackblk commented Dec 10, 2021

@ffuubarbuzz it was released 5 hours ago. It's having a bug with the notification, I will fix it later.
#161

@jackblk
Copy link
Contributor

jackblk commented Dec 10, 2021

@ffuubarbuzz ah by the way, if you haven't notice, the latest tag now supports apprise. You can check out the wiki, i've updated it.

Github action guide is also updated.

@zzz6839
Copy link

zzz6839 commented Apr 21, 2022

@Revadike sir, same issue happened on v1.5.8.

22-04-21 | 13:17:52.675 | INFO | Epicgames Freebies Claimer (1.5.8) by Revadike�[39m
m 2022-04-21 | 13:17:57.520 | ERROR | TypeError: Cannot read properties of undefined (reading 'id')�[39m�[22m

m at getOfferId (/app/src/gamePromotions.js:42:25)�[39m�[22m
m at processTicksAndRejections (node:internal/process/task_queues:96:5)�[39m�[22m
m at async /app/src/gamePromotions.js:59:33�[39m�[22m
m at async Promise.all (index 0)�[39m�[22m
m at async freeGamesPromotions (/app/src/gamePromotions.js:57:22)�[39m�[22m
m at async /app/claimer.js:91:30�[39m�[22m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants