If there is an error, there should be no result.
Fixing examples to work with the new RESTful endpoints.