A SyntaxError with JSON.parse occurs when trying to change my avatar and when trying to upload a image to a new post.

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

  • almost certainly a byproduct of updating and hopefully a quick fix, but we can’t get to this until tomorrow at earliest because this has already been such a clusterfuck. in the mean time you’ll have to work around it or hang with it

    • It worked perfect for avatars, but when posting it seemed to not like the particular PNG image I was trying to upload. It gave me a syntax error when I tried. I tried with random other pictures on my computer and they worked. It was a 15 MB picture though. I converted it to a smaller PNG (2 mb) and it immediately worked. I don’t know if I missed something about file size and that’s why it didn’t work?

      Thank you so much for your help!!!

    • I’ve tried PNG mainly but it seems to happen with JPGs too, at least when uploading my avatar.

      The error when trying to uplaod an avatar now says: {"data":{"msg":"Provided process path is invalid","files":null},"state":"success"}

      ETA: The error is still the SyntaxError (SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data) when trying to upload an image to a post.

      ETA2: Okay the errors seem to differ each time I try uploading. I realized that I could’ve been uploading images wrong and I decided to try using the image button in the body of the post, but sometimes the error won’t show up at all but the image wasn’t added.

      • Thanks for the added details, it helps. I’m seeing the same differing errors/issues for any image uploads. Even after entirely removing our cache from the path, it’s still failing. Still looking into it and trying to focus on locating where it’s failing.