I want to achieve the following goal. Migrating my File Exchange Application to new eBay feed api.
Please check the concern page.
API – Feed Reference:
Link to File Exchange Migration Procedure
I am adopting their procedure as stated on the above links but I am receiving the following error while calling Sell Feed API -> uploadFile method.
"errorId": 2003,
"domain": "ACCESS",
"category": "APPLICATION",
"message": "Internal error",
"longMessage": "There was a problem with an eBay internal system or process. Contact eBay developer support for assistance",
"parameters": [
{ "name": "code", "value": "400" },
{ "name": "message", "value": "HTTP 400 Bad Request" }
Please check my request.
Endpoint: "https://api.ebay.com/sell/feed/v1/task/task-40-xxxxxxxxx/upload_file"
Request Headers:
Authorization:Bearer myToken
Accept:application/json
Content-Type:multipart/form-data
X-EBAY-C-MARKETPLACE-ID: EBAY_US
Payload:
{
"fileName" : "https://virtualwebdesk.com/brad/feed.csv",
"name" : "file",
"type" : "form-data"
}
Please Note: I create TaskID first and then pass in the call.
2
Answers
I got it,