error uncaught syntaxerror unexpected token o in json at position 1 code example Example: "SyntaxError: Unexpected token o in JSON at position 1 var newData = JSON.stringify(userData)