06-13-2024 01:04 AM
I am done with creating SKUs and their inventory group successfully. Further, I went ahead and created an offer but when I am publishing it, it throws the following error -
No <Item.Country> exists or <Item.Country> is specified as an empty tag in the request
After reading multiple articles over eBay and the internet, I found that it is required to set the "merchantLocationKey" to publish the offer as it is a required field. Again, I went ahead and used the "createInventoryLocation" API to create a location but it is not letting me and throwing the following error -
{
"errors": [
{
"errorId": 25802,
"domain": "API_INVENTORY",
"category": "REQUEST",
"message": "Input error. cannot be null or empty",
"parameters": [
{
"name": "fieldName",
"value": ""
},
{
"name": "additionalInfo",
"value": " cannot be null or empty"
}]
}]
}
It has been 2 days since I am finding the solution of the same but no luck. Please help me to resolve this issue so that I can create and publish an offer on eBay.
06-13-2024 01:52 AM - edited 06-13-2024 01:52 AM
Could you share your Payload here?
This is mine and working
Post: https://api.ebay.com/sell/inventory/v1/location/au_qld
{
"location": {
"address": {
"country": "AU",
"city": "Brisbane"
}
},
"locationTypes": [
"WAREHOUSE"
],
"merchantLocationKey": "au_qld",
"merchantLocationStatus": "ENABLED"
}
06-13-2024 02:49 AM
Please find the Payload below which is not working -
Request URI - https://api.sandbox.ebay.com/sell/inventory/v1/location/ship1
My Payload is -
{
"location": {
"address": {
"country": "US",
"city": "Florida"
}
},
"locationTypes": [
"WAREHOUSE"
],
"merchantLocationKey": "ship1",
"merchantLocationStatus": "ENABLED"
}
06-13-2024 04:32 AM
If you are trying to sandbox, things would be different. Try on production If possible.
06-13-2024 05:25 AM
Thanks for the suggestion. However, it should work on Sandbox so that we can move forward.
Is there any help if you can provide to make it work on sandbox?
06-13-2024 08:09 AM
Facing same issue, looking for a solution!
06-13-2024 03:43 PM
When I worked on sandbox, I noticed many weird issues. A payload which does not work in sandbox, actually does work in production, so I skipped sandbox and jumped onto production and saved lot of time and headache. Your choice.
06-18-2024 08:49 AM
Getting the same error, tested provided payloads that seem to work for others, but doesn't work for me.