add the status to the error response