Comments
-
@"Dennyw" Thanks for the additional information and feedback! I'll share this with the team.
-
Thanks for those answers. We'll need to troubleshoot this further. If you pause execution while the program is hung and "step into" the "DownloadAsync" line, where in the Dropbox SDK exactly is it hung?
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-java/issues/268 ] @"Dennyw" Thanks for contacting us. I'm sorry to hear this change caught you unaware. We emailed developers using this functionality about this deprecation earlier this year, but it sounds like that unfortunately did not make it to you.…
-
Thanks for the report! We're looking into it and I'll follow up here once I have an update for you.
-
To get a URL to a file, e.g., to pass it to an application without downloading the file itself, you can use the /2/files/get_temporary_link endpoint.
-
Здравко is correct; you're mixing "files" and "file requests" functionality. The "files" endpoints are for interacting with files, whereas the "file_requests" endpoints are for interacting with "file requests", which are a way for users to receive files from other people. If you want to update an existing file, that is, to…
-
[Cross-linking for reference: https://stackoverflow.com/questions/59510091/error-400-when-trying-to-access-dropbox-api-via-dropbox-javascript-sdk ] First, can you clarify if you're getting a 400 error or a 500 error from the Dropbox API? Your subject says you're getting a 400, but the error output you're getting mentions a…
-
Each Dropbox API access token is specific to a particular app-account pair. That means that the Dropbox API returns a different access token for each user that connects an API app to their account. Also, note that Dropbox API apps receive a new access token each time they send a particular user through the OAuth app…
-
Revoking a particular access token prevents that token from being used, but it doesn't completely unlink an app from the account. (E.g., there may be other access tokens for that app-account pair.) Also, it doesn't revoke the user's web session in the browser, which is unrelated to access tokens. The user can always unlink…
-
Dropbox webhook notifications only tell you when something has changed. They don't include information about what exactly has changed. You can find an example of what a webhook notification body looks like in the webhook documentation under "Receiving notifications":…
-
It looks like you may be attempting to use the "Dropbox-API-Select-Admin" header to delete something from a shared folder in a member's private folder. The /2/files/delete_v2 endpoint only supports the "Team Admin" mode for Dropbox-API-Select-Admin though, meaning it "can access content of team folders but not team…
-
Dropbox doesn't currently offer an API for the Dropbox Transfer feature, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
These 'account_id', 'uid', 'access_token', and 'token_type' values are returned by the Dropbox /oauth2/token endpoint. You would call the the Dropbox /oauth2/token endpoint if you're using the Dropbox OAuth 2 "code" flow. You can find information on what your request should look like in the documentation for the…
-
Thanks for the note! We've received your ticket and will follow up with you there.
-
To retrieve an OAuth 2 access token for the user, you should use the Dropbox OAuth 2 app authorization flow. You can find more information on that in the documentation. By the way, we do offer an official Dropbox API v2 Java SDK. We recommend using that if possible. It implements most of the authorization flow for you,…
-
I see you're trying to call the /2/auth/token/from_oauth1 endpoint. This endpoint is only meant for use if you already have pre-existing OAuth 1 access tokens. OAuth 1 access tokens were a feature of an old version of the Dropbox API, API v1. If you're just starting now, you wouldn't have any, and should just use OAuth 2…
-
Thanks for the report! I'll ask the team to fix the error reporting in that case too.
-
Based on the error message you shared, you're not getting exactly the same issue as the thread you linked to. It looks like you can still make this work using the modification mentioned there though, i.e., by changing your link to use 'dl.dropboxusercontent.com' initially, like this:…
-
Thanks for following up. There doesn't appear to be anything wrong in the code you posted, so there are a few things to check next: * is there anything on your network connection, e.g., proxy, firewall, anti-virus, or other security software, that may be interfering with the connection? * how big is the file that you're…
-
No, unfortunately the Dropbox API doesn't currently offer a way to get an access token with restricted scopes/permissions like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"Andrey_Golub1" As Здравко mentioned, you can get the information about who last modified a file from the FileMetadata.sharing_info.modified_by information returned by /2/files/get_metadata (or elsewhere, such as /2/files/list_folder[/continue]). The Dropbox API doesn't return information about which user originally…
-
For anyone else watching this thread: this issue should now be fixed.
-
The Dropbox API doesn't offer an interface for retrieving these document properties, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, you'd need to download the file and parse them out in your app's code.
-
Can you clarify what you mean when you say "is get stuck in dbx.Files,DownloadAsync Method"? Are you getting any error or output?
-
@"IOT_Developer" Thanks! We'll look into it and follow up with you on your ticket shortly.
-
@"litemotiv" Thanks for following up. Yes, you'll need to call /2/files/get_metadata once per file for which you want to retrieve the media info. This is the recommended approach now. Depending on your use case, this may unfortunately increase the overall latency. I'll be sure to pass this along as feedback.
-
@"IOT_Developer" Thanks! I'm not currently aware of anything that should have caused such an increase, and I also currently can't seem to reproduce that increase myself, nor have we received other reports of this, so we'll need to investigate this further. Would you be able to open an API ticket with additional details,…
-
Thanks for the report! I'll follow up with you privately as it will be helpful to get a few more pieces of information from you to help us investigate this.
-
This issue with calling get_shared_link_file with a password is now fixed and should be working properly. Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.
-
This issue with calling /2/sharing/get_shared_link_file with a password is now fixed and should be working properly. Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.