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?

  • b9999998@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.

  • rustling_leaves@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 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