Added original request into returned error code