Comments
-
@"toki4004" To download a specific file, you can use /2/files/download and specify the full path of the file you want, including any parent folder names, like "/Homework/math/Prime_Numbers.txt". To download a whole folder, you can use /2/files/download_zip and specify the name of the folder, like "/Homework/math" or…
-
If you are submitting a scope change request for a production app, make sure you only request the minimum necessary additional scopes, and clearly explain why you need each additional scope that you're requesting. If your request is not approved, you'll receive an email with information indicating why. Make sure you read…
-
Thanks! I'll pass this along as a feature request, though I can't promise if or when that might be implemented. And yes, Dropbox webhooks only tell you when something has changed, but not what has changed. You'll need to use the /2/files/list_folder[/continue] functionality to get the actual entries. You don't need to…
-
Yes, for team-linked apps, you can only have up to 5 teams connected to an app while the app is in development mode. If you'll need to have more than 5 teams connected to the app, you should apply for production status. You can find a bit more information about this for team-linked apps here.
-
It sounds like you do have the "files.metadata.read" scope enabled on the app you're looking at on the App Console. It would be greyed out if you also have at least one other scope enabled which relies on "files.metadata.read", and so you can't disable "files.metadata.read" without disabling the other scope(s) first. While…
-
The Dropbox API doesn't offer a way to get/construct the /home URL of a file/folder on the Dropbox web site like that (either explicitly or via an alias), but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. However, you can call…
-
The /2/files/list_folder[/continue] functionality is paginated and isn't guaranteed to return all of the entries in a single response. There are a few factors that can affect what/how much is returned in a single call, and that can vary over time due to a number of factors, e.g., as the state and contents of the account…
-
@"Kate Andreeshcheva" To confirm what Здравко said that's not made by Dropbox, and so Dropbox can't offer support for that. If you need help on the Salesforce side of things, you'll need to contact Salesforce. As for the Dropbox side, as Здравко linked to you can find the documentation for the Dropbox /oauth2/token…
-
@"Kate Andreeshcheva" Здравко is correct. Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term…
-
@"toki4004" In addition to the search functionality that Здравко mentioned, you can list all of the contents of any particular folder using /2/files/list_folder[/continue]. For example, if you know a parent folder path, you would set the "path" like "/Homework/math". Or, to list the root, you would supply the "path" as the…
-
Based on the error message, it looks like this may be because your site that displays the Embedder is itself being framed by a different site. Do you have a sample page showing this issue that you can share so we can take a look into this for you?
-
@"Bendico" Thanks for the note!
-
The files_list_folder method is not guaranteed to return all files/folders in one call. You'll need to have both files_list_folder and files_list_folder_continue implemented to make sure you retrieve all the pages of entries in order to list all files/folders in a folder. Please refer to the documentation linked there for…
-
A 'path/conflict/folder' error from files_upload liked you shared here indicates that the upload failed because there is already a folder at the path specified for the upload. From the description of your test case, this is the expected behavior. You indicated that you created a folder at "/test", and then also performed a…
-
@"coadyg" From your description, it sounds like you're referring to your team using the "team space". You'd need to set the "Dropbox-API-Path-Root" header to your 'root_namespace_id' as described in the Team Files Guide to be able to access the contents of the team space.
-
@"gbc04" Здравко is correct; you need to implement both ListFolderAsync and ListFolderContinueAsync. You aren't guaranteed to get all results back in just one call to ListFolderAsync. Please refer to the documentation linked there for information on how to use this.
-
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 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 don't include any access or…
-
@"Cust" A "path/not_found" Dropbox API error indicates that the API call failed because there was nothing currently found at the specified path in the connected account under the relevant root. For example, this can happen if there's a mistake or typo in the path value the app supplies, if the file/folder has been renamed,…
-
If the path values are not set, that indicates that the requested item is not mounted in the root for that call. For example, a user may have unmounted a shared folder containing the item in their account. Since this depends on the state of the account, if you need help with this, I suggest opening an API ticket privately…
-
@"Rephoto" While the API supports uploading up to 350 GB for a file, it sounds like there's an issue in that code causing it to try to upload too much data for the 2.6 GB file. I suggest printing out the offset from the cursor before each append call to begin to debug this.
-
1) No, the Dropbox web site does not appear to offer a keyboard shortcut for that particular feature. You can find information on the available keyboard shortcuts here . This section of the Dropbox Community is only meant for the Dropbox API though, so if you have any other questions regarding the rest of the Dropbox…
-
@"zachbfg" Dropbox still does not support embedding a file request on another site. You can include a link to a Dropbox file request (that is, using a "<a>" element), but Dropbox doesn't support embedding the Dropbox file request web site itself (e.g., using "<iframe>").
-
@"cjacky475" The use of a refresh token works the same way whether you make a small or large number of calls. The SDK doesn't perform a refresh on every single call; it only performs the refresh when it needs to. And as Здравко said, it is not required, but you can retrieve the current access token using…
-
The filesListFolder[Continue] functionality is the only functionality to use to list and follow the changes in an account, if you need to support any account type. That functionality doesn't offer more specific event filtering though; it returns both new and updated files, as well as folders. If this is a team account…
-
@"cjacky475" Здравко is correct; when using an official Dropbox SDK and supplying a refresh token, you do not need to catch this in your own code. It looks like you're using the Dropbox Java SDK, so if you're interested, you can see where the Java SDK handles this error internally for you here.
-
@"Linda333" That's correct, the Dropbox API does have a general rate limiting system that applies to all account types, but we don't have specific rate numbers documented for that, and we cannot increase the limits for any particular app, user, or team. Apps should be written to handle these rate limit responses…
-
@"TheSecurity" That's correct, Dropbox requires OAuth 2 redirect URIs to be registered exactly, including the port, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. As Здравко noted though, you can instead register multiple redirect URIs to support multiple ports.
-
@"saharin" Also, regarding "does not cause errors, but the list of cloud storage files does not print", are you referring to trying to list the contents without using "Where"? In that case, there are a few things to check: * Are you connected to the correct account that you expect to be accessing? * Are there actually any…
-
@"saharin" Thanks for following up. Unfortunately as we cannot reproduce this issue, and this functionality is not actually part of the Dropbox API/SDK itself, I'm afraid I can't offer much insight on this. For reference, the "Where" method is provided by Microsoft, and you can find information on that here. I see you said…
-
The timestamp for the event would be the original timestamp for when the event itself took place, that is, when the user logged in, not when the API call to get_events was made. I can only provide help regarding the API itself. For help regarding the properties of the sign-in functionality itself please refer to the help…