<?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: search_v2 API does not work when using id in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/469398#M23921</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1372909"&gt;@Lito&lt;/a&gt; Thanks for the note! I'll follow up here once I have an update on this issue.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 16:15:32 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-11-12T16:15:32Z</dc:date>
    <item>
      <title>search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/466967#M23816</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The specification of search_v2 api&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-search" target="_self"&gt;(link)&lt;/A&gt;&amp;nbsp; is written as follows. so&amp;nbsp;I tried to search by id.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;path&amp;nbsp;String(pattern="(/(.|[\r\n]):*)?|id:.*|(ns:[0-9]+(/.*)?)")?&amp;nbsp;Scopes the search to a path in the user's Dropbox. Searches the entire Dropbox if not specified. This field is optional.&lt;/PRE&gt;
&lt;P&gt;But,&amp;nbsp;&lt;SPAN&gt;When send a request with the id on using Dropbox Api Explore , return 400 error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does search_v2 api not support searching by id?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;description:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;request:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;(Authorization and path value is masked.)&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;curl -X POST https://api.dropboxapi.com/2/files/search_v2 \
  --header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' \
  --header 'Content-Type: application/json' \
  --data '{"query":"Sample","options":{"path":"id:dummy"}}'&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Response:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Error: 400&lt;BR /&gt;&lt;/STRONG&gt;Error in call to API function "files/search_v2": &amp;lt;redacted&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;rshaizawa&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 03:23:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/466967#M23816</guid>
      <dc:creator>rshaizawa</dc:creator>
      <dc:date>2020-11-06T03:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/467101#M23824</link>
      <description>&lt;P&gt;Thanks for the report! We'll look into it.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 15:33:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/467101#M23824</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-04T15:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/468169#M23861</link>
      <description>&lt;P&gt;FYI As requested in a recent email from dropbox, I've just converted our system to use the /search_v2 api and am experiencing this problem as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Error in call to API function "files/search_v2": rpc error: ... deep stack trace removed ..."&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 01:59:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/468169#M23861</guid>
      <dc:creator>rm2020</dc:creator>
      <dc:date>2020-11-09T01:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/468385#M23870</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1371712"&gt;@rm2020&lt;/a&gt;&amp;nbsp;Thanks for the additional report. The team is aware of the issue and is looking into it. I&amp;nbsp;recommend switching to using paths instead&amp;nbsp;of IDs when calling /2/files/search_v2 to avoid this error.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 17:45:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/468385#M23870</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-09T17:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/469134#M23916</link>
      <description>&lt;P&gt;Same here, but we have the problem that we haven't paths on our system, only ids.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to do a previous&amp;nbsp;get_metadata request to get the path and then filter by path.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 20:03:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/469134#M23916</guid>
      <dc:creator>Lito</dc:creator>
      <dc:date>2020-11-11T20:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/469398#M23921</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1372909"&gt;@Lito&lt;/a&gt; Thanks for the note! I'll follow up here once I have an update on this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 16:15:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/469398#M23921</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-12T16:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/469691#M23930</link>
      <description>&lt;P&gt;This should be fixed now. Please try again and let us know if you're still seeing any issues. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 15:52:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/469691#M23930</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-13T15:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: search_v2 API does not work when using id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/470030#M23935</link>
      <description>&lt;P&gt;It works! Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 11:31:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/search-v2-API-does-not-work-when-using-id/m-p/470030#M23935</guid>
      <dc:creator>Lito</dc:creator>
      <dc:date>2020-11-15T11:31:15Z</dc:date>
    </item>
  </channel>
</rss>

