question

olin-63 avatar image
0 Likes"
olin-63 asked

download_result_file error

Hello,


I am trying to upload an xml file with the price and stock update of my items.


When I make the download_result_file call to download the error report I get the following error:

"'message' => 'Internal error',

'longMessage' => 'There was a problem with an eBay internal system or process. Contact eBay developer support for assistance'"

Can you help me please?

api
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jitendra_developersupport avatar image
0 Likes"
jitendra_developersupport answered

Hi @olin-63,


Please execute the getTask or getTasks call and check for the status of a task before executing the getResultFile call to get the result file.


The status of the task must be in the COMPLETED or COMPLETED_WITH_ERROR state before you execute the getResultFile call.

Ref: https://developer.ebay.com/api-docs/sell/feed/resources/task/methods/getTasks

https://developer.ebay.com/api-docs/sell/feed/resources/task/methods/getTask#response.status


Best Regards,

eBay Developer Support

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

olin-63 avatar image
0 Likes"
olin-63 answered

Hello,

I execute getTask call and it returns the following:

[0] => Array

(

[taskId] => task-2-1342008349

[status] => COMPLETED

[feedType] => LMS_REVISE_FIXED_PRICE_ITEM

[creationDate] => 2022-05-31T08:02:00.000Z

[completionDate] => 2022-05-31T08:02:10.000Z

[uploadSummary] => Array

(

[successCount] => 0

[failureCount] => 1

)

)


The steps I am following are:

- I create a task LMS_REVISE_FIXED_PRICE_ITEM

- I upload an xml file with upload_file

- upload_file returns me:

HTTP/1.1 200 OK

rlogid: t6pitaf%60btuf1%3D9whhpitaf%60btuf1*tghuw%28rbpv6713-1811922d5bd-0x2336

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

content-length: 0

date: Tue, 31 May 2022 08:02:02 GMT

x-envoy-upstream-service-time: 191

server: ebay-proxy-server

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


But When I make the download_result_file call to download the error report I get the following error:

"'message' => 'Internal error',

'longMessage' => 'There was a problem with an eBay internal system or process. Contact eBay developer support for assistance'"


Do you have an example of XML to update price and stock of products?


The XML that I am trying to upload is the following but it gives me an error:


<?xml version="1.0" encoding="utf-8"?>

<BulkDataExchangeRequests>

<ReviseFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">

<Item>

<ItemID>394019191082</ItemID>

<Quantity>3</Quantity>

<StartPrice>5.23</StartPrice>

<ProductListingDetails>

<EAN>9788427131477</EAN>

<ISBN>9788427131477</ISBN>

</ProductListingDetails>

</Item>

<ErrorLanguage>es_ES</ErrorLanguage>

<WarningLevel>High</WarningLevel>

</ReviseFixedPriceItemRequest>

</BulkDataExchangeRequests>


Can you tell me where the error is?



Thank you very much

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

fashionp_66 avatar image
0 Likes"
fashionp_66 answered

I execute getTask call and it returns the following:

[0] => Array

(

[taskId] => task-2-1342008349

[status] => COMPLETED

[feedType] => LMS_REVISE_FIXED_PRICE_ITEM

[creationDate] => 2022-05-31T08:02:00.000Z

[completionDate] => 2022-05-31T08:02:10.000Z

[uploadSummary] => Array

(

[successCount] => 0

[failureCount] => 1

)

)


The steps I am following are:

- I create a task LMS_REVISE_FIXED_PRICE_ITEM

- I upload an xml file with upload_file

- upload_file returns me:

HTTP/1.1 200 OK

rlogid: t6pitaf%60btuf1%3D9whhpitaf%60btuf1*tghuw%28rbpv6713-1811922d5bd-0x2336

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

content-length: 0

date: Tue, 31 May 2022 08:02:02 GMT

x-envoy-upstream-service-time: 191

server: ebay-proxy-server

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


But When I make the download_result_file call to download the error report I get the following error:

"'message' => 'Internal error',

'longMessage' => 'There was a problem with an eBay internal system or process. Contact eBay developer support for assistance'"

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sheyda.b41 avatar image
0 Likes"
sheyda.b41 answered

The thing which causes almost all Chrome downloads to fail is usually your antivirus which should either be replaced, especially if you are using a free version. The alternative is to disable HTTP or Port checking on the antivirus to allow downloads to go through.

10 |600

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.