Invoke the callback with an error if the request object passed to an api call is invalid.
Merge pull request #21 from rrch/master

Invoke the callback with an error if the request object passed to an api...