Greg-DB Dropbox Community Moderator

Comments

  • I'm afraid I don't know what may be causing this. I tried looking for other reports, but I didn't find anything that quite matches this exactly. It looks like this could be due to a permissions issue though; can you try running as administrator to see if that makes any difference? Alternatively, can you compare the…
  • Thanks! That's helpful. Did you make any changes to your app's configuration on the App Console recently, perhaps accidentally? Specifically, please check that your have "Allow implicit grant" set to "Allow" on the app's page on the App Console, since you do need that for the app authorization flow used by the Java SDK. If…
  • The two URLs you posted are the same. Did you mean to ask about something else? In any case, I can't offer guidance on setting up Jira itself, but based on the reference to "request token" in the first screenshot, it looks like it's meant for OAuth 1. The current version of the Dropbox API doesn't support OAuth 1, however,…
  • I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the full and exact text of the error/any unexpected output; a screenshot is ok if that's easier * the steps to reproduce the proble, including the relevant code snippet(s) that are failing
  • Thanks for your patience while I checked on this for you. While file IDs uniquely identify files, i.e., every file ID identifies a file, and no two files share a file ID, it is possible for two different file IDs to essentially "point" to a single file. It looks like that's what's happening here. Because of the sharing,…
  • The `System.Diagnostics.Process.Start(authorizeUri.ToString());` line is supposed to build the OAuth app authorization URL (i.e., https://www.dropbox.com/oauth2/authorize..., via `authorizeUri.ToString()`), and then have the system open it in the system web browser, whatever that may be (i.e., via…
  • The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account, as you've shown here. We generally don't recommend doing so, for various technical and security reasons. For instance,…
  • Yes, if you would like to request API support privately, you can do so here.
  • Team folders are for sharing content with one's team. You can find more information on team folders in the help center here. Shared folders can be used to share folders with arbitrary users. You can find more information on shared folders in the help center here.
  • listing namespace will include all namespaces (not recursive but top-level) on both types (Team space and non-team space) of accounts? Yes, /2/team/namespaces/list[/continue] will list all namespaces for a team, whether or not the team uses the team space configuration. If team folders and shared folders both have a…
  • Thanks for the post. I'll check on this for you and follow up here when I have some information for you.
  • Does the namespaces_list returns entries for all folders or just the top-level folders only. The /2/team/namespaces/list[/continue] endpoints return a list of all of the "namespaces". This will not be a complete list of all folders. Namespaces include team folders, shared folders, team members' home folders, and team…
  • @"yasirjaseem" We recommend using the official Dropbox .NET SDK. There's an example of downloading files here. If something isn't working as expected for you, open a new thread with details.
  • If you use the Dropbox API, the /2/sharing/create_shared_link_with_settings and /2/files/get_temporary_link endpoints can be used to retrieve links equivalent to "preview" or "direct" links from the Chooser, respectively.
  • I see, thanks for the feedback! For the current issue, since you modified the code, please revert to the original SimpleTest code (or switch to a fresh copy). You should only have to add your app key; no other code changes are necessary for that sample. It sounds like the app is hanging waiting on the user to come back to…
  • (For anyone else interested, the earlier thread can be found here.) Do I list this namespaces and use the namespace id as path to traverse each folder? Yes, specifically, it sounds like you're referring to doing this by listing all namespaces across the team using /2/team/namespaces/list[/continue], which is a good way to…
  • The Dropbox Chooser isn't officially supported in Angular unfortunately, but I'll pass this along as a feature request. If you wanted to replicate the functionality using the Dropbox API, you could do so using the following endpoints (or corresponding methods in an SDK/library), but it would be substantially more work: *…
  • @"blizzrdof77" No, unfortunately I don't have any news on this request.
  • No, Dropbox doesn't offer an API for controlling which files get synced to the connected desktop client(s), but I'll pass this along as a feature request. 
  • Thanks for the information. You shouldn't get that particular exception for a mismatch with the registered OAuth 2 redirect URIs for your app, so it must be something else, such as a potential port issue as you mentioned. If you attempt to use a redirect URI that isn't registered for your app, you'd see an error on the…
  • When you make a Dropbox API call like this and supply a path, you should supply the path to the remote file on Dropbox, relative to the root of the Dropbox account. In the code you shared here, you're instead sharing a path to the local file, which isn't a valid path for the Dropbox API. That is, based on the sample you…
  • The Dropbox API doesn't offer a way to directly determine which shared folders a particular group has access to, but I'll pass this along as a feature request. If you need to implement this, you'd have to call /2/sharing/list_folder_members[/continue] for each shared folder and check for the group in each one.
  • It sounds like your team is set up to use the "team space" configuration, so you shouldn't use the /2/team/team_folder/* endpoints. To create a folder in the team space, you should use the /2/files/create_folder_v2 endpoint. Please refer to the Namespace Guide for information on how to operate in the team space.
  • [Cross-linking for reference: https://stackoverflow.com/questions/54417566/how-to-detect-dropbox-folder-is-renamed-via-dropbox-http-api-or-java-sdk ] If a file or folder is renamed, the new entry will have the same 'id' as the previous (non-deleted) entry. So, if you want to keep track of renames, you should keep the…
  • The Dropbox API doesn't offer a way to programmatically retrieve the app name, but I'll pass this along as a feature request. 
  • The Dropbox iOS app unfortunately doesn't currently support downloading folders in the document picker. I'm sending this along to the team as a request to support folders, though I can't promise if/when that would be implemented.
  • Using the 'update' mode and 'autorename:true' should result in the behavior you're looking for, if I understand correctly. Here's a contrived example: var filePath = '/test_324605.txt'; // gettting the current metadata for a file: dbx.filesGetMetadata({path: filePath}) .then(function(response) { console.log("got…
  • 1. You can find instructions for copying a standard shared link for a file (i.e., which would be of the "/s/" type, which can be downloaded via the API), here: https://www.dropbox.com/help/files-folders/view-only-access 2. No, when you download from a shared link, you download a copy of the linked file at that point in…
  • 1. If you use the "overwrite" mode, your app can overwrite another user's changes, and will not result in a conflicted copy. For that reason, we generally recommend using the "update" mode instead (with "autorename:true" if you want conflicted copies). That allows your app to more safely upload new versions where there may…
  • These prefixes are used to identify and validate these strings across the API. E.g., the "id:" prefix is always used for a file ID, a "ns:" prefix is always used for a namespace ID, etc. You app can store and re-use these values, but shouldn't attempt to modify them. You can see what kinds of values different parameters…