Skip to content
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

API Error 500 - Cannot read property 'msBeforeNext' of null (reported through Discord) #212

Closed
Sv443 opened this issue Dec 25, 2020 · 1 comment · Fixed by #214
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Sv443
Copy link
Member

Sv443 commented Dec 25, 2020

The API responds with HTTP 500 and the following JSON obj:
image

Error message: TypeError: Cannot read property 'msBeforeNext' of null
The bug reporter was using an API token.
The bug was very unpredictable, it appeared only sometimes, like when the bug reporter switched their VPN or changed between their browser, Node.js and Postman.

These URLs were used:

@Sv443 Sv443 added the bug Something isn't working label Dec 25, 2020
@Sv443 Sv443 added this to the 2.3.1 milestone Dec 25, 2020
@Sv443 Sv443 self-assigned this Dec 25, 2020
@Sv443 Sv443 linked a pull request Dec 26, 2020 that will close this issue
10 tasks
@Sv443
Copy link
Member Author

Sv443 commented Dec 28, 2020

Temporarily fixed.
Permanent fix would possibly be to remove the rate limiting headers when the client is using a valid API token.

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

Successfully merging a pull request may close this issue.

1 participant