cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Folder not returned in through search API

Folder not returned in through search API

ariod
Explorer | Level 4
Go to solution

Are there any cases where a team folder would not be returned through the search API (filesSearchV2), but the same folder would be listed in the search results on Dropbox web? (When searching by the same query.)

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

@ariod The Dropbox website may be using different options/capabilities. If something on the API isn't working as expected for you, please share the specific steps/code to reproduce the issue and the unexpected output, as well as an example of what you do expect, so we can take a look. Feel free to open a ticket here if you'd prefer to share privately. Thanks!

View solution in original post

6 Replies 6

Здравко
Legendary | Level 20
Go to solution

Did you properly set the call' root? If not set, the root defaults to logged user' (team member) private folder and everything that can be done (including search) is restricted to there.

ariod
Explorer | Level 4
Go to solution

Thanks for the fast response! By "root", do you mean the "path" property of SearchOptions?

Здравко
Legendary | Level 20
Go to solution

🙂 No, no...

Take a look here for more info. 😉

Hope this helps.

ariod
Explorer | Level 4
Go to solution

Thanks, this was useful. The app is scoped to Full Dropbox access, and no header is sent to override the root.

My understanding per this document is that in this case the search should work on all folders within the user's Dropbox folder, including team folders. Am I correct?

Здравко
Legendary | Level 20
Go to solution

@ariod wrote:

...
My understanding per this document is that in this case the search should work on all folders within the user's Dropbox folder, including team folders. Am I correct?


In the topic are described different cases. Only one of them is "root" (in spite all use the same header)! In case of properly set root - Yes, you are correct. In case of set other namespace - your work (including search) will be restricted to particular namespace.

 

Add: Something that might confuse you is that team folders are not private and not part of user private (home) folder! ðŸ˜‰ Take this into account. What you are seeing on your computer Dropbox folder (for instance) is not only the home folder, but all visible to particular user (team member) folders.

Greg-DB
Dropbox Staff
Go to solution

@ariod The Dropbox website may be using different options/capabilities. If something on the API isn't working as expected for you, please share the specific steps/code to reproduce the issue and the unexpected output, as well as an example of what you do expect, so we can take a look. Feel free to open a ticket here if you'd prefer to share privately. Thanks!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
  • User avatar
    ariod Explorer | Level 4
What do Dropbox user levels mean?