not sure if the error is on my end, but when I try to add an icon or a banner, this error shows up

SyntaxError: Unexpected token ‘<’, “<html> <he”… is not valid JSON

How do I fix this?

4 points

Hey! At the moment, image uploads are limited to 100kb. How big are your images?

permalink
report
reply
1 point

ah that explains it, thanks!

permalink
report
parent
reply
1 point
*

I’m having a similar issue here with avatar upload, but in my case I get “Unexpected token ‘R’ Request er is not valid JSON.”

I did resize the image downwards multiple times, in JPG format. Last one I tried was 100x100 in size, 15k, and still got the same message.

I’d also like to know what the visual limits are for avatars, and visual / size limits for banners. Thanks!

EDIT: If it helps, I found this dev / admin response.

permalink
report
parent
reply
2 points
*

Hey, can you share the image that you’re trying to upload? You could e-mail it to me at <email removed>

I’d also like to know what the visual limits are for avatars, and visual / size limits for banners. Thanks!

Generally, images that are too big in dimensions should get resized automatically.

permalink
report
parent
reply
1 point

SENT!

Thank you so much, @sunaurus@lemm.ee, for looking in to this business.

permalink
report
parent
reply

Support (lemm.ee)

!support@lemm.ee

Create post

lemm.ee Support

You can make a post here if you’re looking for support with any issues!

For general discussion about lemm.ee, please post in !meta instead.

Community stats

  • 75

    Monthly active users

  • 151

    Posts

  • 783

    Comments

Community moderators