Greg-DB Dropbox Community Moderator

Comments

  • @"brad-robinson" No, unfortunately I don't have any update to share on this. The endpoint you mentioned is internal and not part of the public API and so is not available to third party apps.
  • Additionally, it's worth noting that you should be able to access the settings page of the app that you created (whether or not you have connected it to your account) on the App Console here: https://www.dropbox.com/developers/apps Note though that you'll need to be signed in to the same account that you used to create the…
  • Thanks for the feedback! The Dropbox API doesn't currently offer anything like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • Unfortunately Dropbox doesn't offer an interface for programmatically managing this setting, such as to set a file to "online" or "offline", but I'll pass this along as a feature request. I can't promise if or when that might be offered though.
  • We don't currently have any news to share. Thanks for all of the feedback on this!
  • Check the response body for a more specific error message. With the JavaScript SDK, you should be able to by checking the nested `error.error` object. An error response with a 401 status code like this should indicate an issue with the authorization though; for instance, the access token used may be invalid or expired.…
  • It looks like you meant to call /2/files/get_metadata, but based on the error message in the response body you actually called /2/sharing/get_folder_metadata (which takes different parameters, and so the call failed). Make sure you've configured that to call /2/files/get_metadata if that's what you intended.
  • The Dropbox API does have a general rate limiting system that applies to all account types, but we don't have specific rate numbers to share 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 automatically. Also note that not all…
  • The error "argument of type 'NoneType' is not iterable" is not actually an error from the Dropbox API itself, so we can't offer too much help with that in particular. That said, the error indicates that a particular object is unexpectedly None and so cannot be iterated over; you'd need to determine what object in your…
  • @"Jagan Tirumalai" That "access code" is also known as the "authorization code". It should not be copied into the app's settings on the App Console; it should be copied back into the app itself. For example, refer to this line in the Java SDK example code that reads the authorization code back into the app so it can then…
  • I'll be happy to help with any issues you're having with the Dropbox Embedder, but I'll need some more information. Please reply with: * the steps to reproduce the issue, including relevant code snippet(s) * a sample page showing the issue that we can access, if possible * the full text of the error you're seeing Thanks in…
  • I see you're not actually setting "Dropbox-API-Path-Root", so that would default to the "home" mode, but the namespace you're trying to access may not be mounted underneath the user's home. That being the case, you'll need to set the root such that the namespace will be found. You can do that like this, for example: * set…
  • 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.