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

Support

3 readers
1 users here now

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

founded 1 year 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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 1 year ago* (last edited 1 year 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 1 year ago

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

[โ€“] [email protected] 3 points 1 year ago

Didn't work for me either. I got my jpeg down to less than 6KB, and I get rhe same error messages described by OP, multiple browsers. Same avatar loads just fine in KBin though.