Fix errors returning the request id field