question

afridigems avatar image
0 Likes"
afridigems asked

3000 error in feed uploadfile call

Hello,


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:

https://developer.ebay.com/api-docs/sell/static/file-exchange-migration/fx-to-feed-steps-required-for-migration.html

https://developer.ebay.com/api-docs/sell/feed/resources/task/methods/uploadFile#request.fileName


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.

file exchangefeed-api
· 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.

The question title may be considered as 2003 error....

0 Likes 0 ·
afridigems avatar image
0 Likes"
afridigems answered
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.

alvisinwales avatar image
0 Likes"
alvisinwales answered

When you ran createTask did you send {"feedType": "FX_LISTING","schemaVersion": "1.0"}?

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.

afridigems avatar image
0 Likes"
afridigems answered

Yes Exactly.

json_encode(array("schemaVersion"=>"1.0","feedType"=>"FX_LISTING"));

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.

giuseppdivuol_0 avatar image
0 Likes"
giuseppdivuol_0 answered

I have error 2003 when i use curlfile with real path in php version < 5.6.

With php version 5.6 and new CURLFILE(realpath("upload_file.csv")) i have the error id 160001

In my console report (https://www.ebay.it/sh/reports/uploads) i see in both cases

ListingsFile not generatedMay 18, 2021 at 3:13am PDTFailed



ListingsFile not generatedMay 18, 2021 at 3:10am PDTFailed



ListingsFile not generatedMay 18, 2021 at 2:56am PDTFailed



ListingsFile not generatedMay 18, 2021 at 2:54am PDTFailed



ListingsFile not generatedMay 18, 2021 at 2:48am PDTFailed


with download file have only text:
<script>window.location.href="http://pages.ebay.com/messages/page_not_responding.html"</script>;

Is incredible ebay developer not assitance without pay...75$ for hour is incredible...

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.