Comments
-
Dropbox does offer webhooks functionality. You can find information on how to implement it here: https://www.dropbox.com/developers/reference/webhooks
-
The FileNotFoundError "No such file or directory" error here is referring to the location on your local filesystem, not in the remote Dropbox account. That is, the first parameter you supply to files_download_to_file (and sharing_get_shared_link_file_to_file as well) is the "Path on local machine to save file". (For…
-
Currently, it's not possible to register an app for both "team member file access" and "team member management". So, if you do need access to both of those types, you would need to register two apps and have the user connect both of them, to get two access tokens. We are currently starting to roll out a new permission…
-
When you add a new member to a folder, they then have access to that folder, but the folder may not yet be "mounted" in their account. If the folder is not yet mounted in their account, it will not be listed in their file/folder listing (e.g., as returned by /2/files/list_folder[/continue]). Note that if the users A and B…
-
Thanks! From what I see based on this, this was likely due to some transient server issues, but please do let me know whether or not you're still seeing it. Either way, you may want to implement some automatic retrying in order to handle this if/when server errors do occur.
-
Thanks for the report! We'll be happy to look into this, but we could use some more information. Can you let me know the following: * Are you still seeing this issue now? * About when did you start seeing this? * About what percent of calls are failing like this? * How much data are you sending…
-
You don't need the shared folder ID from a shared link in order to list and download the contents of the shared link. You can use listFolderBuilder/listFolderContinue to list the contents of a folder based on a shared link to that folder. Use ListFolderBuilder.withSharedLink to set the shared link. Then, based on the file…
-
If you're using .NET, we recommend using the official Dropbox API v2 .NET SDK. That comes with several example apps. To get an access token for a user, you should send them through the OAuth app authorization flow. The SDK will do most of the work for you, as shown in this example. Your app should never handle the user's…
-
If you want to get information about the contents of a shared link without downloading everything, you can use the Dropbox API endpoints /2/sharing/get_shared_link_metadata, to get information about the shared link, and /2/files/list_folder[/continue], to list the contents of the linked folder, if the shared link is for a…
-
For reference, the issue of not being able to use 'as_user' or 'as_admin' before 'with_path_root' should now be fixed as of v10.3.0 of the Dropbox Python SDK.
-
If you want to use the Dropbox API to share a folder with write/edit access, you should use the /2/sharing/share_folder endpoint to first make the folder a shared folder, if it isn't already. Then, you can add members with the desired access level (i.e., 'editor' in this case) using /2/sharing/add_folder_member. By the…
-
No, unfortunately it's not possible to get the account ID for any given email address, or otherwise check if the corresponding account is on the same team, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
The Dropbox Chooser does offer a 'folderselect' option so you can allow users to select folders from their Dropbox accounts. You can find information on that in the Chooser documentation: https://www.dropbox.com/developers/chooser That only supports "preview" links, but you can then modify those links, e.g., for direct…
-
From the stack trace, I see that this code is attempting to use the 'files_upload' method to upload this file, which doesn't support files of this size. You should instead be using the upload sessions functionality for large files like this. Looking at your code, it looks like that 'files_upload' code path is mistakenly…
-
It looks like our messages just crossed. I'm glad to hear you sorted this out already.
-
Were you trying to move this file into that folder at "/Test folder"? A response from /2/files/move_v2 containing the updated metadata like this should indicate that the file was successfully moved, so it appears the move did work if that's what you were attempting. When you say "file is not shown in the folder", how are…
-
@"Moto_F" This request is still open with the team, but I don't have an update on it.
-
The current plan is to retire the Paper API endpoints in September of this year, per the migration guide. Of course, if anything changes, we'll make an announcement. Existing accounts may not have been themselves migrated yet, and I don't have a timeline to share for that, but if you want to test the new style, you can…
-
A 'path/not_folder' error indicates that the path you're trying to list is not a folder. You should make sure that the 'path' value you pass to files_list_folder refers to a folder, not a file. When you get the results, if 'path_lower' is not set, that indicates that the item is not mounted. You can find more information…
-
@"lostinlovephotography" Thanks for the feedback!
-
Thanks, that's helpful. Yes, it looks like these were related to a server issue on our side, but should be back to normal now. Please let me know if you see this come up again though.
-
No, unfortunately the Dropbox API doesn't offer a way to check this ahead of time, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
This code looks correct, and doesn't fail for me when I plug in my own access token. Looking at the stack trace, it appears to be failing when making the request, specifically when writing a particular header. The only header here that would be varying though is the Authorization header with your access token. Also, the…
-
We can't provide support for FreeNAS itself, as that's made by a third party, but the Dropbox API host and functionality identified here are currently working. Is there anything on your internet connection, such as proxy, firewall, anti-virus, etc., that may be interfering with your connection? Also, from the error output,…
-
Thanks for the report! Can you please share a few X-Dropbox-Request-Id response header values for these failures? That will help me look into this for you. Thanks in advance.
-
@"mbernardo" Thanks for the feedback!
-
The Dropbox website uses a different host than the Dropbox API, so unfortunately that's not a good test for this issue. The Dropbox Python SDK already includes and uses the correct certificates for the Dropbox API servers.
-
That shouldn't be the issue here. The files_download_to_file method does allow you to download files from shared folders. Also, the error you're getting indicates an issue establishing the secure TLS connection with the Dropbox API servers, which occurs before the Dropbox API itself validates the call or its parameters…
-
I see, thanks for the information, and apologies, I didn't realize you were talking about using the 'AccessLevel.editor' level. For this level, the ability to edit the file will depend on the the cloud editor integrations, such as for "Google Sheets" and "Excel for the web". These integrations don't support .csv files…
-
I see from the stack trace that this error is occurring during files_download_to_file. I just gave that, as well as the other methods you included in the code snippet, a try with Python 3.6 and v10.2.0 of the Dropbox Python library on Windows though and it worked fine for me. The error you're getting would seem to indicate…