Changed the service call to comply with new structure.
A small fix to error handling in client.