Jump to content

bot error Unexpected token

Closed 2.1.2

PureJaguar
PureJaguar

Posted

Hi
Seems we are now getting this error from the bot. Bot starts up with no issues until a player tries to link their account, and we get this with the bot

SyntaxError: Unexpected token < in JSON at position 0
06-08 15:51:01     at JSON.parse (<anonymous>)
06-08 15:51:01     at /home/container/DiscordLink/src/linkingHandler.js:677:30
06-08 15:51:01     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

PureJaguar

Posted

Hi 
I managed to fix this by adding applications.command  within the bot itself
image.png.3d8df437ba827b389594e0b4bc12b2f9.png

shady14u

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
159.4k
Total sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.