Anyone else getting a JSON Error trying to post?

3 years ago by Filth to c/asklemmynsfw

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 3 points 3 years ago

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

path: 0 607166, hotness: undefined, score: 3, children: 0
rustling_leaves 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

path: 0 645452, hotness: undefined, score: 3, children: 0
b9999998 2 points 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.

path: 0 549816, hotness: undefined, score: 2, children: 0
mr_nswf 2 points 3 years ago

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

path: 0 531081, hotness: undefined, score: 2, children: 0
snowportal 2 points 3 years ago path: 0 553228, hotness: undefined, score: 2, children: 1
Filth 1 point 3 years ago

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

path: 0 553228 560080, hotness: undefined, score: 1, children: 0
___ 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.

path: 0 554604, hotness: undefined, score: 1, children: 0
MikeyMongol 1 point 3 years ago

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

path: 0 551897, hotness: undefined, score: 1, children: 0
PlushySD 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.

path: 0 554171, hotness: undefined, score: 1, children: 0
chavposting 1 point 3 years ago

Getting this when trying to log in on Firefox.

No issues on Chrome.

path: 0 552602, hotness: undefined, score: 1, children: 0
scabrous_leper 1 point 3 years ago

YEP

path: 0 556806, hotness: undefined, score: 1, children: 0
mr_nswf 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.

path: 0 542756, hotness: undefined, score: 1, children: 0
asklemmynsfw

@lemmynsfw.com

login for more options
7901
1048
4

Think /r/AskLemmy but way more NSFW.

Treat this community like a cross between /c/AskLemmy, /c/Sex, and /c/Fetishes.

RULES:

  • All posts must be in the form of a question and be largely NSFW.

  • Only text posts are allowed. Links can be posted if they are very relevant.

  • No images, videos, or embedded media in posts.

  • This is not a place for hookups, chat requests, AMAs.

POST GUIDELINES:

  • Try to avoid questions that can simply be googled or have yes/no answers.

  • Search before you post. Your question may have been asked before.

  • If you ask medical/physical questions don't always trust the comments here.

COMMENT GUIDELINES:

  • Avoid low-effort comments. Lone images, memes, jokes etc.

  • Treat all questions as if they're real, no matter how ridiculous.

  • Follow site rules with all reponses to avoid downvotes & removal.

go to feed...