question

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

error upload a file

Sorry for my english

I am trying to migrate the api from Large Merchant Services (LMS, a SOAP API) to the Feed API (REST API).

To upload a file with the feed of my articles I am following the following steps:

- I create a task LMS_ADD_ITEM

- I upload the file with upload_file and it returns "HTTP/1.1 200 OK "

- I review the task and it returns the following:

[0] => Array

(

[taskId] => task-5-1341102234

[status] => FAILED

[feedType] => LMS_ADD_ITEM

[creationDate] => 2022-05-25T10:13:49.000Z

[completionDate] => 2022-05-25T10:13:55.000Z

[uploadSummary] => Array

(

[successCount] => 0

[failureCount] => 0

)


)


The file is a compressed xml file, the same one used in Large Merchant Services (LMS, to SOAP API)


Can you tell me what I'm doing wrong or steps to follow?

uploadfile
10 |600

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

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.