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

Unknown errors from the inventory API's "createInventoryLocation" method

Attempting to write a connector to eBay's inventory API, I'm using the API explorer to test out some method calls in the sandbox environment.  The example request for the "createInventoryLocation" call seems to error out with a 400 code, despite all attempts to correct the body and merchantLocationKey parameter.  The error message is particularly (some would say aggressively) useless in this case - included below for clarity:

 

```

{
"errors": [
{
"errorId": 25802,
"domain": "API_INVENTORY",
"category": "REQUEST",
"message": "errorDetails(20400/Invalid request.)"
}
]
}

```

 

Note that this is with the default example request body in the API explorer.  Nothing has been changed except several attempts at unique merchantLocationKeys - there are no inventory locations in our sandbox environment anyway, so I would expect any string shorter than 36 characters (as per the documentation) to work.  Additionally, I would expect any errors from that field to be relayed in the error message response.

 

Does anyone have any experience with this endpoint, or could shed any light on this bug?

Message 1 of 23
latest reply
22 REPLIES 22

Re: Unknown errors from the inventory API's "createInventoryLocation" method

Hi, is eBay going to do something about this?

Message 16 of 23
latest reply

Re: Unknown errors from the inventory API's "createInventoryLocation" method

I have brought attention to this issue via the regular eBay chat support. They claim they will forward the issue to their technical team to check and resolve. I would encourage anyone else facing this issue to do the same or this will sit for months like other API issues I've come across in the past.

Message 17 of 23
latest reply

Re: Unknown errors from the inventory API's "createInventoryLocation" method

Having the same issue.  Has this been fixed?

Message 18 of 23
latest reply

Re: Unknown errors from the inventory API's "createInventoryLocation" method

I also got the same error but I'm not sure if the eBay dev team supports on this community actually.
How can I get their technical support from eBay?
it is very difficult.

anyone can help me with this issue asap?

Message 19 of 23
latest reply

Re: Unknown errors from the inventory API's "createInventoryLocation" method

The last post to this thread by eBay dev team member was 48 days ago.

Apparently, they do not support this community.

Are they more response via email? Some other way?

Message 20 of 23
latest reply

Re: Unknown errors from the inventory API's "createInventoryLocation" method

As far as I'm aware, the only way to get official technical support from eBay is to buy service hours at $75 per hour.  Seems pretty scummy to me, so I guess without someone ponying up that cash to maybe force a resolution, we're just stuck with a broken API and some dismissive person on the developer_support@ebay account telling us our eyes are wrong, it's not really a problem, and then dropping the issue forever.

Message 21 of 23
latest reply

Re: Unknown errors from the inventory API's "createInventoryLocation" method

Hi @davick-39 @goobledy @goaf9405 @shoezau 

 

Create and manage inventory location API calls like createInventoryLocation, updateInventoryLocation are working fine on the Sandbox environment and you should be able to create/manage the inventory locations  in the Sandbox. 

Best Regards,
eBay Developer Support
Message 22 of 23
latest reply

Re: Unknown errors from the inventory API's "createInventoryLocation" method

I have same issue in 2025. i wasted a day and find out this issue now... all API work well except this..

Message 23 of 23
latest reply