Comments
-
First, for reference, whenever you get an error from the Dropbox API, be sure to print out the response body as it may contain a more useful error message. Anyway, unfortunately, the Dropbox API does not currently support getting a zip download of a subfolder based on the id of the subfolder returned from listing the…
-
@"SandroRibeiro" Thanks for the additional feedback!
-
No, Dropbox doesn't support the device flow, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
No, Dropbox still doesn't offer this flow.
-
Can your share your current code for that? I just modified your earlier code and it worked fine for me: DropboxTeamClient teamClient = new DropboxTeamClient(ACCESS_TOKEN); var results = await teamClient.Team.MembersListAsync(); string memberID = string.Empty; foreach (var member in results.Members) { if…
-
The AsMember method expects the "team member ID", which is the ID that starts with "dbmid:". Dropbox supplies these values directly, and you should not attempt to modify them. The team member ID is available as MemberProfile.TeamMemberId (not MemberProfile.AccountId).
-
This error message indicates that the access token you're using is for a "Dropbox Business API" app, which connects to entire Dropbox Business teams, but the method you're trying to use is for specific Dropbox accounts. If you want any kind of Dropbox account (Business or not) to be able to connect to your app, you should…
-
The Dropbox API doesn't expose a way to retrieve all events for a file/folder like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You can use files_list_revisions to list the file versions for a particular file though.
-
@"raRaRa" Thanks for the additional feedback and context!
-
Unfortunately, Dropbox and the Dropbox API don't really offer something like this. Dropbox generally doesn't distinguish between the ability to add a new file and otherwise being able to write (e.g., update or delete) in its access controls. Some things that do come to mind as potential solutions though: * If the manager…
-
@"Lak1" We can't offer help with the "node-red-node-dropbox" module as that's made by a third party, but we'll be happy to help with the Dropbox functionality itself. I just gave this a try myself and it is working correctly for me. Here's some API commands and output showing: * uploading a file * creating a shared link…
-
I can't really help with memory management on your system or with configuring third party clients as they're not made by Dropbox. That said, if you want to use curl to save to a local file on your server's local filesytem, you may want to use the 'CURLOPT_FILE' option.
-
We don't have an official PHP SDK for Dropbox API v2, but another option is to use a third party library. We have some listed here: https://www.dropbox.com/developers/documentation/communitysdks I don't know which, if any, of those happen to implement /2/files/download_zip though.
-
I don't have a sample of calling /2/files/download_zip in PHP in particular to share. The documentation has an example of calling it using command line curl though. Likewise, the API v2 Explorer can build sample code for it in a few formats. You can use those as a reference to write your code on your platform using…
-
The sharing_create_shared_link_with_settings method will throw an exception if a shared link is already created for the specified path. You can catch that, and use CreateSharedLinkWithSettingsError.is_shared_link_already_exists to determine if that's the reason the call failed. If so, you can…
-
Yes, you can use an access token for a non-Business app to access Business accounts, including team folders. First, for reference, the "Unexpected select user header" error is expected if you attempt to set the "Dropbox-API-Select-User" header when using an access token for a non-Business app, as that functionality is only…
-
Can you elaborate on what you meant when you said "this doesn't work if my customer is using Business Dropbox Account"? You should certainly be able to use the particular methods you listed with both Business or non-Business accounts. You don't need to register separate apps in that case. A single "Dropbox API" app can be…
-
You can use /2/files/list_folder/get_latest_cursor if that works for your use case. Keep in mind though that there is a race condition if you do so, with the possibility that you will miss some changes. That is, if something changes after your last successful update from /2/files/list_folder/continue and before your call…
-
Thanks for the report. We'll need to look into this specifically for you. Please open a ticket here with the details: https://www.dropbox.com/developers/contact Please include: * the account ID(s) of the affected account(s) * a sample request/response for a search call that isn't returning what you expect (please include…
-
Yes, Dropbox does localize the "Apps" folder name depending on the locale set on a user's account. Dropbox does not offer official documentation with the full list of the localizations for reference unfortunately, but I'll pass this along as a feature request. I can't promise if or when that might be documented though.
-
@"Sukanth" Thanks! We'll look into it and follow up with you there.
-
Yes, I'll follow up on this thread with any updates on this request. For reference, I'm not currently aware of work or plans to implement this, but I'll post here with any news or changes.
-
It seems I missed this thread back in May (apologies!), but in general an 'incorrect_offset' error happens when the app calls one of the append or finish upload session endpoints (or corresponding native methods in an SDK) with an "offset" value that does not match how much has actually been uploaded so far for that upload…
-
I've redacted it from your comment here for the sake of privacy, but yes, I've added it to your ticket.
-
You can use /2/sharing/get_shared_link_metadata and /2/sharing/get_shared_link_file to get the metadata and file content for a shared file, respectively, by passing "preview_url" as the "url" parameter. The Dropbox API doesn't offer a way to list the revisions for a shared file like that, but I'll pass this along as a…
-
Yes, by default, if the user has already approved the app and there is an https:// redirect URI being used, Dropbox may automatically redirect them to the redirect URI. You can prevent this from happening though by using the 'force_reapprove=true' option for the www.dropbox.com/oauth2/authorize authorization page. If you…
-
You'll receive updates to your ticket by email. They will be sent to the email address registered to the Dropbox account you used to open the ticket.
-
To use both the individual user endpoints and the Business endpoints for a connected team, you should use a "Dropbox Business API" app with the "team member file access" permission. You can register one here if you haven't already. (Note that Dropbox Business API apps can only be connected to Business teams.) With that…
-
Thanks for the feedback @"CrazySerb" ! I'll send this along to the team.
-
No, the Dropbox API itself doesn't offer any way to control your connection speed. To clarify though, is this something you've just noticed as you've begun implementing with the Dropbox API, or is this a new degradation in service where it was previously working better? If this was previously running faster for you and it…