Greg-DB Dropbox Community Moderator

Comments

  • @"Здравко" You need to use "echo -n " instead of just "echo" in this case. When you don't set "-n", echo includes a trailing newline character which will corrupt your encoded app key/secret value.
  • @"Здравко" Thanks! That's helpful. I just checked on this, and it looks like that failure is due to an invalid app key and/or secret value, so please double check your values. Additionally, there seems to be a bug on our side with how we handle that error case, resulting in the 500 Internal Server Error being returned,…
  • Thanks for the report. We'll need to look into this specifically. Can you open an API ticket and share the affected account ID, and and some output showing the loop, including a few cursors? Be sure to redact any access/refresh tokens though. Thanks in advance!
  • @"FoxyLoxy" That's correct, /2/files/get_thumbnail_v2 technically can return thumbnails for PDF files. It doesn't officially document support for PDF files in particular though, so I can't officially recommend relying on that. I will send this along as a request to consider that officially supported, but I can't promise if…
  • @"rdee" The rollback has been started. It will take some time before it's fully deployed though.
  • @"justindaw" The rollback has just been started. It will take some time before it's fully deployed though. I've sent your feedback about the timeline along to the team, but I don't have an update on that right now.
  • Dropbox does offer an API you can use for programmatically listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers This would generally need to be…
  • Dropbox does offer an API for programmatically listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers If you're a programmer, or are working with one, you…
  • No, unfortunately Dropbox doesn't offer an API for accessing comments, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • @"Rolana" There's no particular guarantee on that. Can you clarify if something isn't working for you? For example, are you are seeing delays of 10 minutes in practice?
  • (1) That's correct, in particular, it's the filesGetTemporaryLink method. (2) The Dropbox API doesn't offer a way to customize the lifetime of temporary links from filesGetTemporaryLink in particular, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. As you found,…
  • @"justindaw" I don't have an update right now. I'll follow up once I do.
  • @"AlexLefty" That's correct, commenting requires an account.
  • @"justindaw" Thanks for the feedback! The rollback is still planned, but was delayed for unrelated reasons.
  • @"rdee" The rollback is still planned, but was delayed for unrelated reasons.
  • @"Rolana" There isn't a documented guarantee on this for /2/files/get_thumbnail_batch, but changes should be reflected more or less immediately.
  • From this description, it sounds like this is due to recent updates to the server back-end for some Dropbox functionality to use "Transfer-Encoding: chunked" (and accordingly not return the "Content-Length" response header) on HTTP/1.1. HTTP clients are supposed to automatically handle this, but it's possible yours…
  • Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh…
    in Auth Comment by Greg-DB February 2022
  • Dropbox has multiple types of links for different pieces of functionality, such as "preview links" (/scl/fi) and "shared links" (/s). And yes, if you want to use the link options like "dl" or "raw" for direct access as covered here, you should use "shared links". You can create shared links using…
  • From your description and code, if you're uploading the exact same data again, the expected behavior in this case would not be to add another file. Note that uploading identical data to the same path results in no change. If you do want additional duplicate copies created, you can set 'strictConflict: true' and…
  • Dropbox doesn't offer a 'content_hash' or equivalent for entire folders, only files, 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 verify an entire folder, you'd need to check each individual file in the folder you're interested in verifying.
  • @"af11" As Здравко indicated, it sounds like you're referring to the "welcome" definition in app.py in the mdwebhook project, which is used for the "/welcome" route. That route in particular is used as the "success_url" for the app in the app.json (for Heroku deploys).
  • @"thesongcompany" This thread was just referring to a warning message displayed in the console. That shouldn't have been related to any redirects. This is an old thread anyway though, so if something's not working as expected for you, please open a new thread with the details of the issues you're seeing, such as the…
  • When uploading files to Dropbox, you should just supply the raw binary data. In the code here, there are two things that look like they may be altering or affecting the format of the data you're sending: 1) 'base64: true' on your printToFileAsync method and 2) readAsStringAsync. Those methods aren't made by Dropbox though…
  • The Dropbox API doesn't currently offer access to the viewer history information that you can see on the Dropbox web site manually, 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 report. There's a known issue causing that message to be shown unnecessarily. The team is looking into it. By the way, from that screenshot, it looks like your app currently processes the OAuth app authorization flow inside a web view, instead of the system browser. The OAuth app authorization flow should be…
  • To elaborate a bit on some of what Здравко was saying, note that in order to temporarily accommodate clients that don’t properly support automatically handling “Transfer-Encoding: chunked”, we’re temporarily rolling back that change, so that these links will no longer use “Transfer-Encoding: chunked” and will instead…
  • @"mbvistaprint" Is the lack of "Content-Length" specifically what is breaking your app? Earlier, based on the code and description you shared, you indicated it was the lack of a successful response at all. Please share a specific description of what exactly your app is expecting but not getting so we can advise…
  • The "X-Dropbox-Content-Length" header is not part of the HTTP spec and is not officially documented by Dropbox, so we can't recommend assuming that will always be present. I'm sending this along as a request to offer a guarantee on that, but I can't promise if that will be done.
  • Thanks for the additional context. I cannot provide support for third party clients unfortunately though, so please refer to the documentation/support resources for the client. Also, no, I can't offer a way to get help from the developers of the official Dropbox Android app itself. Apologies I can't be of more help in that…