EatTheBlocks Forum

Day 5 JSON error

SyntaxError: Unexpected number in JSON at position 112
at JSON.parse (<anonymous>)

I get this error when I try to enter the truffle console to deploy the smart contracts on ropsten.

Is the error due to my JSON being formatted incorrectly ?

{
    "seed":"example seed phrase here burger water blockchain cardano sky turtle surfer ",
   "projectId": '8484838338383483996f3b4ceb2722'

}

Replace the single quotes by double quotes in the value field of projectId

thank you ! this worked for anyone else having this issue use jsonlint.com that also helped.

1 Like