fail early if the error occurs at the client level