Skip to main content
Published: April 13 2011, 3:00:00 PMUpdated: November 28 2020, 9:21:04 PM

My uploadFile calls are failing with the error as below -

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
   <soapenv:Header/>
   <soapenv:Body>
      <uploadFileResponse xmlns="http://www.ebay.com/marketplace/services">
         <ack>Failure</ack>
         <errorMessage>
            <error>
               <errorId>24</errorId>
               <domain>Marketplace</domain>
               <severity>Error</severity>
               <category>Application</category>
               <message>Format the input file so that the request file contains multiple lines</message>
               <subdomain>FileTransfer</subdomain>
            </error>
         </errorMessage>
         <version>1.1.0</version>
         <timestamp>2011-04-01T20:55:49.338Z</timestamp>
      </uploadFileResponse>
   </soapenv:Body>
</soapenv:Envelope>

LMS jobs would hang or take too long if the uploaded payload file contained requests on very few lines. Such jobs also negatively impacted the execution times of other jobs that were being processed.

In order to avoid this situation, a feature was introduced to proactively detect and reject payload files that do not have line breaks (>20000 chars on a single line). Your uploadFile call is failing because it has very few line breaks.

Please ensure that you incorporate line breaks between requests to avoid this situation. Also make sure that individual requests are properly formatted and are not on a single line.

How well did this answer your question?
Answers others found helpful