Tried uploading an image I took with my phone camera into a Lemmy post, and failed.
I gotta admit that the image was indeed large (4MB). Refusing it would be reasonable. After resizing the image, it was successful.
What I found to be unreasonable was the error message. It returned a bunch of JSON garbage on the pop-up.
I ended up having to move from my phone to my computer and went on the network inspect tool just to see what’s going on (a “file too large” error).
I would suggest a clearer error message. I don’t know how this could be implemented, but it will be a deterent to a lot of people.