this post was submitted on 01 Jul 2023
11 points (100.0% liked)

Support

4 readers
1 users here now

Community for all your questions and help relating to Lemmy, VLemmy (this instance), or the Fediverse in general.

founded 2 years ago
MODERATORS
 

If I try to add an avatar to my profile I get this error on Firefox:

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

And I get this error on chromium based browsers:

SyntaxError: Unexpected token 'R', "Request er"... is not valid JSON

top 5 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 5 points 2 years ago* (last edited 2 years ago) (2 children)

It started to work after shrinking my picture (a png) to 1024x1024, yesterday it didn't work but now it does, so, for anyone having this issue, try again and make sure the image isn't too big

[โ€“] [email protected] 5 points 2 years ago

It still doesn't work for me. The image is PNG, 74KB, 576x576 ๐Ÿคท.

[โ€“] [email protected] 3 points 2 years ago

I'm getting the same issue. Lemmy is pretty new and still under active development, so expect some bugs to occur.

[โ€“] [email protected] 3 points 2 years ago

I struggle with the same problem. Can't upload image anyhow, avatar, community icon or banner, post. I've read on megathread that this issue is resolved but I does not work for me. Tried on apps and different browsers.