<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Possible bug tSalesforceOutputBulkExec with multiline content in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Possible-bug-tSalesforceOutputBulkExec-with-multiline-content/m-p/2301501#M73602</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I am working on a migration job where we transfer Email bodies into Salesforce Task object. The Body goes into teh description field, as the this is a long text field, also supporting line breaks.&lt;/P&gt;&lt;P&gt;The individual messages can have several kb in size, so with a row commit level of 5000 the size limit of 10MiB is reached for some batches.&lt;/P&gt;&lt;P&gt;To my understanding, in this case, the batch is limited by the 10MiB, not by the 5000 rows. At least the uploaded request chunk is never exceeding this limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW the default value of the component is 10MB =10,485,760 bytes , whereas the real limit is 10MiB = 10,000,000 bytes, should be adapted as well in the future... &lt;/P&gt;&lt;P&gt;You will get an error message in some cases like: &lt;/P&gt;&lt;P&gt;InvalidBatch : Failed to parse CSV. Exceeded max file size: 10000293. Max file size in characters should be less than or equal to 10000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with correct batch size limit, some batches wont get processed, instead I get the following error message: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvalidBatch : Failed to parse CSV. EOF reached before closing an opened quote	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inspecting the request, the body of the email is "cut", just before the row where the 10MiB limit is reached. &lt;/P&gt;&lt;P&gt;I think Talend does not respect multi-line content. This is something the component should handle in a smarter way. &lt;/P&gt;&lt;P&gt;I think this should be fixed within the component on Talend side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions is welcome, except adjusting row size until no loading errors occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:15:31 GMT</pubDate>
    <dc:creator>alexhug</dc:creator>
    <dc:date>2024-11-16T01:15:31Z</dc:date>
    <item>
      <title>Possible bug tSalesforceOutputBulkExec with multiline content</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Possible-bug-tSalesforceOutputBulkExec-with-multiline-content/m-p/2301501#M73602</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I am working on a migration job where we transfer Email bodies into Salesforce Task object. The Body goes into teh description field, as the this is a long text field, also supporting line breaks.&lt;/P&gt;&lt;P&gt;The individual messages can have several kb in size, so with a row commit level of 5000 the size limit of 10MiB is reached for some batches.&lt;/P&gt;&lt;P&gt;To my understanding, in this case, the batch is limited by the 10MiB, not by the 5000 rows. At least the uploaded request chunk is never exceeding this limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW the default value of the component is 10MB =10,485,760 bytes , whereas the real limit is 10MiB = 10,000,000 bytes, should be adapted as well in the future... &lt;/P&gt;&lt;P&gt;You will get an error message in some cases like: &lt;/P&gt;&lt;P&gt;InvalidBatch : Failed to parse CSV. Exceeded max file size: 10000293. Max file size in characters should be less than or equal to 10000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with correct batch size limit, some batches wont get processed, instead I get the following error message: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvalidBatch : Failed to parse CSV. EOF reached before closing an opened quote	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inspecting the request, the body of the email is "cut", just before the row where the 10MiB limit is reached. &lt;/P&gt;&lt;P&gt;I think Talend does not respect multi-line content. This is something the component should handle in a smarter way. &lt;/P&gt;&lt;P&gt;I think this should be fixed within the component on Talend side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions is welcome, except adjusting row size until no loading errors occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Possible-bug-tSalesforceOutputBulkExec-with-multiline-content/m-p/2301501#M73602</guid>
      <dc:creator>alexhug</dc:creator>
      <dc:date>2024-11-16T01:15:31Z</dc:date>
    </item>
  </channel>
</rss>

