<?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 Url of the file instead of a buffer in uploadSessionAppendV2? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Url-of-the-file-instead-of-a-buffer-in-uploadSessionAppendV2/m-p/212600#M10775</link>
    <description>&lt;P&gt;Is it possible to send url&amp;nbsp;to the file in call to sessionappendv2 or sessionstart.&amp;nbsp;The reason is that whenever I try to upload files in sequence, I am getting memory leaks in node,&amp;nbsp;becase&amp;nbsp;it keeps the result &amp;nbsp;of reedFile() in memory, which I must call sequentally. If sum of all parts of splitted file is bigger than 500mb it throws `FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory`&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:24:29 GMT</pubDate>
    <dc:creator>AlexBrajkovic</dc:creator>
    <dc:date>2019-05-29T09:24:29Z</dc:date>
    <item>
      <title>Url of the file instead of a buffer in uploadSessionAppendV2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Url-of-the-file-instead-of-a-buffer-in-uploadSessionAppendV2/m-p/212600#M10775</link>
      <description>&lt;P&gt;Is it possible to send url&amp;nbsp;to the file in call to sessionappendv2 or sessionstart.&amp;nbsp;The reason is that whenever I try to upload files in sequence, I am getting memory leaks in node,&amp;nbsp;becase&amp;nbsp;it keeps the result &amp;nbsp;of reedFile() in memory, which I must call sequentally. If sum of all parts of splitted file is bigger than 500mb it throws `FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory`&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:24:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Url-of-the-file-instead-of-a-buffer-in-uploadSessionAppendV2/m-p/212600#M10775</guid>
      <dc:creator>AlexBrajkovic</dc:creator>
      <dc:date>2019-05-29T09:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Url of the file instead of a buffer in uploadSessionAppendV2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Url-of-the-file-instead-of-a-buffer-in-uploadSessionAppendV2/m-p/212636#M10780</link>
      <description>&lt;P&gt;2. Also I have a problem with &lt;EM&gt;incorrect_offset&lt;/EM&gt; error. It seems that the error is in order of few bytes. For example &amp;nbsp;I am sending offset value as&amp;nbsp;426046040, but getting error with info "correct_offset" : 426046036. Just 4 bytes.&amp;nbsp;&lt;BR /&gt;And when I upload some other file, the difference is 1 byte.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 15:08:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Url-of-the-file-instead-of-a-buffer-in-uploadSessionAppendV2/m-p/212636#M10780</guid>
      <dc:creator>AlexBrajkovic</dc:creator>
      <dc:date>2017-03-21T15:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Url of the file instead of a buffer in uploadSessionAppendV2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Url-of-the-file-instead-of-a-buffer-in-uploadSessionAppendV2/m-p/212653#M10784</link>
      <description>&lt;P&gt;No, unfortunately the API v2 JavaScript SDK only supports supplying the file content as string or buffer, but I'll be sure to pass this along as a feature request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The incorrect_offset error is &lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesUploadSessionLookupError" target="_self"&gt;documented as&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"The specified offset was incorrect. See the value for the correct offset. This error may occur when a previous request was received and processed successfully but the client did not receive the response, e.g. due to a network error."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your sample has the server just a few bytes behind the client though, so it's likely not due to a missed response as in the example in the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, you may not be supplying the length of data you expect, or there may otherwise be some logic error in your upload session code. I&amp;nbsp;recommend adding some extra logging to your code to see when/where the missing data is occuring.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 16:48:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Url-of-the-file-instead-of-a-buffer-in-uploadSessionAppendV2/m-p/212653#M10784</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-21T16:48:25Z</dc:date>
    </item>
  </channel>
</rss>

