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

Inventory item aspects validation mismatch

Hey everyone,
we are facing some difficulties when updating already created inventory items with eBay API. 
We did a data validation setup for all aspects on our end based on the data received with GetItemAspectsForCategory. This works perfectly fine for us when we create inventory items. All validations on eBay API side are passed and the inventory item is being created. Though once we try to update a given inventory item, the same set of aspects data would cause validation to fail.
We did some analysis and this randomly occurs on random aspects here and there.
As an example for EBAY_IT marketplace latest category tree version category 20706 (Lampadine) at least the following four aspects being left empty/null would cause an API request to fail:

  • Altezza
  • Codice forma lampadina
  • Forma lampadina
  • Valutazione IP

The error we get is for reference is "Aspect value for aspect Codice forma lampadina cannot be null or empty"

Though checking the output of GetItemAspectsForCategory for a given category we can see "Codice forma lampadina" is marked optional:

{
"localizedAspectName": "Codice forma lampadina",
"aspectConstraint": {
"aspectDataType": "STRING",
"itemToAspectCardinality": "SINGLE",
"aspectMode": "FREE_TEXT",
"aspectRequired": false,
"aspectUsage": "OPTIONAL",
"aspectEnabledForVariations": false
},
"aspectValues": [
{
"localizedValue": "2G10"
},
...
]
},

My understanding is that the aspect data provided with GetItemAspectsForCategory is out of sync with actual validation rules in place for inventory item creation. 
The problem for us is that we are planning to use hundreds of categories so those mismatches might be really hard to tackle.
So I'm wondering if anyone faced issues like that recently and if there is something we are just missing? 
Thanks in advance! 

Message 1 of 1
latest reply
0 REPLIES 0