this post was submitted on 26 May 2024
17 points (100.0% liked)

3DPrinting

15591 readers
62 users here now

3DPrinting is a place where makers of all skill levels and walks of life can learn about and discuss 3D printing and development of 3D printed parts and devices.

The r/functionalprint community is now located at: [email protected] or [email protected]

There are CAD communities available at: [email protected] or [email protected]

Rules

If you need an easy way to host pictures, https://catbox.moe may be an option. Be ethical about what you post and donate if you are able or use this a lot. It is just an individual hosting content, not a company. The image embedding syntax for Lemmy is ![](URL)

Moderation policy: Light, mostly invisible

founded 1 year ago
MODERATORS
 

As the titles says, I tried to post a 2.2mb image and get a 413 error. Any help?

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 5 months ago (1 children)

413 Payload Too Large The request is larger than the server is willing or able to process. Previously called "Request Entity Too Large".[16]: §10.4.14 

https://en.m.wikipedia.org/wiki/List_of_HTTP_status_codes

[–] [email protected] 2 points 5 months ago (2 children)

Right but a 2.2mb picture? How small does it need to be.

[–] [email protected] 5 points 5 months ago

I don't know. It hasn't been working most of the time and as far as I know, most of us use a third party like catbox.moe. 2.2 is a lot for forever storage given the big picture. Converting to a webp or downsizing/cropping is usually possible. Someone has to pay for the hosting service. catbox is just another human, as are these instances. Best practice is to leave as little of a footprint as possible.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago) (1 children)

Someone pointed out to me the other day it can be adjusted by the instance you're uploading to and it's incredibly small by default.

Where are you trying to upload the image? Cuz another thing I wonder may be happening is if you're trying to upload to Lemmy.world from your Lemmy.ml account since Lemmy.World defederated from Lemmy.ml it might just block anything you try to upload. Unless they reversed that? You're able to post this here so idk.

[–] [email protected] 1 points 5 months ago

Lemmy.ml is on the linked instances list as federated? https://lemmy.world/instances

[–] [email protected] 3 points 5 months ago

If that doesn't work out, upload to a 3rd party, like catbox.moe and post a link instead.