Updated http response to hide tabs on error