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="">
      <uploadFileResponse xmlns="">
               <message>Format the input file so that the request file contains multiple lines</message>

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