Greg-DB Dropbox Community Moderator

Comments

  • As you found, app folders are incompatible with shared folders, meaning you can't share an app folder, put a shared folder inside an app folder or put an app folder in a shared folder. Instead, if you need to use the API with shared folders, you'll need to use "full Dropbox" permission, as opposed to the app folder…
  • Yes, that's correct. Technically the short-lived access token isn't needed there, since the SDK will automatically use the refresh token to get a new short-lived access token whenever needed.
  • Thanks! In this latest screenshot I see you're now getting the error "shared_link_already_exists". That means the "shared link already exists" for the specified item, so you can't create another for that item. I see it's also indicating that it's returning the existing shared link metadata in the error object in this case,…
  • Hubo un error con este método en versiones recientes de .NET SDK, pero lo solucionamos en la última versión. Si aún no está usando v6.11.1 del .NET SDK, actualice a eso e intente nuevamente. -----------– Disculpa la calidad de la traducción. Hemos utilizado un traductor en línea para crear las respuestas. Nos gustaría…
  • No, I don't have an update on this feature request.
  • The "don't have any API limits at all" claim you quoted was not posted by a Dropbox employee and is not accurate. 1. The Dropbox API does have a general rate limiting system that applies to all account types, including free accounts, but we don't have any specific numbers documented for that. It is relatively generous…
  • From a technical perspective, it should certainly be possible to use the same access token in multiple places like this. So, to help narrow this down, can you confirm it's the 'filesUpload' call in particular that doesn't complete? Does the 'filesListFolder' call work or not? Since the code is running in each individual…
  • The Dropbox API does not offer functionality for controlling the desktop client like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You may want to consider instead using the Dropbox API to upload the file, which is done by communicating directly with the…
  • No, there's nothing quite like that. Beyond accessing the contents of a shared link directly, you'll need to use the API as documented, e.g., by passing up an OAuth 2 access token.
  • As long as the refresh token is valid, it's not necessary to update the credentials. The SDK will automatically perform a refresh using the existing refresh token whenever needed.
  • The Dropbox API itself does not technically require that these two changes (scopes and SLT/PKCE) be done at the same time. It is possible for a non-scoped app to use SLT/PKCE, and it is possible for a scoped app to not use SLT/PKCE. However the Android authorization flow built in to the Java SDK was updated to handle both…
  • Yes, when using 'response_type=code', you'll get back an "authorization code", not an "access token". You can exchange the authorization code for an access token by calling /oauth2/token. When using 'response_type=token', you'll get back an access token directly. The 'response_type=token' flow is no longer recommended…
  • 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.