Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

amjadkhalil's avatar
amjadkhalil
New member | Level 2
4 years ago
Solved

Searching using search_v2 not searching in all directory

When i use the api search_v2 to search for a file by file name it do search only on the APP Folder that was created by api, and it does not search in the whole Dropbox.

Any solution for this?

  • Greg-DB's avatar
    Greg-DB
    4 years ago

    Thanks to Здравко for helping troubleshoot this.

     

    amjadkhalil If you're still unable to get the expected results, we can help look into this specifically. In that case, you can open an API ticket here and share the following details:

    • the registered name of the API app for the access token you're using
    • the name and version number of the platform and SDK/library you are using, if any
    • the steps to reproduce the issue, including relevant code snippet(s) and parameter value(s), but don't include any access or refresh token(s)
    • the affected account ID(s)
    • the output you are currently getting
    • a sample of the expected output

17 Replies

Replies have been turned off for this discussion
  • amjadkhalil's avatar
    amjadkhalil
    New member | Level 2
    4 years ago

    Thank you.I did personalised the dropbox app and unchecked all team options.

    After doing that i still can not retrive results from shared folder?

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    4 years ago

    Did you reissue the token in use? 🧐 Take in mind that token caches the permissions state and any change is NOT retroactive!

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    4 years ago

    Ok... Try investigate what's wrong now... Is there some error?... Are you able reach to/list the file in interest?...

  • amjadkhalil's avatar
    amjadkhalil
    New member | Level 2
    4 years ago

    No errors at all:
    am sending this data:

    {
    "match_field_options": {
    "include_highlights": false
    },
    "options": {
    "max_results": 300
    },
    "query": "Hans Gustafson"
    }
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    4 years ago

    😁 And... Ok, be more initiative...

    I can't guess what's the result!!! Again, are you able list (within your application) the target file where you know "Hans Gustafson" resides in (in particular)?

    By the way, "include_highlights" default value is False, so it's meaningless here.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    4 years ago

    Thanks to Здравко for helping troubleshoot this.

     

    amjadkhalil If you're still unable to get the expected results, we can help look into this specifically. In that case, you can open an API ticket here and share the following details:

    • the registered name of the API app for the access token you're using
    • the name and version number of the platform and SDK/library you are using, if any
    • the steps to reproduce the issue, including relevant code snippet(s) and parameter value(s), but don't include any access or refresh token(s)
    • the affected account ID(s)
    • the output you are currently getting
    • a sample of the expected output

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!