# API photo upload returns 500 error from Multer

**URL:** <https://forum.inaturalist.org/t/api-photo-upload-returns-500-error-from-multer/17306>\
**Category:** Bug Reports\
**Tags:** api\
**Created:** [October 15, 2020, 8:17pm UTC](https://forum.inaturalist.org/t/api-photo-upload-returns-500-error-from-multer/17306 "2020-10-15T20:17:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danaleeling](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/danaleeling/32/1378_2.png) [@danaleeling](https://forum.inaturalist.org/u/danaleeling)\
**Post date:** [October 15, 2020, 8:35pm UTC](https://forum.inaturalist.org/t/api-photo-upload-returns-500-error-from-multer/17306/2 "2020-10-15T20:35:20Z")

</div>

Welcome to the community! Is this perhaps related to the 2048 edge length limit on a photo - perhaps the API endpoint does not trigger the required resizing? See also:  
[https://forum.inaturalist.org/t/increase-max-image-size-from-2048-x-2048-pixels/13627](https://forum.inaturalist.org/t/increase-max-image-size-from-2048-x-2048-pixels/13627)

---

_[View the full topic](https://forum.inaturalist.org/t/api-photo-upload-returns-500-error-from-multer/17306)._
