Greg-DB Dropbox Community Moderator

Comments

  • @"Shivadas" I don't have an example of that exact scenario handy. Feel free to try it out though and share what you have so far and let me know what you're stuck on. I'll take a look and help how I can.
  • Dropbox does not currently offer API functionality for Dropbox Transfer, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. A) The Dropbox API does offer the ability to programmatically create shared links with passwords, via the…
  • @"Shivadas" The element you pass in to the Dropbox.embed method is where you want to have the embed placed. The element you select for any given embed is up to you. You can use the same element for multiple embeds, or you can use different ones. If you want to create multiple embeds, you should call Dropbox.embed multiple…
  • Thanks for the feedback! I'll pass it along.
  • @"Shivadas" I can't offer specific guidance for a third party CMS or platform in particular such as Webflow, as that's not made by Dropbox, but in general, here's a basic way of creating a div element in HTML and then retrieving it in Javascript&colon; <div id="container"></div> var element =…
  • The Dropbox API and SDK unfortunately do not offer the ability to create/retrieve the storage report programmatically, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. If you want to recreate that kind of information programmatically, you can use the API to do so,…
  • The Dropbox JavaScript SDK isn't built to specifically support Next.JS, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That said, based on the error you shared it looks like the issue is that the fetch function is not available in your environment. The Dropbox…
  • @"XioGucix" The thumbnail links returned by the Dropbox Chooser expire after four hours, so if you're seeing a 410 error from those links after four hours, that's the expected behavior. If you're seeing some unexpected issue though, please feel free to share the details of the problem so we can help.
  • Unfortunately there isn't a way to combine these, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • Thanks for the post! Dropbox doesn't currently offer an officially supported/documented way of linking into the desktop app like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • The media_info field is an optional field, and when include_media_info is set to true in the request, media_info will be populated with the media information when it is available. The media information will not always be available though, due to a variety of factors, such as file type, size, and compatibility. I'll pass…
  • Thanks for the feedback! I'll pass this along to the team.
  • @"brad-robinson" Unfortunately the Dropbox API doesn't offer a way for third party apps to export comments or notifications like this, but I've sent these along as feature requests. I can't promise if/when this might be offered though. Apologies I don't have better news to offer!
  • If you're using the PKCE flow, the client secret shouldn't be required, so based on this error it looks like you're not actually in a PKCE flow. Have you modified the OAuthPKCE sample code? I just tried it as is (just plugging in an app key) and it is working for me. Can you confirm you set up the OAuthFlow object as a…
  • Thanks! Yes, to confirm, this URL is requesting only the "groups.write" scope, via the "scope=groups.write" parameter, but the app for that client_id doesn't currently have "groups.write" enabled, so this request can't be serviced, and accordingly this error is returned. To avoid this error, you would need to either not…
  • To get the space usage for an account via the API, you would call the /2/users/get_space_usage endpoint. If you have a team-linked app, you can first call /2/team/members/list_v2 and /2/team/members/list/continue_v2 to list the members of the team. Refer to the "Member file access" documentation for information on how to…
  • The [''root_info''][''.tag''] returned by /2/users/get_current_account doesn't indicate the type of the account; it actually indicates the type of the root currently used by the account. A "team" value there indicates that the root is a shared team root, but it is possible for an account to be on a team but not have a…
  • @"Ghislain Sommervogel" Thanks for following up. I'm sorry to hear about the difficulty you've had configuring this. So that we can take a closer look at this error and offer some help, can you share the full URL of the page showing this error?
  • @"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…