question

newtrendbeautysupply avatar image
0 Likes"
newtrendbeautysupply asked ·

During publishOffer i am getting error A user error has occurred. No exists or is specified as an empty tag in the request

"errors": [

{

"errorId": 25002,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "A user error has occurred. No <Item.Country> exists or <Item.Country> is specified as an empty tag in the request.",

"parameters": [

{

"name": "0",

"value": "Item.Country"

}

]

}

]

inventory apipublishoffer
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.

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @adonialtd,

Thank you very much for your response. Other members of forum community answer the posts too.

Other members of eBay Developer Support team answers the post too. I review the forum posts very frequently so that I can help developer community and share the information in best possible way.

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.

adonialtd avatar image
0 Likes"
adonialtd answered ·

@sagar_developersupport


Thank you very much Sagar, it works very well now.

I finally managed to make my automatic "sell" script works.


Thank for your help again

Question: Are you only the one to answer to all questions in this forum?


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.

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @newtrendbeautysupply ,

When you create a offer by createOffer call, you can provide only some information with the initial createOffer call, and then make one or more subsequent updateOffer calls to complete the offer and prepare to publish the offer. Upon first creating an offer, the following fields are required in the request payload:
- sku
- marketplaceId
- Listing format. Other information that will be required before an offer can be published are mentioned below.
- Inventory location
- Offer price
- Available quantity
- eBay listing category
- Referenced listing policy profiles to set payment, return, and fulfillment values/settingsFor error "A user error has occurred. No <Item.Country> exists or <Item.Country> is specified as an empty tag in the request."
- Please make updateOffer call and specify the merchantLocationKey in the request and update the offer. After updating the offer, please try to publish the offer again .


Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/updateOffer#request.merchantLocationKey

If you have not created any merchantLocationKey, please make CreateInventoryLocation call and create a new inventory location. After creating a inventory location you can use that inventory location while creating or updating a offer.


Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/createInventoryLocation

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.

adonialtd avatar image
0 Likes"
adonialtd answered ·

Same for me, I asked the same question a couple of days before, waiting for an answer.

Compared to others RestFul API, I still don't understand why it is so hard to use eBay API :(

·
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.