question

ale.mazzari1993 avatar image
0 Likes"
ale.mazzari1993 asked ·

createOrReplaceInventoryItem return 400 bad request in SANDBOX

Hello we are trying to develop eBay API but when we try to use createOrReplaceInventoryItem we get 400 bad request even if we are using the built in api tester. We get this error : { "errors": [ { "errorId": 2004, "domain": "ACCESS", "category": "REQUEST", "message": "Invalid request", "longMessage": "The request has errors. For help, see the documentation for this API.", "parameters": [ { "name": "reason", "value": "Could not serialize field [product.aspects]" } ] } ] } We tried to put the aspects like this : "aspects": { "Brand": [ "GoPro" ], "Type": [ "Helmet/Action" ], "Storage Type": [ "Removable" ], "Recording Definition": [ "High Definition" ], "Media Format": [ "Flash Drive (SSD)" ], "Optical Zoom": [ "10x" ] }, As the documentation explain (the example in the built in tester is wrong). The documentation is so confusing. Can somebody help us? ANYWAY ALSO FOR PUBLISH THIS QUESTION IT TOOK ME 5 TIMES BECAUSE EVERYTHING IS BROKEN. Those api and docs are terrible Thanks
createorreplaceinventoryitemapi-problems
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
lnseemore_blade avatar image
0 Likes"
lnseemore_blade answered ·
Experiencing the same issue.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.