Skip to content

Entitlements/cartOffersValidation: Request failed with status code 401 #471

@Heehes

Description

@Heehes

I am running with local node and successfully logged in, but when I paid I ran into this 401 issue
I found a history problem [401 on checkout #417]
, and try it the way it says in the comments. I manually browser logged into Epic and didn't encounter the End User License Agreement. Here is my config and my legal documents

error msg:
ERROR: Entitlements/cartOffersValidation: Request failed with status code 401
user: "1824849091@qq.com"
err: {
"type": "Error",
"message": "Entitlements/cartOffersValidation: Request failed with status code 401",
"stack":
Error: Entitlements/cartOffersValidation: Request failed with status code 401
at PuppetFreeGames.canPurchase (/Users/beifeng/Documents/Uspring/epicgames-freegames-node/src/puppet/free-games.ts:265:13)
at async Promise.all (index 0)
at PuppetFreeGames.getPurchasableFreeGames (/Users/beifeng/Documents/Uspring/epicgames-freegames-node/src/puppet/free-games.ts:281:28)
at PuppetFreeGames.getAllFreeGames (/Users/beifeng/Documents/Uspring/epicgames-freegames-node/src/puppet/free-games.ts:408:30)
at redeemAccount (/Users/beifeng/Documents/Uspring/epicgames-freegames-node/src/index.ts:60:20)
at file:///Users/beifeng/Documents/Uspring/epicgames-freegames-node/node_modules/p-queue/dist/index.js:187:36
}

config.json:
{
"runOnStartup": true,
"cronSchedule": "0 0,6,12,18 * * ",
"logLevel": "info",
"webPortalConfig": {
"baseUrl": "http://localhost:3000"
},
"accounts": [
{
"email": "1824849091@qq.com"
}
],
"accountConcurrency": 1,
"intervalTime": 60,
"notifiers": [
{
"type": "email",
"smtpHost": "smtp.qq.com",
"smtpPort": 587,
"emailSenderAddress": "387635009@qq.com",
"emailSenderName": "Epic Games Captchas",
"emailRecipientAddress": "1824849091@qq.com",
"secure": false,
"auth": {
"user": "387635009@qq.com",
"pass": "
*****"
}
}
]
}

legal documents:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions