WebAPI Response is improper when Appian environment is down

Certified Senior Developer

We have created WebAPI to expose appian data outside, Today we noticed that when Appian environment itself is down the response on calling this WebAPI is being returned in some form of HTML. Any suggestion how can we have a proper response with either timeout or response code 500 like service not available. any suggestion around handling this case.

  Discussion posts and replies are publicly visible