Greg-DB Dropbox Community Moderator

Comments

  • @"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…
  • This should be fixed now. Please let us know if you're still seeing any issues like this.
  • The particular file type shouldn't matter when sharing a file. I'll be happy to help with this issue, but I'll need some more information. Please reply with: * the name and version number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but please…
  • You can technically use /2/users/get_account to look up the account information for a particular account based on an account ID, but for the sake of efficiency I recommend instead recording the information initially as described in my previous comment.
  • The Dropbox API doesn't offer a way to get an access token automatically, just from an app key and secret. If you need "background", sometimes called "offline", access like this, you should get and store the refresh token like you described. The refresh token doesn't expire by itself (though can be revoked on demand), so…
  • A 'path/not_found' error indicates that there's nothing at the specified path, in this case, '/Camera Uploads'. There's a few reasons this might be the case: * If your app has the "app folder" permission, it can only access the contents of the special "app folder" created for it inside the "Apps" folder (by default at…
  • Yes, you can use the Dropbox Business API /2/team/members/list[/continue] endpoints to list the members of the team, and the /2/team_log/get_events[/continue] endpoints to query the activity on the team. Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs…
  • 1) To download any specific file, you can use the /2/files/download endpoint, and to download any specific folder and its contents as a zip, you can use the /2/files/download_zip endpoint. These will require one API call per file or folder, respectively though. There isn't a way to bundle multiple different files or…
  • @"AlexanderKriss1" No, unfortunately I don't have any news on this request.
  • When you first store the access tokens and cursors in your app (e.g., in your database), you should record which Dropbox account ID each one belongs to. (For any given access token, you can use /2/users/get_current_account to check the account ID, which just needs to be done once each.) Then, when you get the webhook…
  • If you're using listFolder to list the contents of a shared link that refers to a folder, you'll need to use recursive:NO, since the recursive mode isn't supported when listing the contents of a shared link that refers to a folder. If you need to list the contents of a subfolder inside the folder for the shared link, you…
  • @"aciid" No, unfortunately I don't have an update on this yet. I'll follow up here once I do.
  • No, it's not incorrect. It's referring to using using the upload session batch functionality to do so. (Specifically, that line is from the documentation for /2/files/upload_session/finish_batch.) Please refer to the Data Ingress Guide for information on using that. You can use that if you have to upload many files, even…
  • This should be fixed now. Please let me know if you're still seeing this issue. Thanks!
  • When copying a folder, if it has subfolders inside it, you do not need to iterate over the subfolders. Copying a folder will copy the entire folder, including any contents, such as sub folders.
  • The Dropbox API was designed with the intention that each end-user would directly connect their own Dropbox account to the API app, in order to interact with their own files in their own Dropbox account. It's technically possible to connect to just one account, by always using a specific access token. Please be aware that…
  • To clarify, are you calling /2/files/list_folder/get_latest_cursor before or after you received the webhook notification? The order should look like this: * Call /2/files/list_folder/get_latest_cursor to get the latest cursor for the account using the access token for the account and save the returned cursor. * Make…
  • You should not make multiple calls to files_upload itself at the same time for the same user, as that will result in lock contention. Please read the Data Ingress Guide for detailed information on how to upload many files: https://www.dropbox.com/developers/reference/data-ingress-guide
  • You can access the server_modified property on a DBFILESFileMetadata (its not available on DBFILESMetadata itself) like this: [[client.filesRoutes getMetadata:path] setResponseBlock:^(DBFILESMetadata * _Nullable result, DBFILESGetMetadataError * _Nullable routeError, DBRequestError * _Nullable networkError) { if (result) {…
  • The app authorization page doesn't currently offer an option like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.