Greg-DB Dropbox Community Moderator

Comments

  • To clarify, Dropbox is now migrating to issuing only short-lived access tokens. While we're not invalidating existing long-lived access tokens, we are beginning to phase out the ability to create new ones. While that change began on September 30th, we're releasing it gradually, so you may not have seen all app(s) affected…
  • No, unfortunately I don't believe there's any channel or document I can refer you to for a definitive theoretical maximum for this.
  • Could you elaborate on what you mean when you say "according to the de tools all parameters are sent"? For instance, could you show the request (headers and body) that your client is sending? Be sure to redact any sensitive values themselves though. If a parameter was being sent in the correct format but had an incorrect…
  • Dropbox doesn't intentionally throttle connections, but I don't have any information on how much bandwidth one could theoretically get. For optimizing uploading via the API, be sure to read the Performance Guide though.
  • Your connection speed to Dropbox depends on a number of factors, such as the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. That being the case, unfortunately I can't guarantee any particular performance characteristics.
  • @"Steve J.5" Thanks for the feedback. You can find the latest update at the top of the Paper Migration Guide. I don't have any other news to add to that.
  • Dropbox is switching to issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. Developers of existing third party apps received advanced noted of this change by email. More information can be found here. Apps can still get long-term access by requesting "offline" access though,…
  • Dropbox unfortunately does not support a way to directly get a link to a folder from an ID like this exactly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. There are some things you may work, though they may require some programming. If the folder happens to be…
  • In addition to the webhooks documentation, I recommend reading the File Access Guide and Detecting Changes Guide for information on interacting with and monitoring the Dropbox file system. If you still have any questions or if something isn't working as expected, please share the details and we'll be happy to help.
  • If you are referring to processing the OAuth app authorization flow, note that each time you do so, you will get a different access token (and refresh token, if you're requesting one). These values are expected to be different each time. You only need to process this flow when needed though. For instance, if you are…
  • @"ancso" Is this the exact code you're running? I just gave it a try and it works for me when I plug in my own client_id, access_code, and code_verifier. (For reference, redirect_uri is optional in this flow, so that shouldn't be an issue.) The "No auth function available for given request" error should indicate that the…
  • Thanks for the report! Like in the other thread you linked to, this 504 error can be related to these operations taking a long time due to a large number of files and/or a large amount of file activity in the affected account(s). That can vary over time due to account activity and other such factors though. We'll look into…
  • I can't offer any other solutions using the Embedder unfortunately. You can find all of the supported options for the Embedder in the Embedder documentation, but unfortunately there's nothing for programmatically enabling a print button or accessing the embedded content like that. If you need more control over the…
  • Unfortunately, the Dropbox Embedder doesn't have an option for that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • The DropboxTeam.as_admin method returns a Dropbox object; it doesn't modify the existing DropboxTeam object (dbx in your latest snippet here). So, the code in your latest snippet won't allow you to call files_list_folder on that 'dbx' object. You should save the returned Dropbox object and use that instead.
  • If you're getting 'reset' back from /2/sharing/list_shared_links, that means that the cursor you're supplying is no longer valid. You'll need to call back to /2/sharing/list_shared_links without that cursor to reset. When you call back, you can omit both the 'cursor' and 'path' parameters to list all the available shared…
  • This error message in particular is referring to specifying what account on the Business team to operate on behalf of. For reference, when using any "team scopes", the resulting access token is connected to an entire Dropbox Business team, not an individual account. So, when using a team-scoped access token to access…
  • @"gagsbh" You should set close=true on the last call to on upload session where you need to upload data for that upload session. That might actually be on a UploadSessionStartAsync call (for small files), or a UploadSessionAppendV2Async call, or a UploadSessionFinishAsync call, if not using UploadSessionFinishBatchAsync.…
  • I see you also posted this on GitHub so I'll close this and follow up with you there: https://github.com/dropbox/SwiftyDropbox/issues/349
  • You can find a history of changes to the Dropbox API specification here: https://github.com/dropbox/dropbox-api-spec/commits/main We also have a blog where we post announcements about the API here: https://dropbox.tech/developers Additionally, you should receive emails for API announcements to the email address on the…
  • I see you're getting a 200 status code which should indicate that the call completed, but I don't see the actual response body here. Can you print out the response body? I can't offer help with fetch itself so you may need to refer to the fetch documentation for information on using it.
  • @"abiluck" The request for that is still open with the team, but I don't have any news on that right now. I'll follow up here with any update on that.
  • Thanks, that's helpful. It looks like you're running this sample project with the latest version of the 'dropbox' package (currently v11.25.0), however this sample project was only written for an older version. Attempting to use it with the latest version will fail like this due to subsequent changes in the 'dropbox'…
  • The 'mdwebhook' project doesn't contain any reference of 'SecureCookieSession', so can you share the full stack trace and relevant code for context? Thanks!
  • No, unfortunately there isn't a way to have the Dropbox Saver return the file metadata or link like this, or other way to directly identify the saved file(s), but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • That's correct, thanks and happy new year @"Здравко"!
  • No, unfortunately the Dropbox API doesn't offer a way to upload a file and get a shared link for the file in the same call, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • That's correct, v11.25.0 of the 'dropbox' library depends on at least v1.12.0 of 'six', so you need at least that version to get this working.
  • What version of 'dropbox' do you have installed, and what version of 'six' do you have installed?
  • You can download from a Dropbox shared link directly by modifying the URL parameters as shown here: https://help.dropbox.com/files-folders/share/force-download Or, you can use the /2/sharing/get_shared_link_file functionality on the API, documented here:…