Closed lauraluiz closed 10 years ago
A request like this:
Optional<Customer> customerOpt = sphere.client().customers().byId("customerID").fetch();
Returns Optional, and yet when I request a non-existent customer, this happens:
[error] sphere - Can't parse backend response: [404] Request: GET https://api-v1.sphere.io/project/customers/customerID
Therefore raising an SphereException.
The same happens for the cart and product endpoint.
I am currently investigating this issue and I can confirm, that for the customers it does occur. I already have a guess what's wrong.
Fixed in https://github.com/commercetools/sphere-play-sdk/releases/tag/v0.60.0
A request like this:
Returns Optional, and yet when I request a non-existent customer, this happens:
Therefore raising an SphereException.
The same happens for the cart and product endpoint.