<?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 document wrong in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130008#M3774</link>
    <description>&lt;P&gt;When you say you "can't send/ return error", what's the error you get exactly?&lt;/P&gt;</description>
    <pubDate>Sat, 28 Nov 2015 02:40:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-11-28T02:40:27Z</dc:date>
    <item>
      <title>Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130007#M3773</link>
      <description>&lt;P&gt;an wrong&amp;nbsp;in dropbox api v2&amp;nbsp;document&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE class="last literal-block documentation__curl-example"&gt;curl -X POST https://content.dropboxapi.com/2/files/upload \
    --header "Authorization: Bearer " \
    --header "Dropbox-API-Arg: {\"path\": \"/Homework/math/Matrices.txt\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" \
    --header "Content-Type: application/octet-stream" \
    --data-binary @local_file.png&lt;/PRE&gt;
&lt;PRE class="last literal-block documentation__curl-example"&gt;&lt;BR /&gt;when i set header&lt;/PRE&gt;
&lt;PRE class="last literal-block documentation__curl-example"&gt;--header "Content-Type: application/octet-stream" \&lt;/PRE&gt;
&lt;P&gt;=&amp;gt; can't send/ return error&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;but when i remove that header and add&amp;nbsp;&lt;/P&gt;
&lt;PRE class="last literal-block documentation__curl-example"&gt;--header "Content-Type: text/plain; charset=dropbox-cors-hack" \&lt;/PRE&gt;
&lt;P&gt;=&amp;gt; return 200,&amp;nbsp;succeed, &lt;BR /&gt;recheck: file was upload&amp;nbsp;successful&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:38:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130007#M3773</guid>
      <dc:creator>Trương K.</dc:creator>
      <dc:date>2019-05-29T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130008#M3774</link>
      <description>&lt;P&gt;When you say you "can't send/ return error", what's the error you get exactly?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2015 02:40:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130008#M3774</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-11-28T02:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130009#M3775</link>
      <description>&lt;P&gt;Content-Type: application/octet-stream&lt;/P&gt;
&lt;P&gt;Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "application/octet-stream; Charset=UTF-8". &amp;nbsp;Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack".&lt;/P&gt;
&lt;P&gt;Error:400"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that orther dev of dropbox&amp;nbsp;fix it? (Edit: i think my code error when not send data in binary)&lt;BR /&gt;at that time the error return say &lt;BR /&gt;Expecting one of "application/octet-stream", "text/plain;&amp;nbsp;charset=utf-8"&lt;BR /&gt;&lt;BR /&gt;and when add two header&amp;nbsp;&lt;BR /&gt;Content-Type: application/octet-stream (1)&lt;BR /&gt;Content-Type: text/plain; charset=dropbox-cors-hack (2)&lt;BR /&gt;=&amp;gt; return error&lt;BR /&gt;&lt;BR /&gt;add only (1) or (2) =&amp;gt; return&amp;nbsp;success&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2015 09:46:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130009#M3775</guid>
      <dc:creator>Trương K.</dc:creator>
      <dc:date>2015-11-28T09:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130010#M3776</link>
      <description>&lt;P&gt;Are you by any chance making an AJAX request&amp;nbsp;and using Firefox?&lt;/P&gt;
&lt;P&gt;There seems to be a known issue with Firefox where it adds the "charset=UTF-8".&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2015 12:30:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130010#M3776</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-11-28T12:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130011#M3777</link>
      <description>&lt;P&gt;Sorry, i think my code error when not read file in binary mode&lt;/P&gt;
&lt;P&gt;-&amp;gt; server think a text -&amp;gt; return error utf-8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2015 12:48:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130011#M3777</guid>
      <dc:creator>Trương K.</dc:creator>
      <dc:date>2015-11-28T12:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130012#M3778</link>
      <description>&lt;P&gt;I'm having trouble&amp;nbsp;following this thread.&lt;/P&gt;
&lt;P&gt;Is your issue resolved? Or are&amp;nbsp;you still&amp;nbsp;having a problem?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2015 00:59:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130012#M3778</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-11-29T00:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130013#M3779</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text vk_txt tw-ta tw-text-medium"&gt;&lt;SPAN&gt;I'm getting the same error message&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack".&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 07:47:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130013#M3779</guid>
      <dc:creator>Fernando M.9</dc:creator>
      <dc:date>2016-07-27T07:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130014#M3780</link>
      <description>&lt;P&gt;Fernando, can you start a new thread with the specific code you're having trouble with? That way we can help you in particular without spamming the others on this thread.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209245" rel="nofollow noreferrer"&gt;https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209245&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 01:46:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/130014#M3780</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-07-28T01:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/203699#M9756</link>
      <description>Was there a resolution to this? It looks like there's only 2 content-types I can send via the upload endpoint&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jan 2017 19:54:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/203699#M9756</guid>
      <dc:creator>hinto</dc:creator>
      <dc:date>2017-01-24T19:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/203701#M9757</link>
      <description>Hi Hinto, we haven't heard back from Trương on this thread, so we don't know if their issue was resolved.&lt;BR /&gt;&lt;BR /&gt;Fernando opened a thread here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropboxforum.com/t5/API-support/Is-it-possible-to-pass-all-parameters-to-a-v2-API-request-in-URL/m-p/152792/highlight/true#M5099" target="_blank"&gt;https://www.dropboxforum.com/t5/API-support/Is-it-possible-to-pass-all-parameters-to-a-v2-API-request-in-URL/m-p/152792/highlight/true#M5099&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If neither of these help in your case, please open a new thread with the details of the issue you're having so we can help:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropboxforum.com/t5/forums/postpage/board-id/101000014" target="_blank"&gt;https://www.dropboxforum.com/t5/forums/postpage/board-id/101000014&lt;/A&gt;</description>
      <pubDate>Tue, 24 Jan 2017 20:15:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/203701#M9757</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-24T20:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/261684#M15260</link>
      <description>&lt;P&gt;Hi Steve , i got an issue where content-type get rewite to charset=utf-8 , i'm using ajax and firefox , what is that known issue ? and how to solve it ?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 21:03:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/261684#M15260</guid>
      <dc:creator>aaqrabaw</dc:creator>
      <dc:date>2018-01-21T21:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/261817#M15271</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/597519"&gt;@aaqrabaw&lt;/a&gt;&amp;nbsp;There's a post here that should be helpful:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/33902289/using-dropbox-v2-api-from-browser/34168434#34168434" target="_blank"&gt;https://stackoverflow.com/questions/33902289/using-dropbox-v2-api-from-browser/34168434#34168434&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 16:26:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/261817#M15271</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-01-22T16:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/331071#M19353</link>
      <description>&lt;P&gt;Me to facing the same issue. (&amp;nbsp;&lt;A href="https://www.dropboxforum.com/t5/API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331068#M21073" target="_blank"&gt;https://www.dropboxforum.com/t5/API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331068#M21073&lt;/A&gt; )&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 00:12:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/331071#M19353</guid>
      <dc:creator>iosenqa</dc:creator>
      <dc:date>2019-02-27T00:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Api v2 upload document wrong</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/331181#M19362</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1008718"&gt;@iosenqa&lt;/a&gt;&amp;nbsp;I'll follow up with you on your new thread.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 17:03:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v2-upload-document-wrong/m-p/331181#M19362</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-27T17:03:32Z</dc:date>
    </item>
  </channel>
</rss>

