503 error gets converted to 500 by API gateway

Hi Team,

when my provider service is returning 503 (Service Unavailable), the API gateway is wrapping it and returning a 500 error instead. Can you help with this and let me know what am I missing?

FYI: for fixing the same issue for 40x errors we did: Send Native Provider Fault Message = True

Thanks,
Ali

Hi,

you could check your extended settings in the Administrator dashboard if you were able to set
watt.net.http401.throwException=false
watt.net.http501-599.throwException=false.

This helped me in my case.

Hi Mark,

your solution worked for me aslo :slight_smile:

Thanks,
Ali