Greg-DB Dropbox Community Moderator

Comments

  • The team has finished some further work on this, and is reporting the performance should be back to about previous levels. There is certainly still room left for improvement, and the team has an open feature request to improve performance in general, but I don't have a timeline for if/when further improvements would be…
  • The team has finished some further work on this, and is reporting the performance should be back to about previous levels. There is certainly still room left for improvement, and the team has an open feature request to improve performance in general, but I don't have a timeline for if/when further improvements would be…
  • You don't need to be already authorized for API v2 to use this endpoint. This endpoint just requires the app key, secret, and OAuth 1 access token (key and secret), not an OAuth 2 access token. The issue you're running in to is that /2/auth/token/from_oauth1 uses "app authentication" (i.e., you should provide the app key…
  • I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: - the name and version of the platform and SDK/library you are using, if any - the steps to reproduce the issue - the full text of any output or errors - the relevant code snippet(s) Thanks in…
  • When you set include_media_info=true, files will not be returned until their media information is available. The media information for files isn't always immediately available though, so you can get missing file entries like this. They will get listed once the information is available, but this can take a variable amount…
  • If you're using the official .NET SDK, you can find some examples here: https://github.com/dropbox/dropbox-sdk-dotnet/tree/master/Examples We'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: - the name and version of the SDK/library you are…
  • As you mentioned, this isn't documented so it's subject to change, but I believe it's up to 2000 entries per page.
  • Yes, Business accounts can use the Chooser/Saver.
  • The API v2 Dropbox JavaScript SDK does not handle access token storage automatically. It is left to the developer to decide what makes sense for their app/platform.
  • If you're using the API v2 Objective-C SDK, the equivalent method is getCurrentAccount: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBUSERSRoutes.html#/c:objc(cs)DBUSERSRoutes(im)getCurrentAccount Here's an example of how you would make an "RPC-style" request like that (for creating a folder in this…
  • Si utiliza el Chooser o el Saver, debe registrar los dominios que utilizará en el campo "Chooser / Saver domains" de la página de la aplicación en la consola de aplicaciones: https://www.dropbox.com/developers/apps Si no registra su dominio (s) como dominios Chooser / Saver, obtendrá ese mensaje de error cuando intente…
  • I can't promise if or when we'd release API functionality for that, but I'll be sure to pass this along as a feature request.
  • Hi Raheel, you can find the documentation for listFolderLongpoll itself here. Using it would look like this: // cursor should be the Files.ListFolderResult.cursor as retrieved by the last call to listFolderContinue DropboxClientsManager.authorizedClient?.files.listFolderLongpoll(cursor: cursor).response(completionHandler:…
  • It sounds like you're referring to the download method in SwiftyDropbox:…
  • [Cross-linking for reference: https://stackoverflow.com/questions/42755495/dropbox-download-file-api-stopped-working-with-400-error ] The error message is indicating that the access token isn't being supplied with the request properly. I can't offer much help with using the HTTP client in Angular, but here's a simplified…
  • I don't have an update on this yet. I'll follow up here once I do.
  • Hi Ashley, "include_has_explicit_shared_members" is a parameter that you can set on some endpoints, such as /2/files/get_metadata. The documenation there documents it as: "include_has_explicit_shared_members Boolean If true, the results will include a flag for each file indicating whether or not that file has any explicit…
  • "Dropbox Business API" app keys can't be used for the Chooser or Saver. You'll need to register a "Dropbox API" app for that: https://www.dropbox.com/developers/apps/create You don't need to apply for production to use the Chooser/Saver though, so you can move ahead with the integration as soon as you register the app.
  • Hi Tinus, unfortunately, app folders are incompatible with shared folders. That is, app folders can't contain shared folders, be contained in shared folders, or themselves be shared as shared folders. If you need your app to interact with shared folders, you'll need to use full Dropbox access.
  • Hi Craig, that extra URL scheme is to support users who have the 'EMM' version of the official Dropbox app. (You can find more information on EMM in the help center.) The third party app authorization flow will normally work via the official Dropbox app, if installed. By adding this extra URL scheme, the same thing will…
  • When you use that download method, the file data will be downloaded to whatever stream you supply. In this case, it's your "outputStream" variable, which is a "FileOutputStream" for "file". That being the case, to avoid this I recommend sending the file directly to the desired location, instead of using the Downloads…
  • The reset error should be relatively rare, for example, in the case where maintenance requires us to reset that cursor state. We don't have a way to simulate this response unfortunately, but I'll be sure to pass this along as a feature request. One edge case where you can force this though is with app folder app by…
  • These links, e.g., as returned by /2/files/get_temporary_link, are temporary and do expire after four hours, so that error is expected. You can call the API again to get a new link if you need, or if you just need to directly download file data, you can use /2/files/download.
  • The tokens retrieved by /oauth2/token and the App Console's "Generate" button are the same kind of access tokens. The only thing to note is that the "Generate" button can only be used to get an access token for the single account that owns the app, whereas the OAuth flow can be used to get an access token for any account.…
  • Unfortunately due to some specifics of how Dropbox is implemented, not all of the path components can be guaranteed to have the expected casing. You can find more information on this in the "Path formats" section under: https://www.dropbox.com/developers/documentation/http/documentation#formats There's also some…
  • We made `kV2SDKVersion` public in the API v2 Objective-C SDK, as of v3.0.4. Hope this helps!
  • If you want to integrate with the Dropbox API on Android, we recommend using the Dropbox API v2 Java SDK: https://www.dropbox.com/developers/documentation/java There's an example app for Android in particular here: https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android It shows how to upload a file here:…
  • We're happy to help with any issues or questions you have regarding the Dropbox API itself, but we can't offer app security advice. If you have any security questions, you should consult with a security professional. That said, using local storage sounds like a reasonable solution in your case, but I can't speak to the…
  • Thanks for the post! It sounds like the file request feature linked to in this thread is the closest to what you're looking for. You're correct though, the API doesn't offer access to that feature unfortunately. I'll send this along as a feature request.
  • You can "link" or "authorize" an API app to connect multiple accounts. To do so, you should go through the OAuth app authorization flow for each account you want it to connect to. You can find more information on the OAuth app authorization flow in the OAuth guide. At the end of the flow, your app will receive an access…