18+

You must be 18+ to view this community

You must be at least eighteen years old to view this. Are you over eighteen and willing to see adult content?

 

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?

top 12 comments

sorted by: hot top controversial new old
[–] 3 points 3 years ago

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

  • source
  • [–] 3 points 3 years 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

  • source
  • [–] 2 points 3 years ago* (last edited 3 years ago) (1 child)

    Yeah. Was trying to upload image post and got error. It worked using a different image host.

    Edit: Looks like someone opened an issue ticket on github https://github.com/LemmyNet/lemmy/issues/3359

  • source
  • hideshow 2 child comments
  • [–] 2 points 3 years ago* (last edited 3 years 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.

  • source
  • [–] 1 point 3 years ago*

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

  • source
  • [–] 1 point 3 years ago
    [–] 1 point 3 years ago

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

  • source
  • [–] 1 point 3 years 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.

  • source
  • [–] 1 point 3 years ago

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

  • source
  • [–] 1 point 3 years ago

    Getting this when trying to log in on Firefox.

    No issues on Chrome.

  • source
  • [–] 0 points 3 years ago

    Yes and when trying to login in different browsers than Firefox.

  • source
  • load more comments
    view more: next ›