Comments
-
I understand you're using the Dropbox API to create shared folders in an account and are receiving a 'too_many_mounts/tree_size_exceeded' error. This is a limit on the number of "mounts" in a folder tree. On Dropbox, "mounts" include both team folders and shared folders. Sharing a folder in an account creates a new mount,…
-
Yes, file IDs are unique across accounts & namespaces. The file ID for a file will not be the same for any other file in another account/namespace.
-
The Dropbox API /2/files/upload endpoint is a "content-upload" type endpoint, meaning it accepts the file data to upload in the request body (as application/octet-stream). So, when uploading file data that way, make sure your network client is sending the desired file data in the request body. We can't provide support for…
-
Does this reliably reproduce for you?I just tried this code out, filling in the missing pieces, and the issue didn't occur for me. If it's not consistent, it could be due to random transient server availability or networking issues, in which case you may want to implement additional retries (ideally with exponential…
-
A "path/not_found" Dropbox API error indicates that the API call failed because there was nothing currently found at the specified path in the connected account under the relevant root. For example, this can happen if there's a mistake or typo in the path value the app supplies, if the file/folder has been renamed, moved,…
-
@"victor1234" I just tried this and it appears to be working for me currently. If this doesn't seem to be working as expected for you, I'll be happy to help, but I'll need some more information. In that case, please reply with: * the name and version number of the platform and SDK/library you are using, if any * the steps…
-
@"waltertross" No, unfortunately I don't have any news on this.
-
In this code, you're getting the file data as a string, and printing it out to the console. If you want to save the file to your local filesystem, for instance, you'll need to run the necessary code to do so as the SDK does not do that for you automatically. You can find the documentation for the available options for…
-
To handle that, catch the SearchErrorException and get the SearchError from SearchErrorException.errorValue. You can use SearchError.isInternalError to check if it's the "internal error" case in particular, in which case you can retry the call.
-
Thanks for the additional feedback!
-
Direct folder sharing, such as via /2/sharing/add_folder_member, doesn't support disabling downloads. To disable downloads, you could use shared links instead, which is available via /2/sharing/create_shared_link_with_settings on the API (click on 'SharedLinkSettings' to expand the documentation to see the settings…
-
A 'settings_error/not_authorized' error from the sharing_create_shared_link_with_settings method indicates that you cannot set the requested settings for a shared link from the connected account. For example, if you have a Basic account, you would not be able to set an expiration on a shared link. You can find more…
-
This forum thread serves as your feature request. I'll follow up here with any news on this.
-
The public Dropbox API doesn't return information about which user originally created a particular file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Thanks for following up and sharing that. In your Python code, you're using the "PUT" method, via the ".put" call, however the /2/files/upload endpoint expects a "POST". That would be ".post" in the requests library.
-
I just gave this a try myself, but I'm not getting back a 404 error when I use that header. Can you share the full request and response for this issue so we can take a look? If you're using curl, use the -v option to enable verbose mode. Please redact your access token though. Thanks in advance!
-
That endpoint is not part of the public API, so third party apps will not be able to use it. Instead, you can check the sharing_info.modified_by field for a FileMetadata, e.g., as returned by /2/files/get_metadata or /2/files/list_folder[/continue]. You can get the account information for that account using the account ID…
-
@"mittinga" The path_lower field will not always be returned; please refer to the documentation for information on when any particular field will be returned. (Be sure to click on FileLinkMetadata and/or FolderLinkMetadata under the "Returns" section to expand the information for those types.) Note also though that if you…
-
It's not clear from this code what the issue may be. It seems like it may be a problem with the platform or network client itself.
-
Are you using an app registered for the "app folder" access type? If so, it would only have access to contents of the special app folder that gets created for it. The folder in your screenshot isn't an an app folder though, so you'd need to use an app with the "full Dropbox" access type to access that. You can't switch the…
-
Thanks for following up with the additional information. That looks like the right start of an access token. Looking at your headers though, your "Dropbox-API-Arg" value looks to be formatted incorrectly. Specifically, both: * it has extra slashes, which are normally meant for escaping slashes in the command prompt but…
-
I see you're getting an error "The operation couldn’t be completed. Protocol error". This is not actually an error from Dropbox itself, so unfortunately we can't offer much insight on that. It looks like it may be an issue with your network connection/stack, so you may need to refer to the support resources for the…
-
From the configuration in the UI in your screenshot, it looks like your client may be trying to parse the response as JSON, but the response isn't guaranteed to be JSON, so please check the raw response. If the raw response is empty though, please check and share the headers as they may help indicate the issue. In that…
-
This is open with engineering, but I don't have an update on it yet. I'll check in with them and follow up here once I have any news.
-
Dropbox selects certain partner apps to include in the App Center. If you're interested in a potential technology partnership with Dropbox, you can reach out here: https://experience.dropbox.com/form/app-integrations-contact
-
Please print out the content of the response body, as it should contain a more detailed error message indicating why the call failed.
-
With an app with the "full Dropbox" access type, you can specify the path to any folder, but note that if you're trying to access something in the "team space" in particular, that will require some additional configuration. By default, API calls to the Dropbox API operate in the "member folder" of the connected account,…
-
@"Standa Fy" Thanks for providing the sample. I also tried this out and was able to reproduce the issue with your sample in Chrome. When inspecting the relevant request in the developer tools in Chrome, I see the request does receive a response, including a successful status code (200) and headers. When attempting to view…
-
@"adamb924" Thanks for the information. In that case, yes, please use email addresses for this use case, instead of copying over the identifier from the other authorization.
-
Thanks for following up and apologies for the confusion. I looked into this more and confirmed that Dropbox Backup files may not be accessible via the API depending on which version of Dropbox Backup you’re on. The updated version of Dropbox Backup uses a different implementation that stores the files in a different way,…