<?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: empty  response from copy api in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/384771#M21399</link>
    <description>&lt;P&gt;Thanks for the additional details! I'm able to reproduce this now.&lt;/P&gt;
&lt;P&gt;It looks like this can happen when you specify a "to_path" value of a ID for a file with an extra path component appended on ("/new" in your case). Since the file ID is already for a file, you can't add an extra path component. (Files can only be nested inside folders, not files.) I'll ask the team to return a better error in this case.&lt;/P&gt;
&lt;P&gt;Instead, you should supply the path where you want to put the file copy (like "/folder/newfile.ext"), or a file ID (like "id:FHpvNWBYUsAAAAAAAAAAdQ"), or the ID for a folder with a sub-path appended (like "id:ABC1234"/newfile.ext" where "id:ABC1234" is the ID for a folder).&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 14:25:22 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-12-17T14:25:22Z</dc:date>
    <item>
      <title>empty  response from copy api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/383633#M21345</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/copy_v2" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/copy_v2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Two cases&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp; id of files in both the input "from_path" and "to_path",&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) id of folder in "from_path" id of a file in "to_path".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it gives EMPTY response, with 500 internal server error.&lt;/P&gt;
&lt;P&gt;can you provide a specific error message ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 14:53:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/383633#M21345</guid>
      <dc:creator>shivam19</dc:creator>
      <dc:date>2019-12-11T14:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: empty  response from copy api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/383652#M21350</link>
      <description>&lt;P&gt;This issue isn't reproducing for me. It's possible there's some other condition necessary to reproduce this.&lt;/P&gt;
&lt;P&gt;Can you share the code you're using to reproduce this, as well as some sample "X-Dropbox-Request-Id" response header values for these errors? That would help us investigate. Please don't post your access token though.&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 15:49:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/383652#M21350</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-11T15:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: empty  response from copy api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/384718#M21396</link>
      <description>&lt;P&gt;Hello Greg,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I have tried this from postman only.&lt;/P&gt;&lt;P&gt;In postman, I am getting&amp;nbsp;&lt;SPAN class="response-meta-status-code"&gt;500&lt;/SPAN&gt;&lt;SPAN class="response-meta-status-code-desc"&gt;Internal Server Error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="response-meta-status-code-desc"&gt;URL : &lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/copy_v2" target="_blank"&gt;https://api.dropboxapi.com/2/files/copy_v2&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="response-meta-status-code-desc"&gt;Req Body :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="response-meta-status-code-desc"&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "from_path": "id:FHpvNWBYUsAAAAAAAAAAag",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;"to_path": "id:FHpvNWBYUsAAAAAAAAAAdQ/new"&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://www.dropboxforum.com/t5/image/serverpage/image-id/12853i1B3DF0429F1AF3B1/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="dropbox_copy.PNG" title="dropbox_copy.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:29:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/384718#M21396</guid>
      <dc:creator>shivam19</dc:creator>
      <dc:date>2019-12-17T10:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: empty  response from copy api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/384771#M21399</link>
      <description>&lt;P&gt;Thanks for the additional details! I'm able to reproduce this now.&lt;/P&gt;
&lt;P&gt;It looks like this can happen when you specify a "to_path" value of a ID for a file with an extra path component appended on ("/new" in your case). Since the file ID is already for a file, you can't add an extra path component. (Files can only be nested inside folders, not files.) I'll ask the team to return a better error in this case.&lt;/P&gt;
&lt;P&gt;Instead, you should supply the path where you want to put the file copy (like "/folder/newfile.ext"), or a file ID (like "id:FHpvNWBYUsAAAAAAAAAAdQ"), or the ID for a folder with a sub-path appended (like "id:ABC1234"/newfile.ext" where "id:ABC1234" is the ID for a folder).&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:25:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/384771#M21399</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-17T14:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: empty  response from copy api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/385744#M21437</link>
      <description>&lt;P&gt;Hello Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are writing web-services, error handling part. I encountered one more scenario :&lt;/P&gt;&lt;P&gt;If we provide a wrong folder id(which doesn't exist) in "from_path", it gives the proper error message as :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error_summary"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"from_lookup/not_found/..."&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;".tag"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"from_lookup"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"from_lookup"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;".tag"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"not_found"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But when we give a wrong folder id in "to_path", then it gives an empty response body with 500 internal server error.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;IMG src="https://www.dropboxforum.com/t5/image/serverpage/image-id/12925iF355D440EF4C6ACC/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="copy_error_2.PNG" title="copy_error_2.PNG" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Dec 2019 13:49:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/385744#M21437</guid>
      <dc:creator>shivam19</dc:creator>
      <dc:date>2019-12-23T13:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: empty  response from copy api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/385773#M21442</link>
      <description>&lt;P&gt;Thanks for the report!&amp;nbsp;I'll ask the team to fix the error reporting in that case too.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 16:58:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/empty-response-from-copy-api/m-p/385773#M21442</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-23T16:58:44Z</dc:date>
    </item>
  </channel>
</rss>

