Greg-DB Dropbox Community Moderator

Comments

  • To create a shared link for any particular file via the Dropbox API, you can use the /2/sharing/create_shared_link_with_settings endpoint: https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings By the way, that's a link to the documentation for the HTTPS endpoints…
  • Can you also share the code/options you're using to set up the Chooser? Thanks!
  • You can use the /2/team/members/list[/continue] endpoints to list all of the members of a connected Dropbox team. It does not return information about when the member last logged in to Dropbox though. Instead, you could query /2/team_log/get_events[/continue]. You can check for whatever kind of events you're interested in…
  • Long-lived access tokens are now considered deprecated, but we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access token(s). Note though that after the change you…
  • Every Dropbox API app is owned by one Dropbox account, and the Dropbox account can be of any type. Exactly what Dropbox account, and what email address is on that Dropbox account, is up to you. For instance, I know some developers register an email address and Dropbox account with that email address specifically for owning…
  • Can you print out the result of filesUploadSessionFinish? If no exceptions are being thrown, that should be returning the metadata of the uploaded file.
  • @"Robert Corrigan" Thanks for the note. I don't have an official update on this, but I'm adding this to the feature request. Right now, the official limit is 20 MB, but as you found larger files may also work. I can't recommend strictly relying on that though as it's not officially supported. I'll follow up here if/when I…
  • I can't offer support on exactly how you would configure your firewall, etc., as that's not made by Dropbox. You can find a file containing the certificates an API client would need to trust here (that's included with our official Python SDK, for example). There's also a help center article here that lists various official…
  • You are not guaranteed to receive a DeletedMetadata entry for each child in the case where you receive a DeletedMetadata for the parent, so you should make sure to delete all of the children in your local cache as well whenever you receive a DeletedMetadata for a parent. If you do not do so, your local cache may get out of…
  • @"Tobias3" Thanks for sharing this feedback! I'll make sure the team sees this.
  • To clarify, does the shared link itself refer to a particular file, or to a folder? If it refers to a file, you should not supply the "path" parameter when calling /2/sharing/get_shared_link_file. If it refers to a folder, you should supply the "path" parameter when calling /2/sharing/get_shared_link_file, and the value…
  • The Dropbox Chooser is not supported in Chrome for iOS/iPadOS unfortunately. I'm sending this along as a feature request for support for the Chooser in Chrome for iOS/iPadOS, but I can't promise if or when that might be done.
  • You can find more information on this migration in this blog post. That change, where Dropbox will no longer return new long-lived access tokens, is planned for September 30th, 2021. Going forward, any apps that need long-term access should instead use short-lived access tokens with refresh tokens. An app can use a refresh…
  • Long-lived access tokens are now considered deprecated, but we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access token(s). Note though that after the change you…
  • To get a (non-temporary) shared link via the Dropbox API, you can call the /2/sharing/create_shared_link_with_settings endpoint. You will need to identify the desired file in Dropbox, which you can do by file path or ID. You can modify the resulting links for different behaviors if needed. To make that call, if you are…
  • If you can't use an SDK/library, you'll need to implement the requests yourself, like you mentioned. And to allow a user, such as yourself, to connect an app to their account without expiration, you'd need to implement the OAuth app authorization flow, and specifically request "offline" access. I recommend reading the…
  • Thanks! So, if I understand correctly, it's the 'filesUpload' call that doesn't complete? For comparison, does the 'filesListFolder' call work successfully? If so, how large is the file that they're trying to upload and how long are they waiting? If they're accidentally trying to upload a much larger file than intended, it…
  • The content.dropboxapi.com servers are being served with a valid certificate (from DigiCert), so it sounds like there's an issue with your local configuration preventing your system from validating that. You'll need to make sure your local trust store contains DigiCert.
  • If you're using authorizeFromControllerV2, the SDK will take care of the rest for you automatically. It requests "offline" access, so it gets a refresh token, and uses that refresh token to automatically perform the refresh process to get new short-lived access tokens whenever needed, without requiring you to handle that…
  • Can you elaborate on what you mean when you say they "can not successfully upload files"? Please show the rest of the relevant code you have implemented and whatever error/unexpected output you're getting.
  • You can use the API to access anything in the connected account that the account has access to and has mounted. The connected account doesn't need to be the owner. Using the /2/files/list_folder[/continue] endpoints is the right way to list the contents of any particular path, and then you can use /2/files/download to…
  • I see you already have an open support ticket for this, so there's no need to email in again. The support team will reply to your ticket and you'll get the response by email.
  • I can't monitor your account like that, so I recommend working with support via your email to check on your account.
  • We did recently have an issue where the "Use a different account" option in the Dropbox app would redirect to the developers site instead of the app authorization flow, but we recently fixed that. Are you still seeing this issue if you try again now?
  • It looks like this is due to a very large amount of activity on your account. This should resolve on its own after some time, but you'll need to make sure you do actually stop all calls to your account, or it will just reset the rate limiting. So, make sure you've stopped all calls to the account/team. For instance, make…
  • The files_search_v2 method returns a SearchV2Result, which has a list of SearchMatchV2 in its 'matches' variable. Each SearchMatchV2 has a MetadataV2 object in its 'metadata' variable, so you can access the Metadata object and its variables, such as 'path_lower', like this: search_result = dbx.files_search_v2('Test')for…
  • 遅れてしまったことをお詫びします!なんらかの理由でこのスレッドの通知はありませんでした。 とにかく、DropboxはプログラムでDropboxにアップロードするために使用できるAPIを提供します。 Nodeを使用している場合は、公式のDropbox API v2 JavaScriptSDKを使用することをお勧めします。これを使用してノードからアップロードする例がここにあります。 -----------– 読みやすい翻訳をご提供できず申し訳ございません。当社からの返答にはオンライン翻訳を使用しています。どの言語にも対応することが理想ではありますが、現時点ではそれが可能ではありません。こちらが英語版です。 -----------– Please…
  • The app authorization page in the browser connects back to the native app using a custom URL scheme, which the app sets in its plist file, from this step in the setup documentation. Specifically, it's the "db-<APP_KEY>" set in CFBundleURLSchemes under CFBundleURLTypes. (The Dropbox web page knows to redirect back to a URL…
  • Yes, that's correct.
  • I don't believe there's any specific guidance with respect to threading for the authorization process. The official documentation for implementing the app authorization flow can be found here.