<?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: API v2 upload_session_finish with mode:update 400 error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149898#M4946</link>
    <description>&lt;P&gt;curl -X POST &lt;A href="https://content.dropboxapi.com/2-beta-2/files/upload_session/finish" rel="nofollow noreferrer"&gt;https://content.dropboxapi.com/2-beta-2/files/upload_session/finish&lt;/A&gt; --header 'Authorization: Bearer &amp;lt;token&amp;gt;' --header 'Content-Type: application/octet-stream' --header 'Dropbox-API-Arg: {"cursor":{"session_id":"&amp;lt;session_id&amp;gt;","offset":1048576},"commit":{"path":"/test_upload2.png","mode": {"update": "aaa"}}}'&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": commit.mode: missing '.tag' key&lt;/P&gt;
&lt;P&gt;----------&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://content.dropboxapi.com/2-beta-2/files/upload_session/finish" rel="nofollow noreferrer"&gt;https://content.dropboxapi.com/2-beta-2/files/upload_session/finish&lt;/A&gt; --header 'Authorization: Bearer &amp;lt;token&amp;gt;' --header 'Content-Type: application/octet-stream' --header 'Dropbox-API-Arg: {"cursor":{"session_id":"&amp;lt;session_id&amp;gt;","offset":1048576},"commit":{"path":"/test_upload2.png","mode": {"update": "aaa", ".tag": "rev"}}}'&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": commit.mode: unknown tag 'rev'&lt;/P&gt;
&lt;P&gt;-----------&lt;/P&gt;
&lt;P&gt;Could you show me the document of&amp;nbsp;this API?&lt;/P&gt;
&lt;P&gt;But not this one:&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http#documentation-files-upload_session-finish" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http#documentation-files-upload_session-finish&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2015 07:40:39 GMT</pubDate>
    <dc:creator>David W.152</dc:creator>
    <dc:date>2015-11-11T07:40:39Z</dc:date>
    <item>
      <title>API v2 upload_session_finish with mode:update 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149897#M4945</link>
      <description>&lt;P&gt;app permission type: App folder&lt;/P&gt;
&lt;P&gt;API version: dropbox API v2&lt;/P&gt;
&lt;P&gt;description: API "upload_session_finish" with mode:update error&lt;/P&gt;
&lt;P&gt;------&lt;/P&gt;
&lt;P&gt;Have no idea how the "update mode" works (how it works with "rev" param?).&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;screen_shot_01:&lt;/P&gt;
&lt;P&gt;&lt;IMG id="wysiwyg_image_1" src="https://www.dropboxforum.com/hc/user_images/24KlKnmnLkL77VztVrJxvA.png" alt="" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;screen_shot_02:&lt;/P&gt;
&lt;P&gt;&lt;IMG id="wysiwyg_image_2" src="https://www.dropboxforum.com/hc/user_images/_AVeW1b75v-Q49PJYIbeDw.png" alt="" /&gt;&lt;/P&gt;
&lt;P&gt;--------------&lt;/P&gt;
&lt;P&gt;Console logs:&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://content.dropboxapi.com/2-beta-2/files/upload_session/finish" rel="nofollow noreferrer" target="_blank"&gt;https://content.dropboxapi.com/2-beta-2/files/upload_session/finish&lt;/A&gt; --header 'Authorization: Bearer &amp;lt;token&amp;gt;' --header 'Content-Type: application/octet-stream' --header 'Dropbox-API-Arg: {"cursor":{"session_id":"&amp;lt;session_id&amp;gt;","offset":14659},"commit":{"path":"/test_upload2.png","mode":"update"}}'&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": commit.mode: expected object for 'update', got symbol&lt;/P&gt;
&lt;P&gt;&amp;nbsp;-------------&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://content.dropboxapi.com/2-beta-2/files/upload_session/finish" rel="nofollow noreferrer" target="_blank"&gt;https://content.dropboxapi.com/2-beta-2/files/upload_session/finish&lt;/A&gt; --header 'Authorization: Bearer &amp;lt;token&amp;gt;' --header 'Content-Type: application/octet-stream' --header 'Dropbox-API-Arg: {"cursor":{"session_id":"&amp;lt;session_id&amp;gt;","offset":14659},"commit":{"path":"/test_upload2.png","mode":"update", "rev": "xxxx"}}'&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": commit: unknown field 'rev'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;-------------&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://content.dropboxapi.com/2-beta-2/files/upload_session/finish" rel="nofollow noreferrer" target="_blank"&gt;https://content.dropboxapi.com/2-beta-2/files/upload_session/finish&lt;/A&gt; --header 'Authorization: Bearer &amp;lt;token&amp;gt;' --header 'Content-Type: application/octet-stream' --header 'Dropbox-API-Arg: {"cursor":{"session_id":"&amp;lt;session_id&amp;gt;","offset":14659},"commit":{"path":"/test_upload2.png","mode":"update"}, "rev": "xxxx"}'&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": unknown field 'rev'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:38:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149897#M4945</guid>
      <dc:creator>David W.152</dc:creator>
      <dc:date>2019-05-29T09:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 upload_session_finish with mode:update 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149898#M4946</link>
      <description>&lt;P&gt;curl -X POST &lt;A href="https://content.dropboxapi.com/2-beta-2/files/upload_session/finish" rel="nofollow noreferrer"&gt;https://content.dropboxapi.com/2-beta-2/files/upload_session/finish&lt;/A&gt; --header 'Authorization: Bearer &amp;lt;token&amp;gt;' --header 'Content-Type: application/octet-stream' --header 'Dropbox-API-Arg: {"cursor":{"session_id":"&amp;lt;session_id&amp;gt;","offset":1048576},"commit":{"path":"/test_upload2.png","mode": {"update": "aaa"}}}'&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": commit.mode: missing '.tag' key&lt;/P&gt;
&lt;P&gt;----------&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://content.dropboxapi.com/2-beta-2/files/upload_session/finish" rel="nofollow noreferrer"&gt;https://content.dropboxapi.com/2-beta-2/files/upload_session/finish&lt;/A&gt; --header 'Authorization: Bearer &amp;lt;token&amp;gt;' --header 'Content-Type: application/octet-stream' --header 'Dropbox-API-Arg: {"cursor":{"session_id":"&amp;lt;session_id&amp;gt;","offset":1048576},"commit":{"path":"/test_upload2.png","mode": {"update": "aaa", ".tag": "rev"}}}'&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload_session/finish": HTTP header "Dropbox-API-Arg": commit.mode: unknown tag 'rev'&lt;/P&gt;
&lt;P&gt;-----------&lt;/P&gt;
&lt;P&gt;Could you show me the document of&amp;nbsp;this API?&lt;/P&gt;
&lt;P&gt;But not this one:&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http#documentation-files-upload_session-finish" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http#documentation-files-upload_session-finish&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 07:40:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149898#M4946</guid>
      <dc:creator>David W.152</dc:creator>
      <dc:date>2015-11-11T07:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 upload_session_finish with mode:update 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149899#M4947</link>
      <description>&lt;P&gt;Well,&amp;nbsp;so this works:&lt;/P&gt;
&lt;P&gt;"mode": {".tag": "update", "update": "xxxx"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 07:54:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149899#M4947</guid>
      <dc:creator>David W.152</dc:creator>
      <dc:date>2015-11-11T07:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 upload_session_finish with mode:update 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149900#M4948</link>
      <description>&lt;P&gt;Hi David, apologies that the documentation and explorer aren't clear on how to use that. I'll send that along as feedback to get that fixed up. I'm glad to see you sorted this out already though.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 09:13:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149900#M4948</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-11-11T09:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 upload_session_finish with mode:update 400 error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149901#M4949</link>
      <description>&lt;P&gt;You'll need a little bit more luck to work smoothly with API v2.&lt;/P&gt;
&lt;P&gt;: )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 11:48:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-upload-session-finish-with-mode-update-400-error/m-p/149901#M4949</guid>
      <dc:creator>David W.152</dc:creator>
      <dc:date>2015-11-11T11:48:37Z</dc:date>
    </item>
  </channel>
</rss>

