Better handling for bad server requests