Comments
-
If the shared folder is mounted in the account of the connected user: - to list the contents, it is best to use /2/files/list_folder (supplying the `path` value), and /2/files/list_folder/continue, if necessary. - the download file data, it is best to use /2/files/download. (Using /2/files/get_temporary_link would also…
-
The SDKs don't offer the option to disable the use of the official Dropbox app for the app authorization flow, but I'll pass this along as a feature request.
-
Apologies for not following up on this sooner. I just wanted to update this to let you know we now officially document which file types give which preview type: https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#getPreview-java.lang.String-
-
This should be fixed now. Please let us know if you're still seeing any issues.
-
Can you double check that there are still entries to list in the relevant account, e.g., via the web site? Make sure you didn't accidentally delete the contents in the Dropbox folder (or in the relevant app folder, if you're using an app with the "app folder" permission). If there are definitely active entries that should…
-
We don't have a public feature request tracker, but I'll follow up here if/when I have any news on this.
-
The user limit doesn't apply to production apps, so it sounds like you may accidentally be using a different app key. Can you double check which one you're using against your app registrations on the App Console? If you need help tracking that down, or if you're definitely using your production app key, please open an API…
-
If you need to list all entries, included nested files and folders, you should use files_list_folder and files_list_folder_continue. You can do so by setting recursive=True on the initial call to files_list_folder. The Dropbox API doesn't offer a way to automatically retrieve the file extension, so you should extract that…
-
It looks like you're trying to use the old API v1 Sync SDK for Android. That does use API v1, so API calls made by it will fail now. I don't have an example available of exactly how they would fail though. (The Sync SDK had some offline and retrying functionality built in, so the failure may not be immediately obvious…
-
You're getting a `NetworkOnMainThreadException`, which means you're trying to make a network call on the main thread, which isn't allowed on Android. (The `finishFromCode` method makes a network call to the Dropbox API servers to exchange the authorization code for an access token.) You would need to make this call on a…
-
Regarding the TypeError issue, please refer to this recent JavaScript SDK issue for more information and a workaround: https://github.com/dropbox/dropbox-sdk-js/issues/172 (Note that filesDownload and filesGetThumbnail download data in the same way.) The ".tag" value is expected. That identifies the type of the entry, and…
-
[Cross-linking for reference: https://stackoverflow.com/questions/48600061/simple-code-to-upload-a-video-to-dropbox-with-python ] It looks like you already got this sorted out using upload sessions in your StackOverflow post.
-
Thanks for following up. The Dropbox API doesn't offer a way to rename the file using just its id and new name without specifying the new path, but I'll pass this along as a feature request.
-
You can clone or download the repo here: https://github.com/dropbox/dropbox-sdk-java There are instructions for running the Android sample, included with the repo clone or download at /examples/android, here: https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android If you attempt to make any API v1 calls,…
-
Using /2/files/move_v2 is the correct way to rename a file, even if you don't need to move its folder location. For example, to rename a file inside a "Documents" folder, you would supply values like: from_path:"/Documents/old_name", to_path:"/Documents/new_name" Or, using the ID, you would still use move_v2, with values…
-
That error is indicating that the `path` value you supplied doesn't match the expected format. The value "/folder/File.ext" would match, but it looks like that's just an example. Can you share the exact value you're supplying when you get this error? For example, if you're supplying a file path, make sure it starts with a…
-
For Android, we recommend using the official Dropbox API v2 Java SDK: https://github.com/dropbox/dropbox-sdk-java There's an example Android app here: https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android We don't have a simpler example than that for Android, but you can see how it performs an upload…
-
There are examples of using the SDK to upload and download files here: https://github.com/dropbox/dropbox-sdk-obj-c#request-types For instance, here is an example of downloading a file to a file specified by an NSURL: https://github.com/dropbox/dropbox-sdk-obj-c#download-style-request In that example, the file gets saved…
-
@"srinivas1995" Please open a new thread with the specifics of the issue you're seeing so we can take a look. Thanks!
-
I'm afraid I can't help with potentially incorrectly flagged files, so if you believe you have files that have been incorrectly flagged, please contact support.
-
Thanks for the report! We're looking into it.
-
Thanks for writing this up and sharing it!
-
The path/restricted_content error is expected from /2/files/download for files with restricted content, per the documentation: https://www.dropbox.com/developers/documentation/http/documentation#files-download If you believe you have files that have been incorrectly flagged, please contact support.
-
@"rhernandez8305" We do have some samples included with the Python SDK on GitHub. For instance, here are some download calls: https://github.com/dropbox/dropbox-sdk-python/blob/master/example/updown.py#L157…
-
Please make sure you have the updated polyfills included: https://dropbox.github.io/dropbox-sdk-js/tutorial-Getting%20started.html
-
This should be fixed now as of v3.0.4, but note the updated polyfill information here.
-
Thanks for the report! We're looking into it.
-
It looks like you already have the code for uploading to Dropbox, so you'd need to write some more code for decided whether or not to do so for any particular local file. That's not specific to the Dropbox API though, so I'm afraid I can't offer much help in that regard. For example, you may want to retrieve the local…
-
@"matejukmar" I don't have an update on this unfortunately.
-
The Dropbox API does offer an official Python SDK with the ability to list, download, and upload files, among other operations, so this certainly should be possible. For instance, you could use files_list_folder and files_list_folder_continue to list the contents of any desired Dropbox folder (e.g., "/Queue") and then…