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

SyntaxError: Unexpected token < in JSON at position 0 #277

Open
bgv2 opened this issue Jun 7, 2022 · 0 comments
Open

SyntaxError: Unexpected token < in JSON at position 0 #277

bgv2 opened this issue Jun 7, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@bgv2
Copy link
Member

bgv2 commented Jun 7, 2022

This seems to appear every time the bot starts

SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (/app/node_modules/leagueapiwrapper/LeagueAPI/HttpsCaller.js:15:31)
    at IncomingMessage.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Probably a problem with the LeagueAPIWrapper library or QB's league code, since removing the league key and disabling the league features solves this issue

@bgv2 bgv2 added bug Something isn't working help wanted Extra attention is needed labels Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant