11
submitted 8 months ago by SharkMommy to c/main

Whenever I try to add an image either a profile picture or an icon for a community I am managing I get this error. I tried two browsers too. SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

top 2 comments
sorted by: hot top controversial new old
[-] ada 5 points 8 months ago

There is an issue with timeouts when uploading images. We haven't been able to get to the bottom of it, and our hope is that it will resolve when we upgrade. The good news is that the issue is intermittent. If you reload and try again at a different time, you may have more luck. Or if you've got another mod on the community, try and get them to upload it

[-] henfredemars@infosec.pub 2 points 8 months ago* (last edited 8 months ago)

Sounds like you are trying to parse the server response as a JSON object and that response doesn't actually contain such object. Someone may need to replicate the issue and see what is actually being returned from the server instead of the expected object.

Not a terribly helpful response I know.

this post was submitted on 06 Mar 2024
11 points (100.0% liked)

Blahaj Lemmy Meta

2322 readers
1 users here now

Blåhaj Lemmy is a Lemmy instance attached to blahaj.zone. This is a group for questions or discussions relevant to either instance.

founded 2 years ago
MODERATORS