Greg-DB Dropbox Community Moderator

Comments

  • Thanks for following up. To be clear, you should not be adding "/root" to the path itself, as that's not a path component (unless some user/app literally made a folder named "root"). You can use PathRoot.Root with a root namespace ID just like you used PathRoot.NamespaceId. That is, modifying your original code, that would…
  • Is that the entirety of the output you get from curl? There should be more output in verbose mode. For example, when I try this code with verbose mode, I get a bunch of output starting with "* Trying"... which then shows the IP address of the server it connected to, and so on. Can you share the rest of that? It should be…
  • By the way, it appears you are disabling verification, which is a security issue; see https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html and https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html .
  • Can you enable verbose mode (that should be "CURLOPT_VERBOSE") and share the full output so we can take a look? Be sure to redact the access token though. Thanks!
  • While I can't provide support for your HTTPClient class itself, from your description and code, it seems like the 'http.POST(args)' line POSTs the argument data into the request body, which is where the file data is supposed to go, so that becomes the uploaded file data. You may need to refer to the documentation for your…
  • It sounds like your team recently migrated to the "team space" configuration. By default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, the contents of the team space will not be found. You can configure API calls to operate in the…
  • By the way, I notice you have a password and access token in your message. Please keep in mind this thread is public, so be sure to redact any sensitive values.
  • Thanks for following up. I'm glad to hear you resolved that first issue. Can you clarify what you mean when you say "it simply doesn't upload anything" though? What response do you get now?
  • Yes, a generic 400 response to an API call like that generally means that the call failed because the servers could not parse the request as a valid HTTP request, indicating that something about the request was malformed. Are you able to enable any sort of verbose mode so you can view the raw HTTP request? If possible,…
  • I see you're attempting to access the user's root namespace, in which case it's generally best to use the PathRoot.Root mode instead of PathRoot.NamespaceId. Please give that a try and let me know what you get.
  • I'm sorry to hear about the issues you two have been having with that app. I can't say for sure what the cause is based on this description, but for reference the Dropbox API itself does support listing files and folders of any age, and I'm not aware of any current bug or disruption on our side that would cause an issue…
  • [Cross-linking for reference: https://stackoverflow.com/questions/79014393/list-dropbox-files-through-their-api-using-curl ] That's correct, you'll need Bearer auth for this. I'll ask the team to fix this up in the documentation. Thanks!
  • Looking at this code, there are a few things to note: * You're only calling /2/files/list_folder but not /2/files/list_folder/continue. You're not guaranteed to get everything back from just /2/files/list_folder; you need to check the returned has_more value and implement support for /2/files/list_folder/continue as well.…
  • Yes, as Здравко said, Dropbox does offer an API that includes endpoints that can be used to delete files, such as /2/files/delete_v2, as well as /2/files/delete_batch which supports deleting multiple files at once. Also note that those are links to the documentation for the HTTPS endpoints themselves, but we recommend…
  • [Cross-linking for reference: https://stackoverflow.com/questions/79004433/how-can-i-sort-dropbox-tagged-images-in-my-embedder-app ] I'm glad to see Здравко was already able to offer help here. For reference, the Dropbox Embedder documentation can be found here.
  • Dropbox itself doesn't have listings or recommendations of developers to hire (though there may be some in the forum here who can chime in). There also may be third party marketplaces online where you can search for developers to hire, but we can't recommend any in particular. I certainly see how that could be helpful…
  • As others have already helpfully mentioned here, while Dropbox does not offer a way to directly customize the file requests interface itself (other than the branding), Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations, so programmers could build a custom interface.…
  • @"Minecraft Demon" No, I don't have an update on this feature request.
  • It is possible to list and download files from Dropbox Backup using the Dropbox API, the same way you would any other files in a Dropbox account. For instance, you can use /2/files/list_folder and /2/files/list_folder/continue to list files/folders, /2/files/download to download specific files, and /2/files/download_zip to…
  • @"Minecraft Demon" That URL and corresponding scope are not part of the public Dropbox API and so are not available for use by third party apps. I'll pass this along as a feature request for functionality like this on the public API, but I can't promise if or when that might be offered. You can find all of the…
  • @"mittinga" You can get the metadata for a file/folder based on its shared link using /2/sharing/get_shared_link_metadata. Refer to the "path_lower" field documentation for information on if/when the path will be returned. The /2/files/move_v2 endpoint does support file IDs though; you can supply a file ID in the…
  • @"ABDUL Salam" Thanks for sharing the sample. It looks like this is hitting an internal constraint. We'll look into what we may be able do about that. In the meantime, to work around this, you may want to add an automatic retry or two (i.e., starting at save_url again for the relevant URL) when this occurs.
  • @"santosh33" As Здравко asked, is that the actual path you're calling with? Using an empty string "" as the path shouldn't result in a "path/not_found" error. For reference though, 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…
  • 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, moved,…
  • @"IvanIgorevich" When you get a 400 error like that, inspect the error object, as it should contain a more useful error message indicating more specifically why the call failed. In any case though, as Здравко said, there are other options for listing files and monitoring for changes that may be helpful. Check out the…
  • @"ABDUL Salam" A 'download_failed' error from /2/files/save_url/check_job_status should indicate that the save job failed because the supplied URL wasn't accessible. So as Здравко said, check out the code supplying the URL, as well as the URL itself, to make sure it's sending a working URL. If you've done so and you're…
  • Thanks for the detailed report. This is a known issue with the /2/files/list_folder/longpoll functionality; it currently does not restrict its change detection to the specific path set for the supplied cursor. This is open with the team, but I don't have a timeline for a resolution. I'll follow up here with any news.
  • [Cross-linking for reference: https://stackoverflow.com/questions/78980867/issue-listing-team-folders-with-dropbox-javascript-sdk ] I see Здравко already helpfully offered some guidance here. The following resources may also serve as useful references: *…
  • If you're currently unable to use the standard support page, use this API support form and reference this forum thread; we'll redirect your ticket accordingly.
  • I suggest contacting support to check on the state of your account, to see if/why your account's links are currently banned.