I've just noticed that my API queries are failing in JSON parsing, because of API Site shows offline HTML Page.
I wish it would return a valid JSON response, instead of HTML Page.
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.
Sign up to join this communityI've just noticed that my API queries are failing in JSON parsing, because of API Site shows offline HTML Page.
I wish it would return a valid JSON response, instead of HTML Page.
While this would indeed be ideal for planned outages, your code and/or libraries & dependencies should be able to handle this elegantly, lest you get bitten by the unplanned outages.