<?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: Improper content upload when using dropbox upload_file API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Improper-content-upload-when-using-dropbox-upload-file-API/m-p/705065#M31372</link>
    <description>&lt;P&gt;I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the name and version number of the platform and SDK/library you are using, if any&lt;/LI&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)&lt;/LI&gt;
&lt;LI&gt;the full text of the result from the Dropbox API&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 09 Aug 2023 12:11:54 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-08-09T12:11:54Z</dc:date>
    <item>
      <title>Improper content upload when using dropbox upload_file API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Improper-content-upload-when-using-dropbox-upload-file-API/m-p/705027#M31370</link>
      <description>&lt;P&gt;When I use the file_upload api to upload a file by first opening it with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;with&lt;/SPAN&gt; &lt;SPAN&gt;open&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;temp_file_path&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'rb'&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;local_file&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;file_data_local&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;local_file&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;read&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;The file uploads to the correct place in dropbox.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;However, when I get my file from a post request and try to read it and pass it into file upload the contents of the file are incorrect. Something is getting created but when I click on the file the following message is displayed:&lt;/SPAN&gt;&lt;/SPAN&gt; .xlsx files are supported but something went wrong.
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to download the file created and open it but it will not open as the format/content is unrecognizable.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Aug 2023 11:09:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Improper-content-upload-when-using-dropbox-upload-file-API/m-p/705027#M31370</guid>
      <dc:creator>paul48</dc:creator>
      <dc:date>2023-08-09T11:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Improper content upload when using dropbox upload_file API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Improper-content-upload-when-using-dropbox-upload-file-API/m-p/705065#M31372</link>
      <description>&lt;P&gt;I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the name and version number of the platform and SDK/library you are using, if any&lt;/LI&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)&lt;/LI&gt;
&lt;LI&gt;the full text of the result from the Dropbox API&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 09 Aug 2023 12:11:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Improper-content-upload-when-using-dropbox-upload-file-API/m-p/705065#M31372</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-08-09T12:11:54Z</dc:date>
    </item>
  </channel>
</rss>

