<?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: Unable to upload the file via API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331242#M19366</link>
    <description>&lt;P&gt;after following the suggestions you mentioned, It works great. Now trying out retrieve features of the files.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Feb 2019 22:18:57 GMT</pubDate>
    <dc:creator>iosenqa</dc:creator>
    <dc:date>2019-02-27T22:18:57Z</dc:date>
    <item>
      <title>Unable to upload the file via API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331068#M19352</link>
      <description>&lt;P&gt;Unable to upload the files using API , see the Poster screenshot for paramaters and Body. Any help would be really appreciated.&lt;/P&gt;&lt;P&gt;Seeing below error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "multipart/form-data; boundary=--------------------------098587943575938712484518". Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Paramaters" style="width: 977px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/8884iCEB343D2027EAD35/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-02-26 at 3.50.37 PM.png" alt="Paramaters" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Paramaters&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-02-26 at 3.51.26 PM.png" style="width: 976px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/8885iF2E472AECD9F8D20/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-02-26 at 3.51.26 PM.png" alt="Screen Shot 2019-02-26 at 3.51.26 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:07:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331068#M19352</guid>
      <dc:creator>iosenqa</dc:creator>
      <dc:date>2019-05-29T09:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload the file via API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331182#M19363</link>
      <description>&lt;P&gt;The&amp;nbsp;Dropbox API /upload endpoint does require that the HTTPS request use one of the Content-Type values listed in the error message you shared.&lt;/P&gt;
&lt;P&gt;I see that you are attempting to set a valid Content-Type value, but the actual request is using a different value ("multipart..."). It seems that the HTTPS client you're using is overriding the value you're attempting to set.&lt;/P&gt;
&lt;P&gt;You should refer to the documentation for the client you're using to determine how to disable that behavior. For instance, you likely will want to use the "binary" option seen in the screenshot of the "Body" tab you shared.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, note that some of your other headers look incorrect as well. The Dropbox API parameters should be sent as JSON in a single "Dropbox-API-Arg" header, not in separate "mode", "autorename", etc. headers like you have. You can find more information and an example in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_blank"&gt;the documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 17:03:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331182#M19363</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-27T17:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload the file via API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331242#M19366</link>
      <description>&lt;P&gt;after following the suggestions you mentioned, It works great. Now trying out retrieve features of the files.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 22:18:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-upload-the-file-via-API/m-p/331242#M19366</guid>
      <dc:creator>iosenqa</dc:creator>
      <dc:date>2019-02-27T22:18:57Z</dc:date>
    </item>
  </channel>
</rss>

