Comments
-
The Dropbox Objective-C SDK does offer a 'batchUploadFiles' method that you may want to use instead: https://github.com/dropbox/dropbox-sdk-obj-c#upload-style-request
-
@"tritnguyen" To confirm what Здравко is saying, on Dropbox the deletion of a parent includes the deletion of any children of that parent, so it may be helpful to construct your data model/storage to reflect that as well. See also, the /2/files/list_folder[/continue] for listing the contents of a folder, which also works…
-
Yes, the Dropbox API offers functionality like this. You may want to check out the following guides to get started: * https://www.dropbox.com/developers/reference/getting-started * https://developers.dropbox.com/dbx-file-access-guide * https://developers.dropbox.com/dbx-sharing-guide For instance: * to list the contents of…
-
You seem to have your "else if" attached to the wrong "if" above it, so it's not properly guarded by the ".isMemberChangeStatus" check. Also, you don't need to check the tag yourself like that. You should use the supplied the methods instead. Here's a corrected version that runs successfully for me: List<TeamEvent> events…
-
The actor won't necessarily be an admin. For example, if the operation was performed via the API, it will be an app instead. If you attempt to get the actor information as an admin when it wasn't an admin, you'll get that error. You should check the actor type before accessing it as that type to avoid that. Also, you would…
-
You can find information on the required path format here: https://www.dropbox.com/developers/documentation/http/documentation#path-formats I see you included a general description of how this is set up in the comments in your code, but if you need help debugging this, please share some actual code for reproducing this…
-
@"roggerCorrea" It looks like fileList would be an array, perhaps initialized like 'var fileList = [Any]()', or maybe more ideally 'var fileList = [Files.Metadata]()'. Your cast is failing because you're attempting to cast the entire array of Metadata, that is, your 'response', which is the listFolderResult?.entries,…
-
You can certainly monitor the event log for member changes like this. Note that not all members will necessarily become "active" though, so you may see a member "removed" without being "active" first. That can happen if a member account is "invited" and then removed before they actually set up the account. In that case the…
-
It looks like your previous message was caught by the spam filter; I've restored it now. Anyway, thanks for the additional information. That's helpful. We'll look into it and I'll follow up here once I have an update for you.
-
This latest message is what I was referring to. It indicates that the call failed because your app does not have the necessary scope for that endpoint. You can enable the scope on the app's page on the App Console as described. Note that you'd need to then get a new access token as that change does not retroactively affect…
-
You can use listSharedLinks to list the shared links for a particular item for a particular user, but unfortunately it's not possible to list shared links like this across all members at once without calling for each one. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
What's in the response body for that response with the 400 status code? It should contain a more specific error message.
-
Please clarify what you mean when you say you are "still facing issues". For example, share any unexpected error or output.
-
The Dropbox Chooser is a way to allow end-users to select specific files/folders and send them to the app. Based on your description, it sounds like that's not exactly what you're looking for. The Dropbox Embedder might be a better solution for you though. That lets you supply a (view-only) shared link, e.g., for a…
-
Yes, that interface may have been updated in a version of the SDK after the one you were using. You can find the latest documentation here. Anyway, I'm glad to hear this seems to resolve the main issue.
-
That should be addressed in v5.4.4, per the release notes. Please give that a try and let us know if you run in to any issues. Thanks!
-
Uploading 100-150 files at the same may exhaust the system or network connection, as each one requires its own HTTPS request. I recommend limiting how many you perform simultaneously. You may want to experiment a bit to see what a good limit is for your scenario/environment.
-
This was a bug that could occur with versions before v5.3.0 of the Dropbox Java SDK. Please update to at least v5.3.0, or preferably the latest version, currently v5.4.4, and try again.
-
You can find some more information about this kind of access under FolderSharingInfo, e.g., under FolderMetadata.sharing_info as returned by /2/files/get_metadata: "traverse_only Boolean Specifies that the folder can only be traversed and the user can only see a limited subset of the contents of this folder because they…
-
No, those endpoints are deprecated and should no longer be used. You can use /2/team_log/get_events[/continue] endpoints for more detailed event information though. And no, the Dropbox API does not offer billing/transaction information, but I'll pass this along as a feature request. I can't promise if or when that might be…
-
Can you clarify what happens when it "pauses the upload process after certain time"? For instance, do you get any error/output? Also when you say you upload a "large number of photos/files", how many are you uploading simultaneously?
-
Using /2/sharing/list_folders and /2/sharing/list_folders/continue is the right way to list the shared folders for an account. That only lists the shared folders themselves, not their contents. To list the contents of any particular folder, shared or not, you should use /2/files/list_folder and…
-
@"Ivan_" Здравко is correct; as long as you provide the necessary credentials (refresh token, app key, and app secret if you didn't use PKCE, or just refresh token and app key if you did use PKCE), then the Dropbox .NET SDK client will handle the refresh process for you automatically (that is, it will automatically…
-
I'll be happy to help with any issues you're having with the Dropbox Saver, but I'll need some more information. Please reply with: * the steps to reproduce the issue, including relevant code snippet(s) * the full text of any error or unexpected output
-
@"diabolusss" No, I don't have news on this right now. I'll follow up here if/when I do.
-
@"musidelics_0" Здравко is correct. You can use a refresh token to automatically get new short-lived access tokens. For instance, if you're using the official Dropbox Python SDK, and supply the necessary credentials, e.g., as shown in this example, the SDK will handle the refresh process for you automatically.
-
A 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens. That…
-
@"Здравко" Unfortunately I don't think the API has anything that would be useful for this. Anyone seeing an issue like this may want to contact support directly.
-
No, the Dropbox API does not offer functionality like that either. Like with total sizes/counts, you'd need to list everything and apply whatever sorting/filtering you want in your code. We'll consider this a feature request as well.
-
@"Bryantsssss" No, unfortunately there isn't a way to do that either, but we'll consider it a feature request.