question

minskog avatar image
0 Likes"
minskog asked

Error code 415 (internal error)

When we do a put request to inventory_item returns a 415 internal error code. This auth token have access to all scopes. Put petition is: https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/CC006-test1 The response is: "errors":[{"errorId":2003,"domain":"ACCESS","category":"APPLICATION","message":"Internal error","longMessage":"There was a problem with an eBay internal system or process. Contact eBay developer support for assistance","parameters":[{"name":"code","value":"415"}]}]} That error code have not a definition on error messages list: http://developer.ebay.com/devzone/rest/ebay-rest/content/error-messages.html
error
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.

minskog avatar image
0 Likes"
minskog answered
We was using user token then. Now we are using old api and works without problem in production. Thank you anyway :)
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.

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered
Hi minskog, Just wanted to make sure. ["Create Inventory Item"][1] APIrequires "a user access token" not application token. Can you double check? If you are still running into the "Internal Error', can you provide the rlogid http response header for the same? [1]: http://developer.ebay.com/devzone/rest/api-ref/inventory/inventory_item-sku__put.html Best Regards,
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.

treefortbikes avatar image
1 Like"
treefortbikes answered
For us it was a simple mistake of sending the wrong content-type header. We were sending form encoded when it should have been application/json
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.