I'm trying to call createOrReplaceInventoryItem. My task worked since months, but today all day I get this error (locale italian):
{ "errors": [ { "errorId": 25002, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "A user error has occurred. Manca la specifica dell'oggetto relativa alla voce Colore. Aggiungi la voce Colore a questa inserzione, inserisci un valore valido e riprova.", "parameters": [ { "name": "0", "value": "Manca la specifica dell'oggetto relativa alla voce Colore." }, { "name": "1", "value": "Manca la specifica dell'oggetto relativa alla voce Colore. Aggiungi la voce Colore a questa inserzione, inserisci un valore valido e riprova." }, { "name": "2", "value": "Colore" } ] }, { "errorId": 25002, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "A user error has occurred. Manca la specifica dell'oggetto relativa alla voce Stile. Aggiungi la voce Stile a questa inserzione, inserisci un valore valido e riprova.", "parameters": [ { "name": "0", "value": "Manca la specifica dell'oggetto relativa alla voce Stile." }, { "name": "1", "value": "Manca la specifica dell'oggetto relativa alla voce Stile. Aggiungi la voce Stile a questa inserzione, inserisci un valore valido e riprova." }, { "name": "2", "value": "Stile" } ] }, { "errorId": 25002, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "A user error has occurred. Manca la specifica dell'oggetto relativa alla voce Reparto. Aggiungi la voce Reparto a questa inserzione, inserisci un valore valido e riprova.", "parameters": [ { "name": "0", "value": "Manca la specifica dell'oggetto relativa alla voce Reparto." }, { "name": "1", "value": "Manca la specifica dell'oggetto relativa alla voce Reparto. Aggiungi la voce Reparto a questa inserzione, inserisci un valore valido e riprova." }, { "name": "2", "value": "Reparto" } ] }, { "errorId": 25002, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "A user error has occurred. Manca la specifica dell'oggetto relativa alla voce Tipo. Aggiungi la voce Tipo a questa inserzione, inserisci un valore valido e riprova.", "parameters": [ { "name": "0", "value": "Manca la specifica dell'oggetto relativa alla voce Tipo." }, { "name": "1", "value": "Manca la specifica dell'oggetto relativa alla voce Tipo. Aggiungi la voce Tipo a questa inserzione, inserisci un valore valido e riprova." }, { "name": "2", "value": "Tipo" } ] } ] }
Seems like that those aspects are required even if I already specified the variant "Taglia" (size), that is required and it is used to populate the variants of my item.
Below the payload sent to the api (that doesn't cause any error on the Api Explorer tool.
{ "availability": { "shipToLocationAvailability": { "quantity": 1 } }, "condition": "NEW", "product": { "description": "Taglia L", "imageUrls": [ "MYURL" ], "title": "MYTITLE", "ean": [ "Non applicabile" ], "aspects": { "Taglia": [ "Taglia L" ], "Colore": [ "Non specificato" ], "Reparto": [ "Uomo" ], "Stile": [ "Non specificato" ], "Tipo": [ "Non specificato" ], "MPN": [ "Non applicabile" ], "Marca": [ "- Senza marca/Generico -" ] }, "brand": "- Senza marca/Generico -", "mpn": "Non applicabile" } }
I censored my sinsible informations, but as you can see seems everything fine, on the aspects "Reparto" I've put one on the list item provided by eBay (getItemAspectsForCategory).
Please note that I got this error also without "Colore", "Reparto", "Stile" and "Tipo" aspects.
Which is the error?
Thank you
,