Greg-DB Dropbox Community Moderator

Comments

  • This forum thread serves as your feature request. I'll follow up here with any news on this.
  • The public Dropbox API doesn't return information about which user originally created a particular file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • Thanks for following up and sharing that. In your Python code, you're using the "PUT" method, via the ".put" call, however the /2/files/upload endpoint expects a "POST". That would be ".post" in the requests library.
  • I just gave this a try myself, but I'm not getting back a 404 error when I use that header. Can you share the full request and response for this issue so we can take a look? If you're using curl, use the -v option to enable verbose mode. Please redact your access token though. Thanks in advance!
  • That endpoint is not part of the public API, so third party apps will not be able to use it. Instead, you can check the sharing_info.modified_by field for a FileMetadata, e.g., as returned by /2/files/get_metadata or /2/files/list_folder[/continue]. You can get the account information for that account using the account ID…
  • @"mittinga" The path_lower field will not always be returned; please refer to the documentation for information on when any particular field will be returned. (Be sure to click on FileLinkMetadata and/or FolderLinkMetadata under the "Returns" section to expand the information for those types.) Note also though that if you…
  • It's not clear from this code what the issue may be. It seems like it may be a problem with the platform or network client itself.
  • Are you using an app registered for the "app folder" access type? If so, it would only have access to contents of the special app folder that gets created for it. The folder in your screenshot isn't an an app folder though, so you'd need to use an app with the "full Dropbox" access type to access that. You can't switch the…
  • Thanks for following up with the additional information. That looks like the right start of an access token. Looking at your headers though, your "Dropbox-API-Arg" value looks to be formatted incorrectly. Specifically, both: * it has extra slashes, which are normally meant for escaping slashes in the command prompt but…
  • I see you're getting an error "The operation couldn’t be completed. Protocol error". This is not actually an error from Dropbox itself, so unfortunately we can't offer much insight on that. It looks like it may be an issue with your network connection/stack, so you may need to refer to the support resources for the…
  • From the configuration in the UI in your screenshot, it looks like your client may be trying to parse the response as JSON, but the response isn't guaranteed to be JSON, so please check the raw response. If the raw response is empty though, please check and share the headers as they may help indicate the issue. In that…
  • This is open with engineering, but I don't have an update on it yet. I'll check in with them and follow up here once I have any news.
  • Dropbox selects certain partner apps to include in the App Center. If you're interested in a potential technology partnership with Dropbox, you can reach out here: https://experience.dropbox.com/form/app-integrations-contact 
  • Please print out the content of the response body, as it should contain a more detailed error message indicating why the call failed.
  • With an app with the "full Dropbox" access type, you can specify the path to any folder, but note that if you're trying to access something in the "team space" in particular, that will require some additional configuration. By default, API calls to the Dropbox API operate in the "member folder" of the connected account,…
  • @"Standa Fy" Thanks for providing the sample. I also tried this out and was able to reproduce the issue with your sample in Chrome. When inspecting the relevant request in the developer tools in Chrome, I see the request does receive a response, including a successful status code (200) and headers. When attempting to view…
  • @"adamb924" Thanks for the information. In that case, yes, please use email addresses for this use case, instead of copying over the identifier from the other authorization.
  • Thanks for following up and apologies for the confusion. I looked into this more and confirmed that Dropbox Backup files may not be accessible via the API depending on which version of Dropbox Backup you’re on. The updated version of Dropbox Backup uses a different implementation that stores the files in a different way,…
  • 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…