question

sirasystems12 avatar image
0 Likes"
sirasystems12 asked ·

CreateOrReplaceInventoryItem Completely Broken in Production

The CreateOrReplaceInventoryItem in production fails with any request sent to it. Alll requests, including the sample request all fail. Requests that used to be successful are all now failing. The exact same request to sandbox works, but fails in production. All requests have the same error response message:
A user error has occurred. Invalid <ShippingPackage>. There is no way to submit or post a bug report to ebay devs, so hopefully someone will see this and respond.
errorbugbug reportcreateorreplaceinventoryitem
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.

ankit_developersupport avatar image
0 Likes"
ankit_developersupport answered ·
Hi @sirasystems12, Could you please provide us the RlogID to triage the issue? Best Regards, eBay Developer Support
·
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.

sirasystems12 avatar image
0 Likes"
sirasystems12 answered ·
The rlogid is: t6pitnmsgwj70%3D9iptpitnmsgwj70*agltn%28rbpv6762-174210b0278-0x2001
·
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.

eram_developersupport avatar image
0 Likes"
eram_developersupport answered ·
Hi @sirasystems12, Invalid error is caused because the Shipping Package Type is not valid for one or more eBay Shipping Service(s) selected. Please make sure you are using a valid Shipping Package Type for the marketplace. You can use the getEbayDetails API call to fetch the list of valid package types. REF: https://developer.ebay.com/devzone/xml/docs/reference/ebay/GeteBayDetails.html Regards, eBay Developers Support
·
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.

sirasystems12 avatar image
0 Likes"
sirasystems12 answered ·
The package type is correct. It is **MAILING_BOX** as listed PackageTypeEnum here:
[ https://developer.ebay.com/api-docs/sell/inventory/types/slr:PackageTypeEnum][1] Calling the createOrReplaceInventoryItem in the inventory REST API as outlined here:
[ lhttps://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem][2] We are using the REST API, not he legacy SOAP API. **The API is defective and does not work.** Here are the facts: 1. Have been using the same request for years with no changes, but it stopped working in last few weeks. 2. The same request works in Sandbox but not in production. 3. The provided sample request also fails in production. 4. Verified package type of MAILING_BOX is valid. [1]: https://developer.ebay.com/api-docs/sell/inventory/types/slr:PackageTypeEnum [2]: https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem Whatever changes were made to this API with the last month or so broke it, and now all calls fail to it in production. Sandbox works fine.
·
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.