fixed a bug in rawRequest method.  On a 422 (validation) error, it would hit an undefined property of result.  Instead it should be looking from response on line 1297