<?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 Drobox upload in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Drobox-upload/m-p/345827#M19950</link>
    <description>&lt;P&gt;Can i send stream object to dropbox upload api? or else can i send data in multipart format. because when i try to upload data by sending stream in body i get error &lt;STRONG&gt;{"code":404,"name":"ActionUncaughtException","body":{"name":"TypeError","message":"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object." } .&amp;nbsp;&lt;/STRONG&gt;Also when i try using multipart format i get following error. &lt;STRONG&gt;Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "multipart/form-data;". Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack"&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:06:19 GMT</pubDate>
    <dc:creator>ums</dc:creator>
    <dc:date>2019-05-29T09:06:19Z</dc:date>
    <item>
      <title>Drobox upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Drobox-upload/m-p/345827#M19950</link>
      <description>&lt;P&gt;Can i send stream object to dropbox upload api? or else can i send data in multipart format. because when i try to upload data by sending stream in body i get error &lt;STRONG&gt;{"code":404,"name":"ActionUncaughtException","body":{"name":"TypeError","message":"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object." } .&amp;nbsp;&lt;/STRONG&gt;Also when i try using multipart format i get following error. &lt;STRONG&gt;Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "multipart/form-data;". Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack"&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:06:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Drobox-upload/m-p/345827#M19950</guid>
      <dc:creator>ums</dc:creator>
      <dc:date>2019-05-29T09:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Drobox upload</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Drobox-upload/m-p/345850#M19951</link>
      <description>&lt;P&gt;When uploading file data to the&amp;nbsp;Dropbox API, such as via &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;/2/files/upload&lt;/A&gt;, the file data should be supplied in the request body, with a Content-Type of&amp;nbsp;"application/octet-stream"(or the CORS workaround as seen in the output you shared, if needed). The&amp;nbsp;Dropbox API does not support&amp;nbsp;"multipart/form-data" .&lt;/P&gt;
&lt;P&gt;Exactly what HTTPS client you use, or where you get the file data, is up to you. For instance, if you're using an HTTPS client that allows you to stream in the file content for the call, that's fine as long as the client sends it up in the request body with a valid content type.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 16:08:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Drobox-upload/m-p/345850#M19951</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-05-22T16:08:00Z</dc:date>
    </item>
  </channel>
</rss>

