Greg-DB Dropbox Community Moderator

Comments

  • Based on your reference to "the choose module", it sounds like you're referring to using the Dropbox Chooser and saving the link to chosen file(s). The Dropbox Chooser is intended as a way for third party applciations to easily let users select files from their accounts, returning the links for those files to the app. What…
  • For client-side applications in particlar, such as in browser JavaScript, using the "token" a.k.a. "implicit" Dropbox OAuth app authorization flow is the expected and reccomended technique. That is supported by the official Dropbox JavaScript SDK. You can see it getting set in the SDK's code here if you're interested, and…
  • Yes, if you want to list and monitor the file changes for all of the members of your Business team, there are two ways you may go about it: * Using /2/team_log/get_events[/continue] with a Dropbox Business API app with "team auditing" access: This allows you to list and then continue to monitor file change events for all…
  • @"chibimagic" Are you referring to the Getting Started PDF in particular? If so, please try again now and let me know if you're still seeing this issue.
  • @"billGeb" That's correct, unfortunately you can't directly modify the shared link for a folder containing files in order to get a shared link for one of those files. (If you browse through the web page for a shared link for a folder manually, for instance, you'll see that it's more than just the file path that changes in…
  • Are the namespace IDs for the team members' home folders? By default, API calls operate using the member's home folder as the "root", but you can't retrieve the metadata for"root". So, while the folders have contents that can be listed, you can't retrieve the metadata for the folder itself. For teams using the team space…
  • Yes, for client-side apps, you should use the "implicit" a.k.a. "token" flow. This is the version of the Dropbox OAuth app authorization flow that does not require use of the app secret. The DbxWebAuth class in the official Dropbox API v2 Java SDK is only built for web apps though, and does not support the implicit…
  • I'm sorry to hear about your trouble in the support ticket. In some simple cases in the past I have been able to get the issue rectified directly, but I cannot always do so. Anyway, it looks like the support agent on your ticket was confused. I'll re-open it and redirect it to the right people.
  • Thanks! Based on the code you shared, I see that you're using the "code" flow (i.e., 'response_type=code'). For the code flow, only "https://" is allowed in the redirect URI (unless on localhost), so "myapp://" wouldn't be allowed. Instead, for client-side applications like this, you should use the "token" flow, i.e.,…
  • Can you share the full URL of the page displaying the error, as well as the text of the error itself? Thanks in advance! 
  • The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented. For reference though, the limits operate on a per-user basis. However, note that not all 429s and 503s indicate explicit rate limiting, but in any case that you get a 429 or 503 the best practice is to retry the request,…
  • @"RTS S." The issue that was originally reported here was fixed on Dropbox's side. This thread is very old now though, and things have changed since then. We now document that the /oauth2/authorize page should be processed in the user's system browser anyway. If you're not already doing that, please update your app to do…
  • That's correct, unfortunately DeletedMetadata doesn't include the file ID, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. For files, you can call /2/files/list_revisions with the path from the DeletedMetadata to get the history of the file at that path though,…
  • [Cross-linking for reference: https://stackoverflow.com/questions/55233124/how-to-upload-ipa-file-to-dropbox-using-fastlane-and-circleci ] I see that you're using a pre-built plugin made by a third party. We're happy to help with any issues you may be having with the Dropbox API itself, but since this looks like a…
  • If you believe these files are incorrectly restricted, please open a ticket with support so they can look into it. Thanks!
  • The Dropbox OAuth app authorization process supports two different "flows" or "grants": the "code" flow and the "token" flow. You can find more information on both of these in the Dropbox authorization documentation here: https://www.dropbox.com/developers/documentation/http/documentation#authorization From the snippet you…
  • It sounds like you're referring to the three device limit for Basic accounts documented here. That limit applies to the devices that can be connected to the Dropbox product itself, via official Dropbox applications, such as the official Dropbox desktop client or mobile applications. This limit does not apply to third party…
  • @"Psome" When downloading a file from the Dropbox API, it will just return whatever raw data was uploaded. Since in your case the file is displaying in the Dropbox web UI, it sounds like the issue you're seeing may be slightly different than the original issue in this thread. I'll follow up with you privately to see if we…
  • My (Java) app. needs to know how a Dropbox filesystem (or part of it) changes and also has changed while she's not running. The listFolderLongpoll API seems to be well suited for this purpose and my first tests are promissing. You can use the listFolder[*] methods to see what exists in the account, and what has changed.…
  • [Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-java/issues/240 ]
  • I'm closing this as a duplicate of: https://www.dropboxforum.com/t5/API-Support-Feedback/Dropbox-with-React-Native/m-p/334449 
  • In order to use the Dropbox Chooser or Saver you need to pre-register the domains you'll use it on. You can do that by entering them under "Chooser/Saver domains" on your app's page on the App Console: https://www.dropbox.com/developers/apps If you don't do so, you'll get this error message when attempting to use the…
  • @"Daniel_Dosen" Thanks for the idea! I'll pass it along.
  • Thanks for the report! This looks like a bug on our side when using /2/files/list_folder/get_latest_cursor as opposed to starting from /2/files/list_folder. We'll look into it. I'll follow up here once I have any news on this issue.
  • 1. No, the external ID is not local only. It is persisted on the Dropbox servers. 2. It's not possible to set the external ID manually via the Dropbox web site. You can use the API to set it programmatically. With the Java SDK, that's done via membersAdd or membersSetProfileBuilder.
  • It looks like you're printing out the file metadata from an API call that returns information about the file. To get the file's actual content, you should instead use /2/files/download: https://www.dropbox.com/developers/documentation/http/documentation#files-download 
  • The 'too_many_write_operations' error indicates "lock contention". That's not explicit rate limiting, but rather a result of how Dropbox works on the backend. This is a technical inability to make a modification in the account or shared folder at the time of the API call. This error indicates that there was simultaneous…
  • No, unfortunately there isn't a way to make the API return folders only, but I'll pass this along as a feature request. 
  • You should use the same headers, but the body is used for endpoint-specific parameters, which can vary by endpoint. The /2/files/list_folder and /2/files/list_folder/continue endpoints in particular do take different parameters. For /2/files/list_folder/continue, the body should only contain the expected "cursor" parameter…
  • Can you share the code and parameters you're using, and the output you're getting in that case? That way I can take a look and see what the issue may be. (Make sure you check the response body for the error. I suspect it's 'not_found' in this case, but it always good to check to be sure.) I've sent your feature requests…