Incorrect WebScript error template for the given request content type is sometimes returned.
Depending on the exception thrown in the repo, sometimes the incorrect type of WebScript status template is returned. I.e. if a GET request is made with the content type of application/json then the .json error status template should be used. On some occasions it is not - instead the default .html status template is used - this causes the client error handling (expecting json!) to fail and masses of exceptions to appear on the client console/user browser.