Comments
-
Dropbox does offer the ability to programmatically permanently delete files, via the /2/files/permanently_delete endpoint. (That's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.)…
-
It sounds like the links on your account have been banned. You can find more information on that here.
-
Individual scopes enable access to functionality relevant to any account. Team scopes enable access to functionality specific to Business teams only. Team scopes can only be authorized by team admins. You can see which scope is required for each endpoint in the API documentation, e.g., for the user endpoints, which require…
-
No, unfortunately Dropbox does not offer the ability to grant an app/access token access to specific existing folder(s) only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
I confirmed that https://tonyxu-io.github.io/pkce-generator/ generates a correct code challenge that Dropbox accepts, so it sounds like there's something wrong in the process you were using. It looks like the issue is that the "SHA-256 hash calculator" is presenting the hash with hex encoding, which should not be used in…
-
Can you elaborate on what you mean when you say "it doesn't work"? What unexpected error or output are you getting?
-
Yes, Dropbox is in process of migrating all apps to use scopes. This is a backwards compatible migration; scoped apps can use all of the same functionality as non-scoped apps. Scopes just offer more granularity in the control over which functionality you enable for the app. You can find more information on the migration in…
-
You can contact support for help regarding the state of your account.
-
That code_challenge value does not appear to be correct for that code_verifier value. I tried plugging "2LORVR1BWsWNkUuLISmv28MR44bYCiq39mU5m8QuzKM" into https://tonyxu-io.github.io/pkce-generator/ as the "Code Verifier" and got a "Code Challenge" of "xkyg5O2AFQ7xMW1A4tJEXhBee-7mOjI3Zf5a_GxuKCc". Also, make sure you're…
-
You can only specify 'scopes' when using an app that is registered as a "scoped" app. Your app 1 is not scoped, so you can't specify scopes for it. You should migrate it to be a scoped app via the "Permissions" tab of the app's page on the App Console.
-
[Cross-linking for reference: https://stackoverflow.com/questions/69069412/issue-regarding-list-folder-continue-in-drop-box ] To get entries in subfolders as well, you should set 'recursive: true' when calling /2/files/list_folder. That will apply to subsequent calls to /2/files/list_folder/continue with resulting cursors.
-
To maintain long-term access, you'll need to request "offline" access, as you're doing, and then supply the app key (the app secret isn't needed since you're using PKCE) and refresh token. As long as you do so, the SDK will handle the refresh process for you automatically. You can find an example of setting the refresh…
-
A link ban would not impact the ability to read/add/edit/delete/search files or metadata. It only affects an account's links. So, the ability to read/add/edit/delete/search files or metadata does not indicate whether or not your account's links are banned.
-
A 'not_allowed' error from /2/files/get_temporary_link indicates: not_allowed Void The user is not allowed to request a temporary link to the specified file. For example, this can occur if the file is restricted or if the user's links are banned. The help center article linked there has more information on link bans. You…
-
In order to provide more time for clients to update their trust stores, we will continue the use of DigiCert High Assurance EV Root CA until at least January 1st, 2022. We will soon replace the current certificate for api.dropboxapi.com, which expires soon, with another one also from DigiCert High Assurance EV Root CA.…
-
The Dropbox API now supports enabling/disabling the download restriction on a shared link via the SharedLinkSettings.allow_download setting on /2/sharing/create_shared_link_with_settings and /2/sharing/modify_shared_link_settings (and corresponding methods in the official SDKs). You can also check the setting for a shared…
-
La API de Dropbox ahora admite habilitar / deshabilitar la restricción de descarga en un enlace compartido a través de la SharedLinkSettings.AllowDownload con los CreateSharedLinkWithSettingsAsync y ModifySharedLinkSettingsAsync en el SDK de .NET. -----------– Disculpa la calidad de la traducción. Hemos utilizado un…
-
@"mirage_alaas" The Dropbox API now supports enabling/disabling the download restriction on a shared link via the SharedLinkSettings.AllowDownload setting with the CreateSharedLinkWithSettingsAsync and ModifySharedLinkSettingsAsync methods in the .NET SDK.
-
@"chrillep" No, I don't have any updates on this request.
-
This is fixed in v4.0.1 of the Java SDK.
-
Exactly how you prepare your app(s) for the upcoming changes will depend on your app/environments, such as whether or not you're using any official Dropbox SDK(s). If you are using an official Dropbox SDK, please make sure you're using the latest version of it, and refer to the current documentation to make sure you're…
-
1. Yes, using the authorizeFromControllerV2 method in the SwiftyDropbox SDK will handle this automatically for you. It will make the SDK request, store, and use a refresh token for the client automatically. 2. You are not required to change the "Access token expiration" setting for the app on the app's page on the App…
-
Each 'client.files.download' call downloads one file by making one HTTPS request to the Dropbox API servers. Additionally, these calls run asynchronously, and will not block until the call completes. That is, calling 'client.files.download' will start the HTTPS request, but will itself return before it's complete and the…
-
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the 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 don't include any access/refresh token(s) *…
-
When setting options like this, you should use the provided instance, like this: var visibility = RequestedVisibility.Public.Instance; Also, I see you're checking the "RequestedVisibility" in the result, but you probably want to actually check "ResolvedVisibility", since that's what tells you what the final state actually…
-
@"endreymarcell" Thanks for the feedback! And yes, deleting an account does free up the email address on it.
-
The getAuthenticationUrl method takes an tokenAccessType option for this. You can set that to "offline".
-
Yes, scoped apps can still use the old authorizeFromController method. It will just use the default scopes set for the app in the App Console.
-
To retrieve the account information, such as email address, of the connected user you can use the /2/users/get_current_account endpoint.
-
Thanks for the post! It looks like this is the same issue discussed here.