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

Anyone else getting this when trying to link an external file?

  • @nsfwmind
    link
    English
    31 year ago

    Yes I’ve been unable to post anything this week. Both Firefox on Mac and Safari on iOS.

  • @rustling_leaves
    link
    English
    31 year ago

    Use dev tools in your browser to look at the actual error message

    In my case it was because of the file size, under 1MB seems to be working

    • @FilthOP
      link
      English
      11 year ago

      Looks like a fix is mentioned in there as well just not sure if it applies to us or not.

  • b9999998
    link
    English
    2
    edit-2
    1 year ago

    For me, it seems random regardless of Opera or Firefox browser (but posting seems to work OK if I post images less than 1MB - just a guess as I haven’t really tested the limits). I usually do direct image uploads to Lemmy rather than external URL links.

    Update: 1mb file size is the limit that determines w!Heather you get the error or not.

  • Triple Underscore
    link
    English
    11 year ago

    It’s likely a caching issue considering how random it seems to be. Do a CTRL+F5 and try again.

  • Mikey Mongol A
    link
    English
    11 year ago

    I’m getting this on chrome on my Android phone, but not desktop.

  • SophisticatedButEvilCat
    link
    English
    11 year ago

    It seems to work in Chromium, and when it fucks up in chromium you can delete the data of the app (cache) or reset to default and then it seems to work again.

  • @PlushySD
    link
    English
    1
    edit-2
    1 year ago

    I was using the Vivaldi browser and got the error also. If the image is smaller than 1 megabyte, it got through tho.

  • @chavposting
    link
    English
    11 year ago

    Getting this when trying to log in on Firefox.

    No issues on Chrome.