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

  • DerpyPlayz18@vlemmy.netOP
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    1 year ago

    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

    • SuperSpaceFan@vlemmy.net
      link
      fedilink
      arrow-up
      3
      ·
      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.