• Hey guys, I need help with this little bit of code.

    I get an error every time I put this in the config.json file: https://pastebin.com/tv7AgZBD

    The code works perfectly fine until I add “port:” 5001 at the end of it, that’s when I get an error in the terminal window. Any idea how to fix this?

    Also, when I enter the code here: https://jsonlint.com/ to validate the code I get an error, that error is: Error: Parse error on line 8:
    …rIWTIMZX35geL6N2F” “port:” 5001}
    ———————-^
    Expecting ‘EOF’, ‘}’, ‘:’, ‘,’, ‘]’, got ‘STRING’

    Please help me out if you can, thanks in advance!

Viewing 1 replies (of 1 total)
  • Hello,

    It looks like you missed inserting a comma. Try replacing

    "pushbullet": "irrelevant number"
    "port:"	5001

    with

    "pushbullet": "irrelevant number",
    "port:"	5001
Viewing 1 replies (of 1 total)
  • The topic ‘Python config.json error help’ is closed to new replies.