Comments
-
I'm not aware of any current disruption to Dropbox API connections. Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. That route may also be different than that to other providers. Sometimes resetting or retrying your connection…
-
Note that there are a multiple ways for an app to be disabled, e.g.: * the app itself could be disabled, e.g., via the App Console. If the app was disabled there while it was in "production" mode, you can re-enable it there. * the account that owns the app could be disabled, which would effectively disable the app. If the…
-
Thanks for the feedback! The previous revisions only exist within the namespace for the shared folder. When you unshare a shared folder, you essentially destroy that namespace, so its old contents are no longer accessible. I've sent this along to the team to see if we can change this, but I can't make any promises. I'll…
-
The 'file_lock_info' field is only returned for files that currently have a lock on them, and the 'file_lock_info.created' field would only indicate the time the current lock was created, not the creation time of the file itself. You can find more information on the different file metadata fields in the documentation for…
-
@"xsmael" If you want to create a shared link without a password, you would still use /2/sharing/create_shared_link_with_settings , but you would omit the 'link_password' parameter (and use 'requested_visibility' accordingly, i.e., either omit it it set it to something other than "password").
-
Since the shared folder was unshared, the account can no longer access the file data from the previous revisions, which only existed in the context of that shared folder. The ListRevisions method does confusingly return those old revisions though, so I'll ask the team to see if we can improve or clarify this behavior…
-
That's correct, when listing a folder based on the folder's path, if the path changes the folder will no longer be found. Здравко's recommendation of using the folder's 'id' instead of the path is a good one. That is, when calling /2/files/list_folder, supply the folder's id (which starts with "id:") as the 'path'…
-
@"Здравко" The Dropbox API actually supports range requests for all content-download style endpoints in general, so it's mentioned in the "Content-download endpoints" documentation. That could definitely be expanded on though, so I'll ask the team to improve that. Thanks!
-
I'm afraid that's correct; there unfortunately isn't a way to do exactly what you want to do here. While you can retrieve the metadata and file content for a particular file from a shared link for a folder like this using /2/sharing/get_shared_link_file as mentioned, the Dropbox API doesn't offer a way to retrieve the…
-
@"ndkhaivn" No, unfortunately I don't have any news on this request.
-
@"Sukanth" To clarify, are you seeing this error for the "Get Started with Dropbox.pdf" file as mentioned originally for this thread, or for something else? I'm not seeing this issue with that file currently, so if you're still seeing this, or it's for another file, please open a ticket with details so we can investigate.…
-
Yes, it looks like in that case you've only written a portion of the file, so you could check how much of the file you did write, and then use DbxDownloadStyleBuilder.range to download just the rest of the file. Also, if it's helpful, you can use the "Content Hash" feature, available in the Java SDK…
-
For cleaning up after failed operations, if an API call fails when you're using the Java SDK, it should raise an exception you can catch so you can perform whatever cleanup you need, such as deleting local files. For restarting downloads, you can actually use DbxDownloadStyleBuilder.range to restart a download at whatever…
-
[Cross-linking for reference: https://stackoverflow.com/questions/60007404/camel-dropbox-component-search-query-to-return-all-files-from-directory ] It sounds like you're using a Camel component made by a third party. As that's not made by Dropbox, I can't offer help with it. On the Dropbox API itself, the search endpoints…
-
Thanks for the detailed question! The "development"/"production" status wouldn't be the issue here, and most of the rest of your understanding is correct. (And if you don't need to connect to more than 50 users, you don't need production status regardless.) It sounds like the issue here is that each user receives their own…
-
Thanks, but still to clarify, what exactly are you doing to get the result in that second screenshot? That appears to be a Dropbox HTML error page, but the response in the first screenshot indicates that the response was just plain text, not HTML. That 400 response should indicate that the API request wasn't correctly…
-
No, unfortunately the /2/files/save_url endpoint doesn't offer "write mode" options, e.g., to overwrite an existing file at the specified location, like /2/files/upload does. I'll pass this along as a feature request, but I can't promise if or when that might be implemented. I'm not sure I understand your other comment…
-
Thanks for the feedback! I'll send this along as well.
-
This forum thread serves as the reference for the feature request. I'll follow up here if/when I have any news on this.
-
That "Unexpected select user header" error indicates that you're using an access token for an app that is not allowed to use that feature. That feature is only meant for "Dropbox Business API" apps registered for the "team member file access" permission. So, for instance, you might be using an access token for a "Dropbox…
-
No, unfortunately /2/files/export doesn't support exporting as Markdown, nor is there another way do that in a 'paper_as_files' account, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Update: the /2/files/export endpoint now supports exporting .paper files as…
-
Dropbox doesn't send webhook notifications for changes to Paper documents, but we'll consider it a feature request. I can't promise a timeline for if/when that might get added though.
-
@"guymayor" Здравко is correct; the Dropbox API doesn't offer a way to upload files based only on the app key and secret. The app key and secret only identify the app itself. Making changes to an account, such as uploading files, requires authorization to access that account. The Dropbox API doesn't offer any sort of "app…
-
You can find an example of the webhooks notification payload in the webhooks documentation here: https://www.dropbox.com/developers/reference/webhooks#notifications
-
I'm glad to hear you already got this sorted out, and thanks for the feedback!
-
You can download the file data using the API/SDK. Please refer to my comment here for some information on doing that. Exactly what you do with the data, e.g., how you display or present it to the user, will depend on your use case.
-
The "move" methods would only be if you need to actually change the location of a file or folder in the Dropbox account. If you just want to browse a different folder, you can call filesListFolder/filesListFolderContinue again, supplying the 'path_lower' of the sub-folder you want to list. You would then use the result…
-
I see you've already found the methods for downloading a file, and it sounds like you are getting the file data successfully. If the download call failed it would raise an exception. It sounds like you're having an issue viewing the file though, perhaps due to reading it with an incorrect encoding. How are you…
-
We've fixed this so that you can now check the async job status even if the original access token is revoked or expired, as long as the access token you are using is for the same app/user pair as the original.
-
When you get the response from filesListFolder you need to check the returned FilesListFolderResult.has_more value and if it's true, call back to filesListFolderContinue. Calling filesListFolderContinue works the same way as filesListFolder except that you pass in a 'cursor', from FilesListFolderResult.cursor. It also…