<?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: UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('folder', None) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719404#M31842</link>
    <description>&lt;P&gt;It seems to be good now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another problem that has appeared recently.&amp;nbsp; The API call dbx.files_list_folder(path=dropbox_dir) does not give all files as before and I can see only some old files in the folder. I try to obtain a hash of existing files in order not to upload files that did not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any possibility to obtain a hash of existing files in a folder by another call as dbx.files_list_folder(path=dropbox_dir)&amp;nbsp; that started to hide some of my new files ?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 17:52:37 GMT</pubDate>
    <dc:creator>MilosG</dc:creator>
    <dc:date>2023-10-06T17:52:37Z</dc:date>
    <item>
      <title>UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('folder', None)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719365#M31840</link>
      <description>&lt;P&gt;I have a very strange problem. Everything has worked well until this Wednesday. My scripts uploaded files correctly to the dropbox and everything was fine. Suddenly without any change in my python API software the file upload stopped to work.&amp;nbsp; I have created a new dropbox folder /test that is empty. I try to upload a file with dbx.files_upload(open('/tmp/x', "rb").read(), '/test') but I obtain always a new error like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dropbox.exceptions.ApiError: ApiError('55a096d6521d46798f69c670e0601cef', UploadError('path', UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('folder', None)), upload_session_id='pid_upload_session:ABIG52MVsp9DL6fhiaChXBsVvK8XIgp-QMfUB4A-pLKcdsOdng')))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The folder is empty, the call dbx.files_list_folder('/test').entries gives an output [].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried several new software tools that I have found on the net using files_upload_session_start etc. for huge files. All these tools run without any error message but no file is uploaded at the end ( when I do not use the call files_upload of course, I have always the error message ). Other calls like dbx.files_delete_v2 continue to work, only all calls that should upload files do not work any more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 15:30:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719365#M31840</guid>
      <dc:creator>MilosG</dc:creator>
      <dc:date>2023-10-06T15:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('folder', None)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719368#M31841</link>
      <description>&lt;P&gt;A 'path/conflict/folder' error from&amp;nbsp;files_upload liked you shared here indicates that the upload failed because there is already a folder at the path specified for the upload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the description of your test case, this is the expected behavior. You indicated that you created a folder at "/test", and then also performed a files_upload call specifying the '/test' path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When uploading a file via the API, you need to specify the entire path where you want to put the file, including the both any parent directories as well as the file name and extension itself. So for example, if you want to upload a file named "file.ext" in a folder named "test", you would set the path parameter for files_upload as "/test/file.ext" (instead of just "/test").&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 15:39:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719368#M31841</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-06T15:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('folder', None)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719404#M31842</link>
      <description>&lt;P&gt;It seems to be good now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another problem that has appeared recently.&amp;nbsp; The API call dbx.files_list_folder(path=dropbox_dir) does not give all files as before and I can see only some old files in the folder. I try to obtain a hash of existing files in order not to upload files that did not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any possibility to obtain a hash of existing files in a folder by another call as dbx.files_list_folder(path=dropbox_dir)&amp;nbsp; that started to hide some of my new files ?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 17:52:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719404#M31842</guid>
      <dc:creator>MilosG</dc:creator>
      <dc:date>2023-10-06T17:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('folder', None)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719412#M31843</link>
      <description>&lt;P&gt;The &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder" target="_blank"&gt;files_list_folder&lt;/A&gt; method is not guaranteed to return all files/folders in one call. You'll need to have both &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder" target="_blank"&gt;files_list_folder&lt;/A&gt; and &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder_continue" target="_blank"&gt;files_list_folder_continue&lt;/A&gt; implemented to make sure you retrieve all the pages of entries in order to list all files/folders in a folder. Please refer to the documentation linked there for information on how to use that functionality.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 18:46:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/UploadWriteFailed-reason-WriteError-conflict-WriteConflictError/m-p/719412#M31843</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-06T18:46:18Z</dc:date>
    </item>
  </channel>
</rss>

