qlaffont/fortnite-api

Unhandled promise rejection error

MadLeaker opened this issue · 3 comments

I am getting this problem when i run my program, i used the fortnite api correctly but idk why it does that error
image

its happening on the login method of the api

Can you give your code please ?

@qlaffont I'm having the same issue. Unfortunately I tried to pull too many stats from the server and generated too many sessions. Happened already sometimes, I changed the password and was able to login again, not this time.

So I was having the same error message as on the screen above and so I checked the coding of the login function. I added a catch block for the "return new promise" to get more details.

that's my result. Complete log is around 4 "pages" in terminal.

message: 'Please enter good token',
err:
{ StatusCodeError: 429 - {"errorCode":"errors.com.epicgames.common.throttled","errorMessage":"Operation access is limited by throttling policy, please try again in 6798 second(s).","messageVars":["6798"],"numericErrorCode":1041,"originatingService":"com.epicgames.account.public","intent":"prod"}