- This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by .
Woocommerce Sync Error
You must be logged in to reply to this topic.
When trying to sync data with woocommerce i get the following error. Not sure where to fix this?
Cannot deserialize the current JSON object (e.g. {“name”:”value”}) into type ‘WooCommerceAPI.Data.Products.ProductCategoryImage[]’ because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path ‘[0].image.id’, line 1, position 152.
This caused by invalid data from WooCommerce API. We have worked around. Please get the new version and try again. Thanks
You must be logged in to reply to this topic.