Basic Error handling for bad requests.