question

modadistrict avatar image
0 Likes"
modadistrict asked

uploadFile Bad Request

Hello, I send an upload file request but it doen't work, please help me to understand why


REQUEST:
POST https://api.ebay.com/sell/feed/v1/task/task-40-1322215146/upload_file

REQUEST HEADERS:
Authorization: Bearer [+myTOKEN]
Content-Type: multipart/form-data; boundary=THIS_STRING_SEPARATES

REQUEST BODY:
--THIS_STRING_SEPARATES
Content-Disposition: form-data; name="file"; filename="ebay_feed10026345858169183255.csv"
Content-Type: text/csv

[...file content...]

--THIS_STRING_SEPARATES


RESPONSE HEADERS:
{content-length:["317"],content-type:["application/json"],date:["Wed, 13 Oct 2021 09:36:21 GMT"],rlogid:["t6pitaf%60btuf1%3D9iptpitaf%60btuf1*%7Bgdid%28rbpv6762-17c79028665-0x2348"],server:["ebay-proxy-server"],x-ebay-client-tls-version:["TLSv1.3"],x-ebay-pop-id:["UFES2-LVSAZ01-api"],x-envoy-upstream-service-time:["4"]}

RESPONSE BODY:
{"errors":[{"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"}]}]}





feed-apiuploadfile
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.

0 Answers

· Write an Answer

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.