Greg-DB Dropbox Community Moderator

Comments

  • If the file contents are identical, this is the expected behavior. When the old and new file contents are exactly the same, Dropbox doesn't consider it a change and so no new metadata is written. We'll consider it a feature request for the ability to change the client_modified without changing the file data, but I can't…
  • I'm not sure I understand your question. Can you add some more context, e.g., show what you have so far, and let us know what's not working? For C#, we recommend using the official Dropbox API v2 .NET SDK if you can. With that, you can upload files using the upload methods, such as UploadAsync. You supply a Stream of the…
  • The Dropbox Java SDK itself doesn't have methods for enabling logging, but if you're using the StandardHttpRequestor (the default) you can enable logging output like this: Logger.getLogger("").setLevel(Level.ALL); final java.util.logging.ConsoleHandler consoleHandler = new java.util.logging.ConsoleHandler();…
  • The Dropbox API unfortunately doesn't offer a way to retrieve all shared links for items inside a specific folder, but I'll pass this along as a feature request. Using /2/sharing/list_shared_links with a specific path only "returns a list of all shared links that allow access to the given path - direct links to the given…
  • Can you double check you're not accidentally sending two requests? The Dropbox API shouldn't be sending two responses to a single request. Since there are two different 'X-Dropbox-Request-Id' values, it does look like the Dropbox API servers are receiving two requests. Also, I'm not sure what you mean when you say you "try…
  • No, this is still open, but I don't have an update on it yet. I'll follow up here once I do.
  • @"Sekali" You didn't include how you're building your requestJson string, but the result doesn't look correct. You have "\\u" instead of "\u". Update your implementation to produce the correct JSON string. You can find more information in the documentation here.
  • @"clarel" We've added a 'headerSize' folder option that you can use to reduce the size of the header (though it doesn't move everything inline like you suggested). You can find more information in the documentation. Hope this helps!
  • Unfortunately I don't have a good solution to offer here. Using a shared link with the parameter modification is the best way to share read-only access to a file when the recipient doesn't have a Dropbox account. As you found though, these can't be requested programmatically in browser JavaScript due to the CORS policy.…
  • I just tried the 'recursive:true' option on /2/files/list_folder[/continue] with a Business account and it's working as expected for me. Make sure you're checking the 'has_more' value in each result and calling back to /2/files/list_folder/continue if it's true. If something still isn't working as expected, we'll be happy…
  • @"dlow" I'm not currently aware of any immediate plans to implement corresponding functionality for this for Paper docs as .paper files in the filesystem, but I'll pass this along as a feature request. I've split your comment off as its own thread to serve as the location for this request. I'll follow up here if I have any…
  • If you're building a web app that integrates with Dropbox, you should send the user through the OAuth app authorization flow, where they can choose whether or not to authorize your app to access their account. You can find information in the OAuth Guide, as well as the authorization documentation. When you configure…
  • In your /oauth2/authorize URL, I see that you're using the 'response_type=code' flow, which means you're using the OAuth 2 "code flow". In this flow, the code that you get back from that page is an "authorization code", not an "access token". When using the code flow, you need to then exchange the authorization code for an…
  • The /2/file_requests/list_v2 endpoint is for listing the "file requests" (not files) owned by the connected account. An empty file request list like this indicates that the connected account does not have any file requests. File requests can be created via the API or via the web site. Alternatively, if you want to list the…
  • I can't seem to reproduce this unexpected behavior, so we'll need to look into this more specifically for you. Please open an API ticket for this and include: * the client ID * the member ID * the file ID * the timestamp of the call Please don't include your access token though. Thanks!
  • It sounds like you're not URL encoding the 'redirect_uri' value, and so the URL parameters on your redirect URI are being sent as actual URL parameters to the Dropbox /oauth2/authorize app authorization page itself, which does not expect those parameters. You'll need to URL encode your 'redirect_uri' value. For example,…
  • You're using the "code" flow here, which means that you'll get an "authorization code" back on your redirect URI. You should then exchange that authorization code for an "access token" by calling /oauth2/token. The /oauth2/token endpoint's response will include the 'account_id' for the user account that authorized the app.…
  • Using the Chooser does not count as a connected user, so that count won't increase. (And so if you're just using the Dropbox Chooser, you do not need to apply for production.) You can find more information here.
  • 1. Use of the API itself is actually entirely free. The API is built such that developers can create apps that any kind of Dropbox account can link to. It is only if the owners of any individual (or group of) accounts want to upgrade is there cost involved. You can see more information on pricing and plans here:…
  • In the .NET SDK in particular, to set the "Dropbox-API-Select-User" header, you should use the DropboxTeamClient.AsMember method. And to access the contents of the "team space", as shown in your screenshot, you should use the DropboxClient.WithPathRoot method. Check out the Namespace Guide for information on how that works.
  • If you need a link that doesn't expire by default, you can use sharingCreateSharedLinkWithSettings instead, and modify the resulting link as documented here. Note that those links do get listed in the user's links list though.
  • Using the files_download method (or files_download_to_file) is the right way to download a file from Dropbox using the Python SDK, and it looks like you already have that part working. That gives you a Python requests Response object that you can read from. The error itself seems to be occurring on the Py4J/Spark side of…
  • Thanks for the report! We'll look into it.
  • @"sareuon" That's correct, this was caused by an unintentional bug in v5.0.0. It was subsequently fixed in v5.1.0. You can find release notes for the different releases in the release history here. For reference, we generally follow semver for the SDKs, so any intentionally breaking changes would be accompanied by a major…
  • Shared folder IDs are global and stable for a given shared folder. You can store and re-use these values, even across accounts. The same shared folder will have the same shared folder ID across accounts of different members of the same shared folder. The shared folder ID will only change if the shared folder is completely…
  • This is a new feature we're currently rolling out. It's not yet available on all accounts, so you may or may not see it on your account yet. It's not possible to opt in to this yourself, but it will eventually be enabled for your account.
  • We've rolled out a fix so these unexpected 413 errors should no longer be occurring. 
  • Thanks for confirming that! Yes, we just finished rolling out a fix. 
  • Thanks for reporting this issue. This issue is now fixed with the latest release and should be working properly again. Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.