Comments
-
You can find the documentation for webhooks here: https://www.dropbox.com/developers/reference/webhooks Receiving webhooks isn't dependent on what, if any, Dropbox SDK you use, so the official Dropbox SDKs don't offer resources for it. Once you register a Dropbox webhook URI, Dropbox will send a POST request to the URI you…
-
If you're referring to shared files (listed under https://www.dropbox.com/share/files), you can programmatially list these using /2/sharing/list_received_files[/continue] and download them using /2/sharing/get_shared_link_file by supplying the preview_url. If you're referring to files inside unmounted shared folders…
-
@"DS6" Please open a new thread with the details of your issue, e.g., the relevant code, etc. so we can help you specifically without spamming the other people on this old thread. Thanks!
-
I don't have any news on this or a workaround to offer, unfortunately.
-
By the way, while it sounds like 30 MB is too big for your case, you may want to try something bigger than 1 MB, as a bigger chunk size will generally yield better performance overall. A good size to try would be 8 MB.
-
As a security feature, OAuth 2 redirect URIs must be pre-registered exactly. Wildcards and dynamic registration are not supported. One thing you may be able to do instead is to use one static redirect URI but encode the necessary information in the 'state' parameter, and decode it as necessary after the redirect back to…
-
[Cross-linking for reference: https://stackoverflow.com/questions/47984087/using-dropbox-api-v2-and-python-how-to-get-a-list-of-files-and-folders-present ] I've posted an answer on StackOverflow. Hope this helps!
-
Thanks! It does sound like the connection is timing out then. You should generally be able to upload 30 MB in a single call, but this will depend on various factors, such as your network connection. Using upload sessions instead is the best solution. There's an example of using it here:…
-
The 'path' you supply should be the full desired path in Dropbox for the uploaded file, including the file name an extension, e.g., "/Some folder/myfile.mp3".
-
@"Octavio1" How long does that call take before failing with TaskCanceledException? I believe TaskCanceledException should indicate a timeout on the network connection for the API call.
-
With the latest version of the Python SDK (currently 8.5.1) you should now receive a specific error when you try to set an incorrect property value (e.g., using the wrong field name).
-
You can find the full documentation for all of the upload methods in the SwiftyDropbox SDK here:…
-
The Dropbox API doesn't offer server-side filtering for file types like that. You'll need to filter client-side. We'll consider it a feature request though. Alternatively, you may be able to use /2/files/search depending on your use case: https://www.dropbox.com/developers/documentation/http/documentation#files-search
-
Based on the stack trace you shared, the issue here is being caused by: java.net.UnknownHostException: content.dropboxapi.com That indicates an issue looking up the Dropbox API content servers by the 'content.dropboxapi.com' hostname. That's the correct hostname though, and the DNS lookup for that is currently working…
-
Apologies for the confusion. It looks like Vernon thought you were referring to a different feature, so his response isn't relevant to what you're trying to do. I'll follow up with you on the other thread you opened for this: https://www.dropboxforum.com/t5/API-support/How-does-Redirect-URI-in-App-Console-work/m-p/257354
-
Apologies if that wasn't helpful! I wasn't sure if you read the OAuth guide in particular, so I wanted to make sure you were aware of it in addition to the normal documentation for the OAuth endpoints themselves. I can't offer support or guidance on how the Wordpress plugin should be used, but if you do just need to use…
-
I recommend reading through the OAuth guide first to get an understanding of how the flow works: https://www.dropbox.com/developers/reference/oauth-guide The documentation for it can be found here: https://www.dropbox.com/developers/documentation/http/documentation#authorization Also, in your screenshot, you're trying to…
-
That `v1_retired` error does indicate that you're attempting to make an API v1 call, which is retired: https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/ You should update your app to use API v2: https://www.dropbox.com/developers There's a migration guide here:…
-
No, shared files (i.e., files that have been shared with you, not just files in shared folders) don't offer the same "mounting" functionality that shared folders do. You can list the files shared with you using /2/sharing/list_received_files[/continue]:…
-
It looks like you're referring to the example code in the DropboxOAuth2Flow documentation. That example code isn't a complete sample, so it won't work on its own. For instance, it doesn't include definitions for `redirect_to` or `http_status`. It's just meant as an outline of how you would implement this in a web app using…
-
If you have an existing folder that you want to share, or want to create a new shared folder, you should first use the /2/sharing/share_folder endpoint: https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder That will make an existing folder into a shared folder, or create one, and then…
-
No, we don't have any published benchmarks like that.
-
Yes, you can use the Python SDK to download files using the files_download method: https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_download You need to call that once per file you want. You can list the files using files_list_folder and files_list_folder_continue:…
-
What you have seems correct. There are a few examples here: https://github.com/dropbox/dropbox-sdk-java/blob/1b6cde9b789f5eb089cde4bbe588da2cea85b597/ReadMe.md#link-an-account…
-
The create_folder_v2 endpoint doesn't support file IDs like this. Also, a file ID identifies an existing item, and is assigned when that item is created. The create_folder_v2 endpoint creates a new folder, so supplying just a file ID wouldn't make sense, as it identifies an existing item. Do you mean you want to be able to…
-
By default, the listFolder/listFolderContinue methods will only return items in the folder you specify, and not in nested folders under that. If you want nested results, you'll need to set recursive=true when first calling listFolder:…
-
No, I don't have any news on this.
-
1. The Dropbox API doesn't have a particular speed I can guarantee. Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is…
-
Thanks for the report. Unfortunately the BB10 browser is not officially supported by the Dropbox web site: https://www.dropbox.com/help/desktop-web/system-requirements#web That being the case, I'm afraid we can't offer a fix. Apologies I don't have better news for you!
-
The API itself returns all datetimes in 'UTC and are strings in the ISO 8601 "combined date and time representation" format: 2015-05-15T15:50:38Z'. The .NET SDK translates these into native DateTime objects, e.g., as returned in FileMetadata.ClientModified. You can use the standard DateTime methods there to format and…