<?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 Re: What Happens To Incomplete Upload Session Start Commands in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/412200#M22275</link>
    <description>&lt;P&gt;All&amp;nbsp;Dropbox API upload sessions expire after 48 hours. If you start one and never complete it, it will become invalid 48 hours after it was started and the data will not be committed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you call to finish an upload session but don't&amp;nbsp;receive the response, e.g., due to a network issue, it's possible the request did still make it to&amp;nbsp;Dropbox and was serviced by Dropbox, in which case the file may have been committed. You can call the API again (e.g., &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt; or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;], for instance), to check if the file was in fact committed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Dropbox API does allow you to have multiple active upload sessions at the same time, so you can have multiple different upload sessions for different files and use them in parallel. Please refer to &lt;A href="https://www.dropbox.com/developers/reference/data-ingress-guide" target="_self"&gt;the Data Ingress Guide&lt;/A&gt; for information on avoiding lock contention though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, I'm not sure I understand the scenario with offset:0 that you described. If something's not working as expected, please share the relevant code and unexpected output so we can look into it. (Be sure to redact your access token though.) Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 18:20:05 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-04-20T18:20:05Z</dc:date>
    <item>
      <title>What Happens To Incomplete Upload Session Start Commands</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/411772#M22254</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Hopefully an easy one to answer.&lt;/P&gt;&lt;P&gt;"What happens to incomplete Upload Session Starts"??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example...&lt;/P&gt;&lt;P&gt;I script an upload session start.&lt;/P&gt;&lt;P&gt;I have a Session End script waiting for the Reply with SessionID&lt;/P&gt;&lt;P&gt;What if I dont receive this?? &amp;nbsp;(Network Glitch Etc) The session end script will be hanging&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The session will not end.&lt;/P&gt;&lt;P&gt;I could re-script so if no reply I start a new session upload of same data&lt;/P&gt;&lt;P&gt;But will this leave hangs at dropbox end???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition...&lt;/P&gt;&lt;P&gt;What if I send one session upload start command&lt;/P&gt;&lt;P&gt;Before the previous upload is complete I send a second session upload command for a different file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can handle handle sessionIDs at my end but is dropbox OK with this??&lt;/P&gt;&lt;P&gt;Think I know the answer but always worth checking&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2020 15:37:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/411772#M22254</guid>
      <dc:creator>jimbob1977</dc:creator>
      <dc:date>2020-04-19T15:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: What Happens To Incomplete Upload Session Start Commands</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/412017#M22262</link>
      <description>&lt;P&gt;Following On From My Previous Query.&lt;/P&gt;&lt;P&gt;Yesterday My Session Start + End Commands Worked Fine.&lt;/P&gt;&lt;P&gt;Today I get an error on session end saying that offset shopuld be "0"???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I change offset to "0" and resend command.&lt;/P&gt;&lt;P&gt;The session closes fine and the file is there in full.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how come the offset was "0"&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 11:18:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/412017#M22262</guid>
      <dc:creator>jimbob1977</dc:creator>
      <dc:date>2020-04-20T11:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: What Happens To Incomplete Upload Session Start Commands</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/412200#M22275</link>
      <description>&lt;P&gt;All&amp;nbsp;Dropbox API upload sessions expire after 48 hours. If you start one and never complete it, it will become invalid 48 hours after it was started and the data will not be committed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you call to finish an upload session but don't&amp;nbsp;receive the response, e.g., due to a network issue, it's possible the request did still make it to&amp;nbsp;Dropbox and was serviced by Dropbox, in which case the file may have been committed. You can call the API again (e.g., &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self"&gt;/2/files/get_metadata&lt;/A&gt; or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;], for instance), to check if the file was in fact committed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Dropbox API does allow you to have multiple active upload sessions at the same time, so you can have multiple different upload sessions for different files and use them in parallel. Please refer to &lt;A href="https://www.dropbox.com/developers/reference/data-ingress-guide" target="_self"&gt;the Data Ingress Guide&lt;/A&gt; for information on avoiding lock contention though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, I'm not sure I understand the scenario with offset:0 that you described. If something's not working as expected, please share the relevant code and unexpected output so we can look into it. (Be sure to redact your access token though.) Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 18:20:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/412200#M22275</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-20T18:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: What Happens To Incomplete Upload Session Start Commands</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/412211#M22279</link>
      <description>Hi Greg&lt;BR /&gt;Thanks for the response&lt;BR /&gt;all makes sense&lt;BR /&gt;I’ll explore the metadata call further to add further error checking&lt;BR /&gt;&lt;BR /&gt;Ignore the final query... solved&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Mon, 20 Apr 2020 18:46:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-Happens-To-Incomplete-Upload-Session-Start-Commands/m-p/412211#M22279</guid>
      <dc:creator>jimbob1977</dc:creator>
      <dc:date>2020-04-20T18:46:50Z</dc:date>
    </item>
  </channel>
</rss>

