Greg-DB Dropbox Community Moderator

Comments

  • I just tried this out with v3.1.3 of the official Dropbox Java SDK, but that issue didn't occur for me. We'll be happy to look into this further, but we'll need some more information. Please reply with: * the name and version number of the platform you're using * the steps to reproduce the issue, including relevant code…
  • A 'path/not_found' error like this indicates that there was nothing found in the connected account at the path specified by the app. In this case, that's specified by the parameter value you're giving to the DownloadAsync method, which you're building from `folder + "/" + file`. Those actual values are mostly redacted from…
  • @"Vikkonst" Please try again now and let us know if you're still seeing this issue. Thanks!
  • I don't have an update on this quite yet. I'll follow up here once I do.
  • Yes, I'll follow up here once I have an update on that. I can't offer a timeline for a fix though, so please use the workaround for now.
  • If there's an issue with the official Dropbox .NET SDK, we'll be happy to look into it, but we'll need some more information. Please reply with: - the name and version number of the platform and SDK you are using - the steps to reproduce the issue, including relevant code snippet(s) - the full text of any error or…
  • Thanks! First, note that this should start with "https://www.dropbox.com/oauth2/authorize", not "https://www.dropbox.com/2/oauth2/authorize". That is, you have an extra "2/". Also, please try adding the protocol to your redirect URI (both in the authorize URL and pre-registered for your app on the app's page on the App…
  • @"Avengers" I'm not sure I understand your post. If you have a question or issue regarding the Dropbox API, please share more details. Thanks!
  • @"FSUInnovation" Can you share some more detail on how exactly I can reproduce this? Or, perhaps you can share a short screencast showing it? I'm not able to reproduce this kind of error when I try the authorization flow myself (or even by browsing directly to the URL in the screenshot). Thanks!
  • 1. When someone opens the Dropbox Chooser, e.g., from your site, the Chooser only allows access to that end-user's own Dropbox account, i.e., whatever account is signed in to dropbox.com (or whatever account the user signs in to if not already signed in). They can then choose one or more existing file(s) from their…
  • Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers Note though that the API was designed with the intention…
  • I can't provide insight on that shutdown method as it's not made by Dropbox, but judging from the description, the Dropbox Java SDK doesn't offer an equivalent method. You can release any resources you've opened in your own code and just discard the Dropbox client as desired. (The tokenRevoke method would actually disable…
  • Using the "fileBlob" property is the right way to get the thumbnail data. Currently, you'll need to access it like this though: https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/typescript/download/download.ts#L10 Apologies this isn't better documented or included in the TypeScript definitions! I'll ask the…
  • The Dropbox API servers are being served with valid SSL/TLS configurations, and I'm not aware of any current service disruptions that may cause this. It sounds like there may an issue with your network connection or system. Here are some threads that may be helpful: *…
  • Great, thanks for the information.
  • Great, thanks, that's helpful. I'll follow up here once I have an update on that for you. Also, if you're still seeing an issue on get_metadata, please share some request IDs for that as well. Thanks!
  • The files_upload_session_finish method returns the FileMetadata instance you want, so you should update your use of files_upload_session_finish. In your original code, you're just printing it out, but you can instead save it to a variable and use it there, or return it from your dropboxupload method and use it later.
  • According to the PHP curl documentation, the 'CURLOPT_HEADER' option is to "to include the header in the output". It doesn't set the headers for the request. You should use the 'CURLOPT_HTTPHEADER' option for that instead.
  • The OAuth app authorization flow seems to be working successfully for me in Firefox. Can you share the specific steps to reproduce this issue? Thanks in advance! 
  • [Cross-linking for reference: https://stackoverflow.com/questions/60302382/python-dropbox-upload-working-with-the-response ] The 'dropbox.files.FileMetadata' is just the class, and not an instance containing the information for this uploaded file. That is, you'll want to do something like this (or return it and use it…
  • We're looking into this, but we'll need some request IDs to be sure we're identifying the right issue(s). Were you able to add the logging? Please share some request IDs for some failures, ideally from today. Thanks!
  • 1. Yes, you're definitely on the right track here, and your description sounds right. There are a few extra pieces of functionality that you may want to be aware of too. First, while "rev" identifies a particular revision of a file, the Dropbox API also offers a "content hash" which is directly indicative of the actual…
  • To list the contents of a folder, you should use /2/files/list_folder[/continue]. You can use that to list the contents of a folder in the connected account, or to list the contents of a folder for which you have a shared link (by setting the 'shared_link' parameter on the /2/files/list_folder call). To move files from one…
  • You do not need to get a different app key for each account. As the developer, you only need to register your app once, at which point you'll receive an app key for the app. The app key only identifies the app, and does not enable access to any particular account. You can use the one app key in your app to allow multiple…
  • Yes, the Dropbox API does have a rate limiting system. (That's not what's happening here though. If an app hits the rate limit, the Dropbox API would reply with a 429 error status, not a 500.) Anyway, we'll try to look into this based on the timestamps, but please do share the request IDs if possible. Thanks!
  • A 500 server error should indicate the call failed because of an issue on the Dropbox servers. Can you share a few sample 'X-Dropbox-Request-Id' response header values for these failures? That should help us track it down. Thanks in advance! 
  • 1. We generally don't comment on future plans, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 2. Once you register a webhook URI for a Dropbox API app, Dropbox will send webhook notifications for changes in the accounts of all users connected to that app. For…
  • Paper docs can be shared with other users, whether or not the other users are on the same team as the owner. In the example you shared, the second account does have access to the Paper doc, which is owned by the first account. Also, I see you posted some personal information and (most of) an access token above, so I've…
  • To download a file directly from a connected account using the Dropbox API, you can use the /2/files/download endpoint. In the official Dropbox Java SDK, that's available the download methods. Or, to get a temporary direct link to a file, you can use /2/files/get_temporary_link, which is getTemporaryLink in the Java SDK.…
  • It is possible to use one app to connect to multiple different Dropbox accounts. For developing an Android app that uses the Dropbox API, we recommend using the official Dropbox Java SDK: https://github.com/dropbox/dropbox-sdk-java There's an example Android app here:…