ordercloud-api / ordercloud-dotnet-catalyst

A foundational library for OrderCloud integrations and server-side projects in .NET
Apache License 2.0
9 stars 15 forks source link

Serialization error in ListAll doesn't surface correctly #34

Closed oliverheywood451 closed 3 years ago

oliverheywood451 commented 3 years ago

var allOrders = await _oc.Orders.ListAllAsync<HSOrder>(OrderDirection.Incoming);

"Error converting value "ShoppingList" to type Items[42].xp.OrderType response could not be deserialized into JSON"

This should be the primary error, not hidden in InnerException.InnerException.