all errors are now sent as the headers