Greg-DB Dropbox Community Moderator

Comments

  • As you found, Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations, so that is possible. I see you already found the developers site. These guides in particular may be useful: * https://www.dropbox.com/developers/reference/getting-started *…
  • [Cross-linking for reference: https://stackoverflow.com/questions/75426433/asp-net-mvc-refresh-token-for-dropbox-have-error-invalid-grant ] An 'invalid_grant' error can indicate that the values you're supplying to ProcessCodeFlowAsync are incorrect/invalid, or that they don't match the configuration used with…
  • Based on your reference to "user code" and "device code", it sounds like you're looking for the OAuth 2 "device flow". Dropbox does not currently offer support for the OAuth 2 device flow, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Dropbox currently only…
  • @"Asharaf" There isn't an individual file size download limit, but there is an overall per-account per-day limit on the amount of bandwidth that can be used for shared links. You can find information on those limits here. Download connections that take a long time may also eventually time out, but we don't have specific…
  • This can occur when the user's account has their links banned. You can find more information on that here: https://help.dropbox.com/files-folders/share/banned-links I'll ask the team to see if we can improve the behavior in the Chooser in this case. If you need help with the state of your account, you can contact support…
  • @"AngelBlot" No, unfortunately I don't have any news on this request.
  • Here's an example of how you can update a folder member to the viewer access level using the Dropbox .NET SDK: MemberSelector.Email memberSelector = new MemberSelector.Email(emailAddress);MemberAccessLevelResult updateMemberResult = await client.Sharing.UpdateFolderMemberAsync( sharedFolderId:sharedFolderId,…
  • Unlike /2/files/list_folder and /2/files/list_folder/continue, the /2/files/list_folder/longpoll endpoint should be accessed on the 'notify.dropboxapi.com' host (not 'api.dropboxapi.com'). Please update your code to use 'https://notify.dropboxapi.com/2/files/list_folder/longpoll' and let me know if you're still running in…
  • Thanks, that's helpful. For a file in the team space, you'll need to set the "Dropbox-API-Path-Root" accordingly in order to operate on it. The Team Files Guide has information on how to use that. Please update your code to set that. I'll also ask the team to fix up the error handling on the server to return a more useful…
  • The feature requests have been filed, but I don't see any plans for work on them, so I couldn't speak to if or when the team would be doing them.
  • @"See Saw IT Support" To list the members of a shared folder, including each member's access level such as 'owner', etc., you would use sharing_list_folder_members and sharing_list_folder_members.
  • I just checked on that ticket and I see you submitted some feature requests to the support agent you communicated with. There aren't currently any updates or plans on those feature requests.
  • Thanks for the feedback! I'm sorry to hear about the trouble here, but I'm glad to hear you did find the issue. I'll pass this feedback along to the team. If you haven't already, I recommend reading the Team Files Guide, as it covers how to interact with the team space using the API. By default, API operations, including…
  • A 500 error would indicate an issue on the server, so we'd need to look into that. I'll be happy to help with that, but I'll need some more information. Please reply with: * the steps to reproduce the issue with /sharing/create_shared_link_with_settings, including relevant code snippet(s), but don't include any access or…
  • Dropbox doesn't offer batch endpoints for sharing multiple folders or adding members to multiple folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You should avoid making multiple changes at the same time to avoid lock contention, which can cause some to…
  • @"amilcarvalho" Are you still seeing the issue with the file not being returned in the /2/files/search_v2 results when searching by tag? If so, please share the affected account ID and file ID so we can look into more specifically. Feel free to open an API ticket here to share privately. Thanks!
  • Thanks for following up. I'll be happy to look into this more specifically, but I'll need some more information. Please reply with: * 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 text of the output * an example of how…
  • @"env" As Здравко noted, this error message is referring to specifying what account on the Business team to operate on behalf of. For reference, when using any "team scopes", the resulting access token is connected to an entire Dropbox Business team, not an individual account. So, when using a team-scoped access token to…
  • Thanks for the detailed report! This looks like a bug on the search endpoint. We'll look into it and I'll follow up here when I have an update.
  • There are also 'path_root' and 'select_user' URL parameters for those headers, respectively. They work like the 'authorization' header, in that the value would be the same value as passed to the corresponding header, plus the necessary URL encoding. These aren't officially documented, but I'll ask the team to document them.
  • I just tested uploading a file using the Dropbox .NET SDK and I received a successful response and found the uploaded file at the relevant path in the connected account on the Dropbox web site. Can you double check that you're signed in to the same account on the web site that you're connected to via the API? Also, make…
  • @"env" I see you posted the same question in two threads, so I've combined them here in one. Dropbox is switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term access by…
  • @"Asharaf" As Здравко mentioned, you can download directly from Dropbox shared links by modifying the shared links for direct access. You can find the documentation for doing so in the help center here.
  • The Dropbox API/SDKs, such as the Dropbox .NET SDK you're using, list files by communicating with the Dropbox API servers, not the local filesystem. If the ListFolderAsync method is raising a path/not_found error, that indicates that there is nothing found at the specified path in the connected account. In this case, that…
  • @"agomezv" Yes, that process would give you a refresh token that can be stored and re-used repeatedly to get new short-lived access tokens as needed.
  • @"boomtech" Thanks for trying that and following up. I see you're getting an "access_denied" error, which means "The user is not allowed to create a shared link to the specified file. For example, this can occur if the file is restricted or if the user's links are banned.", so you'll need to contact support here for help…
  • I'll be happy to help with any issues you're having with the Dropbox API/SDK, but I'll need some more information. Please reply with: * the version number of the platform and SDK you are using * the steps to reproduce the issue, including relevant code snippet(s) (for instance, which of the two lines you included is…
  • @"admsho" As Здравко noted, you need to register the redirect URI(s) for your app. You can do so via the "OAuth 2" "Redirect URIs" section of the app's page on the App Console.
  • The /2/sharing/create_shared_link endpoint is deprecated in favor of /2/sharing/create_shared_link_with_settings. Please try /2/sharing/create_shared_link_with_settings instead and let me know if that fails as well, and if so share the error it returns.