Opencart syntax error JSON.parse unexpected end of data at line 1 column 1 of the JSON data-[SOLVED]

Hi all,

After upgrading Shop.wayanad.co.in from Opencart 1.5.6.4 to 2.0.1.1, I found lot of errors/bugs which needs minor changes in config files, vqmod re-install etc. and was fixed.

But an error which stalled me from editing/updating orders killed my time a lot. It was “syntax error JSON.parse unexpected end of data at line 1 column 1 of the JSON data”

After googling and wandering opencart forums, i found the post http://www.viethemes.com/how-to-fix-error-syntaxerror-unexpected-end-of-input-ok-when-editing-order-in-opencart-2/ which helped me to fix this error.

  • I added an API user with username “admin”
  • Generated a password.
  • Went to Store settings and selected the API user as “admin”
  • Like?
    Read More