Skip to Content
1
Former Member
Aug 20, 2015 at 12:52 PM

Getting Cant unmarshall input to class while calling the cart entries URI?

1712 Views

Hi,

Trying to create a cart entries for anonymous User using the following URI **https://localhost:9002/rest/v2/apparel-uk/users/anonymous/carts/6ac9e701-4dfc-485d-93bd-67b9c017c944/entries?code=12345&qty=1**

Getting the following error.

{ "errors" : [ { "message" : "Cant unmarshall input to class: de.hybris.platform.commercewebservicescommons.dto.order.OrderEntryWsDTO; nested exception is javax.xml.bind.UnmarshalException\n - with linked exception:\n[Exception [EeLink-25004] (Ee Persistence Services - 2.5.0.v20130507-3faac2b): org.ee.persistence.exceptions.XMLMarshalException\r\nException Description: An error occurred unmarshalling the document\r\nInternal Exception: NoViableAltException(-1@[])]", "type" : "HttpMessageNotReadableError" } ] }

Please help on this.

Thanks.