Comments
-
No, unfortunately that's not accessible via the API.
-
For privacy purposes, e.g., when the relevant user is not on the connected team, the IP address for the actor may be partially redacted like this.
-
When using the individual upload method, only files up to 150 MB are officially supported. Attempting to upload larger files, above 300 MB as you found, will fail with that error. To upload files larger than 150 MB, you'll need to use upload sessions, via uploadSessionStart, uploadSessionAppendV2,…
-
There are some limitations to be aware of if you're trying to upload multiple files. I recommend reading the Data Ingress Guide as it covers this in detail: https://www.dropbox.com/developers/reference/data-ingress-guide This applies whether or not you're using an official Dropbox SDK.
-
Unfortunately, the Business API doesn't offer quite what you're looking for. You can get information about the connected team's overall space using using /2/team/reports/get_storage, but that isn't broken down by member or group: https://www.dropbox.com/developers/documentation/http/teams#team-reports-get_storage Likewise,…
-
The Dropbox document picker doesn't support opening folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
[Cross-linking for reference: https://stackoverflow.com/questions/58569036/pdf-file-corrupt-after-downloding ] In case anyone else comes across this with the same question, it looks like they already found a solution and posted it on StackOverflow here.
-
Thanks for the report! We'll check on this. For reference, are you still seeing this now?
-
The exact number of entries you get back per /2/files/list_folder[/continue] page is not guaranteed. Sometimes the API may return more entries per page, and sometimes it may return fewer. Regardless of how many entries were returned, your app needs to always check the 'has_more' value and call back for more entries if it's…
-
Yes, this limit behavior applies to using both /2/files/list_folder and /2/files/list_folder/continue at any time.
-
You should just use DbxDownloader.close when you're finished with the downloader (which will close the InputStream returned by getInputStream for you), in addition to closing any streams you opened yourself.
-
I see, thanks for clarifying. When you make a copy of a folder, such as by using CopyV2Async, you're only making a distinct copy of the folder and its contents; it does not copy over the sharing properties of the original. The resulting copy of the folder will inherit the sharing properties of its shared parent, if any.…
-
I'm not sure I fully understand your question, so if not, please share some more specific details as an example so I can review it better. You can share privately here if you prefer. From your description though, note that if the result of GetMetadataAsync doesn't have FolderSharingInfo.SharedFolderId set, it means that…
-
The Dropbox API unfortunately doesn't offer access to those "Create new file" options, such as to create a web shortcut or new Word doc, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Apologies I didn't have a code sample for that handy, but yes, what you just shared looks like what I had in mind.
-
Thanks for the report. This sort of thing can happen when using /2/files/list_folder[/continue], and while it's not a bug, we do understand it's not ideal. The limit the client supplies is only a guideline, and the API may not always be able to actually follow it. Because of how the Dropbox filesystem works on the backend,…
-
@"HaPsantran" Thanks for the feedback!
-
@"HaPsantran" Thanks for the feedback. I don't have an update on this request but I'll add your note and follow up here if/when I have any news.
-
In the /2/files/list_folder response, what is the value of 'has_more'? If it's 'true', you need to call back to /2/files/list_folder/continue to retrieve more entries. A single call to /2/files/list_folder isn't guaranteed to return all of the results. You should always have your app check this value and call back as…
-
Dropbox doesn't offer an interface for interacting with the new Dropbox desktop app like this, such as to open a specific folder in it, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
When using the Dropbox API v2 Java SDK, you can cancel an in-progress upload by using the DbxUploader.abort method. That's available on its sub-classes for various use cases, such as UploadUploader, UploadSessionStartUploader, UploadSessionAppendV2Uploader, and UploadSessionFinishUploader. For example, you can get…
-
I'm sorry to hear that trying this with a different ISP didn't help. Unfortunately, there isn't any way to configure the upload speeds you get on your Dropbox account, but you may wish to contact the developer of the app. Depending on how they've implemented the upload process, they may be some optimizations they can make…
-
Your screenshot is showing your "team space", so to access it via the API you should set the 'Dropbox-API-Path-Root' header accordingly. For example, to set the root to your team space itself, under which you can access the "Custom_team_folder" folder, you would set the root and path like this: curl -X POST…
-
Thanks for the additional information. Please note that you should never share your access token like this. I've redacted it from your post, but you should revoke the token since you shared it publicly. Anyway, you're getting this error because you're using an access token for an entire Business team to call a…
-
By default, API calls will operate inside your "member folder" (the purple folder), but you can configure them to operate in the "team space" (above the member folder) if you want. To do so, you need to set the 'Dropbox-API-Path-Root' header. You can find information on how to use that in the Namespace Guide here:…
-
@"tommy_m" The Dropbox API itself doesn't throttle connection speeds for any particular apps or users. Your connection speed to the Dropbox API depends on the routing you get between your ISP and our API servers, and may be slower than your ISP's rated speeds, or speeds you see for other applications. Sometimes resetting…
-
To upload a new file, or a new version of an existing file, with some particular file data, you can use the /2/files/upload endpoint. By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for…
-
That's correct, as you've described it, your current setup involves you embedding your access token itself in your app, not your app key or secret, since you are not using the OAuth app authorization flow. If you were to use the OAuth app authorization flow, you would need to embed your app key, if using the "token" flow,…
-
Yes, the app key and secret identify an app, and would be used in the OAuth app authorization flow. More specifically, Dropbox actually supports two forms of the OAuth app authorization flow: "code" and "token", documented here. The "code" flow is generally intended for server-side apps, and requires both the app key and…
-
While you yourself may not have revoked the token, it's possible someone who downloaded your app did. Since you embedded your access token in the app, someone could extract it from the app and then use /2/auth/token/revoke (or any other API endpoint) themselves. This is one of the reasons we don't recommend distributing…