<?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 GetMetadata for Team folders - different response based on parameter in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/410191#M22206</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I've noticed a strange behavior when using the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;/get_metadata&lt;/A&gt; endpoint when using it for Team folders on a Business account:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use it for a soft deleted folder with "path": "ns:1701052593/TeamFolder" I receive the .deleted tag. However when I change the path parameter to use the id of the folder like&amp;nbsp; "path": "id:wyXLk_56qkAAAAAAAAAHwF" I receive the path/not_found exception. In both cases I have set "include_deleted" to true. I encounter this behavior for Team folders exclusively. For other folders I get the .deleted tag in both cases. Is this a API bug or is it like this by design?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2020 17:29:07 GMT</pubDate>
    <dc:creator>BIMcollab</dc:creator>
    <dc:date>2020-04-15T17:29:07Z</dc:date>
    <item>
      <title>GetMetadata for Team folders - different response based on parameter</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/410191#M22206</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I've noticed a strange behavior when using the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener"&gt;/get_metadata&lt;/A&gt; endpoint when using it for Team folders on a Business account:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use it for a soft deleted folder with "path": "ns:1701052593/TeamFolder" I receive the .deleted tag. However when I change the path parameter to use the id of the folder like&amp;nbsp; "path": "id:wyXLk_56qkAAAAAAAAAHwF" I receive the path/not_found exception. In both cases I have set "include_deleted" to true. I encounter this behavior for Team folders exclusively. For other folders I get the .deleted tag in both cases. Is this a API bug or is it like this by design?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 17:29:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/410191#M22206</guid>
      <dc:creator>BIMcollab</dc:creator>
      <dc:date>2020-04-15T17:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: GetMetadata for Team folders - different response based on parameter</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/410390#M22211</link>
      <description>&lt;P&gt;I just tried this out myself in a test account for reference, and I don't think I'm seeing the same behavior. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/get_metadata \
    --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \
    --header "Dropbox-API-Select-User: &amp;lt;MEMBER_ID&amp;gt;" \
    --header "Content-Type: application/json" \
    --header 'Dropbox-API-Path-Root: {".tag": "root", "root": "1990815600"}' \
    --data "{\"path\": \"id:5aUO2rfctSAAAAAAAAAAAQ\", \"include_deleted\": true}"
    
# {
#   ".tag": "deleted",
#   "name": "test_410191",
#   "path_lower": "/test_410191",
#   "path_display": "/test_410191"
# }&lt;/PRE&gt;
&lt;P&gt;Are you using the "Dropbox-API-Path-Root" header though? You would need to use that to set the root of the API call to the team space where the folder existed to get the deleted metadata. Please refer to &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;the Namespace Guide&lt;/A&gt; for more information on how this works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, alternatively, are you sure you're using the right file ID? You could get that error if it's not actually the ID of the folder that was deleted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 16:44:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/410390#M22211</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-15T16:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: GetMetadata for Team folders - different response based on parameter</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/413221#M22317</link>
      <description>&lt;P&gt;Hey Greg,&lt;BR /&gt;&lt;BR /&gt;Unfortunately I am still experiencing the same behavior. Please take a look at the attached scnreenshots of the request:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.JPG" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15140iFEDEFAE83CF06D06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture2.JPG" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15139i266A38318845D75E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After this request, I soft deleted the team folder in Dropbox and repeteated the request (I haven't changed any headers or the body)&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3.JPG" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15141iE4086137FAE04D91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3.JPG" alt="3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 09:11:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/413221#M22317</guid>
      <dc:creator>BIMcollab</dc:creator>
      <dc:date>2020-04-23T09:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: GetMetadata for Team folders - different response based on parameter</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/413375#M22320</link>
      <description>&lt;P&gt;Thanks, that's helpful. Can you confirm you used the API to create and delete the folder as well? It looks like I was doing something different in my test which resulted in a different behavior. We'll look into the behavior you're seeing.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 15:57:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/413375#M22320</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-23T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: GetMetadata for Team folders - different response based on parameter</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/414782#M22367</link>
      <description>&lt;P&gt;Hi Greg,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can confirm that I used the API to create the folder. However I have only tried deleting it from the Dropbox website (manually) and then restoring it from the website as well. I am not sure what the impact of this is?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:38:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/414782#M22367</guid>
      <dc:creator>BIMcollab</dc:creator>
      <dc:date>2020-04-28T08:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: GetMetadata for Team folders - different response based on parameter</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/414960#M22390</link>
      <description>&lt;P&gt;Thanks for confirming that! It looks like creating this folder via the API as opposed to the web site is what made the difference here. This is open with the team and I'll follow up here once I have an update on this.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:21:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/GetMetadata-for-Team-folders-different-response-based-on/m-p/414960#M22390</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-04-28T15:21:03Z</dc:date>
    </item>
  </channel>
</rss>

