question

xinzh_2198 avatar image
0 Likes"
xinzh_2198 asked ·

A user error has occurred. Your application encountered an error.

Hello,


I am using the new API to publish items, but it always report an error when I request the publishOfferByInventoryItemGroup interface. What's the meaning of this?


response header:

HTTP/1.1 400 Bad Request

x-ebay-c-request-id: ri=a2UwnUYZ1L4c,rci=6166fc508799e3e3

rlogid: t6pitnmsgwj70%3D9vjdpitnmsgwj70*5mpk%3B%28rbpv6770-179d6489c98-0x2368

x-ebay-c-version: 1.0.0

x-ebay-client-tls-version: TLSv1.2

content-type: application/json

content-length: 330

date: Fri, 04 Jun 2021 09:09:13 GMT

server: ebay-proxy-server

x-envoy-upstream-service-time: 279

x-ebay-pop-id: UFES2-LVSAZ01-api

response body:

{

"errors": [

{

"errorId": 25002,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "A user error has occurred. Your application encountered an error. This request is missing required input tag \"\".",

"parameters": [

{

"name": "0",

"value": ""

}

]

}

]

}

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

Testing Comments

0 Likes 0 ·
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @xinzh_2198,

You can use createInventoryLocation call of Inventory API to create a new inventory location.

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

After creating a inventory location, you can use that merchantLocationKey in the createOrReplaceInventoryItem call.

Ref:https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem

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.

ardf_85 avatar image
0 Likes"
ardf_85 answered ·

It happens due to conflict between chrome signed in account and google console signed in account, signing out from console and resigning in will solve the conflict. Solaza suggested the same solution.


upsers


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.