Does Render limit the size of uploaded files?

Ive used render to host my API, when i pass through an image (using postman) thats less than 1MB I get a correct response, however when I use an image over 1MB it throws a 502 bad gateway error, any advice?

Hi James,

To the best of my knowledge we do not limit image uploads to any API you may host on Render.

From your description, it sounds to me like the request may be timing out or your service may not have enough resources.

Service logs or metrics like cpu and memory utilization might be good places to look for clues.

Don’t hesitate to reach out if none of the above helps. I’d be happy to take another look.