0

I'm novice in javascript and iI don't understand this error.

 VM1274:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
  • 1
    can you include the JSON that your code is trying to parse? – feihcsim Apr 14 '20 at 00:14
  • It means the JSON you are trying to parse is not valid – Smokey Dawson Apr 14 '20 at 00:15
  • 1
    Most likely, a property name or value in your json has not been enclosed in double quotes. But we need the JSON to figure out the actual error. – collapsar Apr 14 '20 at 00:15
  • 1
    Does this answer your question? [SyntaxError: Unexpected token o in JSON at position 1](https://stackoverflow.com/questions/38380462/syntaxerror-unexpected-token-o-in-json-at-position-1) – George Pant Apr 14 '20 at 00:19

0 Answers0