Skip to content

Magento 2. Uncaught SyntaxError: Expected property name or ‘}’ in JSON at position 1

I need help. In Chrome console I receive Error.
I don’t know where to look for the error and how to fix it.

Uncaught SyntaxError: Expected property name or '}' in JSON at position 1
at JSON.parse (<anonymous>)
at getData (main.js:58:24)
at Array.map (<anonymous>)
at HTMLDocument.apply (main.js:74:18)
at fire (jquery.js:3238:32)
at Object.add [as done] (jquery.js:3297:8)
at jQuery.fn.ready (jquery.js:3548:26)
at jQuery.fn.init (jquery.js:2973:11)
at new jQuery.fn.init (jquery-migrate.js:241:16)
at jQuery (jquery.js:80:11)