Comments
-
Unfortunately, the Dropbox API does not offer a quick way to get the total size of a folder, so you would need to iterate through the contents and sum up all of the sizes of the contents. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
@"adamb924" Thanks for following up. Can you clarify where/how you retrieved that "dbid" value that you're passing to /2/sharing/add_folder_member?
-
Thanks for following up. Also just to confirm, can you let me know if it does or doesn't happen for you on the Embedder documentation page in Chrome as well? If it doesn't happen for you there, we'll need to investigate more specifically. I don't have an Angular environment where I can run your sample code though; at your…
-
Thanks for the feedback! I'll pass it along, but I can't promise if or when that might be implemented.
-
That's correct, the API itself only accepts the upload of whatever data you send. It does not offer conversions or report back on any automations that may be running in the folder. The automation does not replace the original file, so if you want a link to the converted file, you'll need to detect the creation of that file…
-
@"Shivadas" Yes, that should work too. There's no particular right way to structure this; ultimately the structure is up to you.
-
@"Shivadas" The HTML doesn't need to be structured in any specific way; ultimately you decide how to construct your HTML, and then pass the container element to the Dropbox.embed method. Here's a very simple example of making two embeds I just put together, modifying and combining your code with the example code from the…
-
The Dropbox API accepts uploads of files of any type (including both but not limited to jpg and heic). The Dropbox API does not do file conversions for you, but as you found you can manually set up automations on dropbox.com. Using automations doesn't change how the Dropbox API works. If you wish, you can still use the…
-
Unfortunately I can't say what the issue might be from this information. Do you have a sample page showing the issue we could take a look at?
-
Based on the error message, your machine is having trouble establishing a secure connection to Dropbox. The Dropbox servers are being served with valid SSL/TLS configurations though, and I'm not aware of any current service disruptions that should be causing this. You may want to check if you have any firewall, proxy, VPN,…
-
As Nancy mentioned, you can use the Dropbox API to programmatically get and add tags to items. If you have any questions on the API, let me know.
-
@"kiranghuge" Feel free to elaborate if you need help with something in particular, but for reference, 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…
-
@"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: <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?