Comments
-
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…
-
No, unfortunately the move API call doesn't currently offer a way to set the write mode (e.g., 'overwrite' in this case), but I'll pass this along as a feature request.
-
@"guilhermegarcia" There's nothing about VPNs in general that should be affecting this. I just tried it, and raw=1 links are working properly for me in Chrome, Safari, and Firefox, all both on and off a VPN. That being the case, it sounds like there may be something about your VPN connection in particular that is…
-
[Cross-linking for reference: https://stackoverflow.com/questions/48482899/dropbox-api-with-django-authentication ] It looks like your question is more about using Django itself than the Dropbox API, so I'm afraid I can't offer much help. It looks like you already got some help on this on StackOverflow anyway though.…
-
Thanks! I just tried this and it appears this endpoint isn't working for Dropbox Business API apps. I'll ask the team to investigate whether or not we can add support for Dropbox Business API apps to this endpoint.
-
The API now offers the ability to list file revisions across moves/renames, by using the file ID. In the .NET SDK, that's available via the ListRevisions method. You can find more information in the documentation:…
-
The Dropbox API now offers the ability to download folders as zips. In the .NET SDK, that's available as: https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadZipAsync_1.htm