cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Proper type for "aspects" field in sell/inventory/types/slr:Product

Currently, the "aspects" field in Product (https://developer.ebay.com/api-docs/sell/inventory/types/slr:Product) is a "string". However, it is a "Key/Value" pair and this is also shown in the example.

 

Our library is using types that are generated from OAS. We have to "ignore" the error because it's not properly typed. 

 

Thank you in advance. 

Message 1 of 2
latest reply
1 REPLY 1

Proper type for "aspects" field in sell/inventory/types/slr:Product

We are also experiencing this same issue causing a deserialization error when:

 

java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 227 path $.inventoryItems[0].product.aspects

 

It would be great if ebay would fix this so that we could use the generated code rather than having to write the method ourselves.  

 

Selection_400.png

Message 2 of 2
latest reply