Skip to content
Advertisement

SyntaxError: /home/container/config.json: Unexpected token } in JSON at position 2769

Im getting this SyntaxError: /home/container/config.json: Unexpected token } in JSON at position 2769 error,

here’s my config.json

JavaScript

Can someone please help me fix this I am pretty sure I am supposed to add a : but i dont know how to fix this syntax error I dont understand what is wrong,

using node v16

Advertisement

Answer

You can use any online JSON validator, like this one. It’s output for your JSON: enter image description here

So here is the fixed one:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement