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

Forum Discussion

CuriousWolf92's avatar
CuriousWolf92
New member | Level 2
3 years ago

SearchFiles Call with Salesforce works bot not properly

Good evening, I write as we are experiencing problems with the searchFiles call to the endpoint https://api.dropboxapi.com/2/files/search_v2.
I should mention that the API call is used by salesforce, so there is an integration that first generates the authentication token with Oauth2, and then makes the actual call, using only the "query" parameter in the body of the call.
The call works correctly, the response code is 200, however, depending on the salesforce user making the call sometimes finds the files, sometimes not. This is very strange, as the configured dropbox app is only one and the dropbox user is unique for all salesforce users. The value that is passed into the "query" parameter is the same for all users, so we cannot understand what is the reason for this difference in the behaviour of the call.
We look forward to your kind feedback,
thank you in advance

1 Reply

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

    One reason for the search results being different across users is if the users have different contents in their accounts, e.g., if the relevant items are not currently mounted in an affected user's account. I see you also open a support ticket for this though, so we'll review this specifically for you and follow up with you there.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!