<?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: malformed_path issue? in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/728145#M3745</link>
    <description>&lt;P&gt;Thanks for posting this, Kevin. This appears to have been the issue for me with an automation to make new folders in Dropbox.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 23:23:11 GMT</pubDate>
    <dc:creator>RTAdmin</dc:creator>
    <dc:date>2023-11-08T23:23:11Z</dc:date>
    <item>
      <title>malformed_path issue?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/330481#M491</link>
      <description>&lt;P&gt;Hi there, How do I resolve this??&lt;/P&gt;
&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "pi_surveillance.py", line 123, in &amp;lt;module&amp;gt;&lt;BR /&gt;client.files_upload(open(t.path, "rb").read(), path)&lt;BR /&gt;File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/dropbox/base.py", line 2293, in files_upload&lt;BR /&gt;f,&lt;BR /&gt;File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/dropbox/dropbox.py", line 296, in request&lt;BR /&gt;user_message_locale)&lt;BR /&gt;dropbox.exceptions.ApiError: ApiError('ec8156314fa260e143cde3a973d063a7', UploadError('path', UploadWriteFailed(reason=WriteError('malformed_path', None), upload_session_id='AAAAAAAAABYIi23EoDg86Q')))&lt;/P&gt;
&lt;P&gt;I named my base path conf file as according to the answer in this theme:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Python-3-5-API-upload-error/td-p/317632" target="_blank" rel="noopener"&gt;https://www.dropboxforum.com/t5/Discuss-Developer-API/Python-3-5-API-upload-error/m-p/317699#M345&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;my conf file:&amp;nbsp; "dropbox_base_path": "/HomeSec",&lt;/P&gt;
&lt;P&gt;(I have a dropbox folder named HomeSec)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 09:24:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/330481#M491</guid>
      <dc:creator>randysandy209</dc:creator>
      <dc:date>2020-10-05T09:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: malformed_path issue?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/330731#M495</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/54846821/how-to-solve-writeerror-for-dropbox" target="_blank"&gt;https://stackoverflow.com/questions/54846821/how-to-solve-writeerror-for-dropbox&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;I see that&amp;nbsp;&lt;A href="https://www.dropboxforum.com/t5/Discuss-Developer-API/Python-3-5-API-upload-error/m-p/330692/highlight/true#M493" target="_blank"&gt;delta1071 already helped out on the other thread&lt;/A&gt;. It sounds like the issue may be that you're using&amp;nbsp;"/HomeSec" as your "dropbox_base_path", which results in an extra leading slash, given the formatting:&amp;nbsp;"/{base_path}/{timestamp}.jpg".&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 15:47:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/330731#M495</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-02-25T15:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: malformed_path issue?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/540945#M2104</link>
      <description>&lt;P&gt;for others coming across this via search engine check that your path is free of trailing whitespace&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 15:57:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/540945#M2104</guid>
      <dc:creator>kevin g.1</dc:creator>
      <dc:date>2021-08-24T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: malformed_path issue?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/728145#M3745</link>
      <description>&lt;P&gt;Thanks for posting this, Kevin. This appears to have been the issue for me with an automation to make new folders in Dropbox.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 23:23:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/malformed-path-issue/m-p/728145#M3745</guid>
      <dc:creator>RTAdmin</dc:creator>
      <dc:date>2023-11-08T23:23:11Z</dc:date>
    </item>
  </channel>
</rss>

