# Sharp Throwing 502 Bad Gateway Errors When Running In Production

**URL:** <https://answers.netlify.com/t/sharp-throwing-502-bad-gateway-errors-when-running-in-production/118984>\
**Category:** Support\
**Tags:** deployment, building, netlify-newbie\
**Created:** [May 22, 2024, 7:23am UTC](https://answers.netlify.com/t/sharp-throwing-502-bad-gateway-errors-when-running-in-production/118984 "2024-05-22T07:23:12Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [May 25, 2024, 3:46pm UTC](https://answers.netlify.com/t/sharp-throwing-502-bad-gateway-errors-when-running-in-production/118984/8 "2024-05-25T15:46:42Z")

</div>

This appears to work for me: [hrishikesh-k/f-118984 (github.com)](https://github.com/hrishikesh-k/f-118984)  
Site: [f-118984.netlify.app/.netlify/functions/sharp](https://f-118984.netlify.app/.netlify/functions/sharp)

---

_[View the full topic](https://answers.netlify.com/t/sharp-throwing-502-bad-gateway-errors-when-running-in-production/118984)._
