Greg-DB Dropbox Community Moderator

Comments

  • @"vijaysingh109" The original StackOverflow question has been deleted, but the question and my answer here still apply. If something isn't working for you, please feel free to open a new thread with the relevant code and the error/output you're getting so we can take a look.
  • It looks like you're referring to using the official Dropbox API v2 Java SDK. Yes, the getAccountId method on the FullAccount object returned by getCurrentAccount would return the account ID for the connected user.
  • @"shalutyagi" We'll be happy to help with any questions or issues you have with the Dropbox API, but please open a new thread so we can help without spamming anyone else on this old thread. In your new thread, please share whatever unexpected error/output you get so we can see what's going wrong. Also, I redacted it from…
  • Yes, the default value for the 'limit' parameter on the /2/team/members/list endpoint is 1000. You can set is as low as 1.
  • If you want to download an entire folder using the .NET SDK, you have two options: * Use the DownloadAsync method, calling once per file inside the folder. You can use the ListFolderAsync and ListFolderContinueAsync methods to get the file listing. * Use the DownloadZipAsync method to download the entire folder, as long as…
  • Thanks! That supports what I've been able to determine about this issue. It appears to be a transient issue that can occur when looking up the requested information. That being the case, I do recommend implementing some automatic retrying. Additionally, it may help to use a lower 'limit' value when initially…
  • If your app is approved for production status, that warning will not be shown. You can find information on applying for production status here: https://www.dropbox.com/developers/reference/developer-guide#production-approval 
  • @"TS L." The `account_id` value on the Dropbox API is always 40 characters long. You can that documented in `FullAccount.account_id`, for instance, as returned by /2/users/get_current_account: account_id String(min_length=40, max_length=40)
  • I can only really help with the Dropbox API itself, so for Business/web site questions like this, please contact Business support.
  • I see, thanks for clarifying. I can't offer a workaround for that unfortunately. I've submitted this as a request to the team to offer an officially supported way of making this work though, so I'll follow up here if/when that's implemented.
  • I see, thanks for the information. When you get that, are you using my workaround that you linked to? I was able to use `Dropbox_Dropins.isBrowserSupported()` fine, regardless of script tag order, but I could reproduce the issue with `Dropbox.isBrowserSupported()` when loading the SDK second. If you're calling like…
  • First, for reference, are you using the official Dropbox API v2 JavaScript SDK? Looking at the two URLs you shared, the differences appear to be: (unless something got lost in formatting when posting to the forum) * the URL parameter order * the URL parameter encoding Can you try initially supplying the URL exactly as it…
  • Thanks for the feedback! These two components weren't designed to be used together, so efforts weren't made to make sure they don't conflict. The JavaScript SDK can be used to replace all of the functionality offered by the Chooser for instance (except for the UI itself), so you may want to just use that. I'll send this…
  • Dropbox doesn't offer a URL for checking the status like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, you may want to just use a normal Dropbox API call, e.g., /2/users/get_current_account, but ignore any API auth error.
  • Thanks for the report! For reference, do you consistently get the same error if you retry the same call?
  • Yes, whether you get a DBUserClient directly from an access token for a specific account, or from an access token for a Business team and then select the team member account as discussed above, the methods for interacting with an account (e.g., to list folders, etc.) are the same. You can hide certain team members from the…
  • @"TimO1968" This error message indicates that you are calling this endpoint using an API app with a permission that doesn't have access to this particular endpoint. In this case, you are calling /2/team/team_folder/create, which requires the use of an access token for an app registered for the "team member file access"…
  • You can list all of the members of a team using membersList/membersListContinue. The result will contain each member's team member ID. You can also look up a specific member by email address or external ID using membersGetInfo. A team member ID itself only identifies a particular member's account on a team. It doesn't…
  • 1) Yes, that would be the best workaround. You need to use upload sessions (where you upload the file in chunks) for large files anyway, so you can keep track of progress by how many chunks have been uploaded so far. 3) To clarify, there are two different main types of sharing on Dropbox: * "Shared links": This is what it…
  • 1) No, unfortunately the .NET SDK still doesn't offer a way to track upload progress like this. 2) As long as you're not uploading to the same team/shared folder across the accounts, uploads to different accounts won't affect each other. 3) The Dropbox API doesn't offer the ability to send emails from Dropbox for shared…
  • If you have a Dropbox Business API access token for an app with the "team member file access" permission and want to programmatically access a specific member's account using the Dropbox Objective-C SDK, you should use the DBTeamClient userClientWithMemberId: method. That will give you a DBUserClient you can use to access…
  • @"ManigandanV" No, I don't have an update on this feature request.
  • [Cross-linking for reference: https://stackoverflow.com/questions/55934948/dropbox-error-in-uploaddatamodeautorenameclientmodifiedmutepropertygroup ] @"iOSDev" I see you also posted this on StackOverflow. I've answered there:…
  • If you implement the Dropbox Chooser on your web site and use the "preview" link type, the Chooser will return a shared link for each file selected by the user. As long as the user doesn't delete the file or revoke the link, a shared link will stay valid so your app can recheck it for changes occasionally without further…
  • Thanks for the report. We'll look into it. For reference, are you able to restore these same files (that give this 500 on the API) via the web site? Note that you can only restore deleted files for a limited amount of time after deleting them. The length of time depends on what plan you have.
  • The Dropbox API doesn't offer a way to search for groups by name, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, you will need to list them and search the results as you mentioned.
  • @"fotoenchanter f" Dropbox doesn't offer an official PHP SDK for Dropbox API v2, but you can use a third party library, or you can call the HTTPS endpoints themselves using whatever HTTPS client you prefer.
  • Thanks for the report! I just tried this though and I wasn't able to reproduce the error page you're seeing. I tried using the official Dropbox Objective-C SDK v3.9.4 in the iPhone Xr iOS 12.2 simulator. Are you still seeing this issue now? If so, can you let us know: * What device(s)/simulator(s) and versions of iOS…
  • We don't document any specific numbers for the rate limit. Apps should be written to dynamically catch and handle any rate limiting errors instead of hard coding limits. You should use the returned RateLimitError.RetryAfter value to see how long to wait before retrying. Also, note that not all RateLimitException indicate…