Greg-DB Dropbox Community Moderator

Comments

  • If you get the 'account_id' for a shared member, e.g., as returned from /2/sharing/list_folder_members[/continue], you can then use that value to get the account information from /2/users/get_account.
  • This appears to be a duplicate thread. I'm closing it in favor of: https://www.dropboxforum.com/t5/API-Support-Feedback/Endpoint-to-get-email-address-of-the-shared-files-and-folders-of/m-p/284414#M17408
  • That error indicates that there's nothing at the path you're supplying to the call. I see that you may have a typo causing this issue. In your post, you said you want to download "details_item", but in the screenshot of your account I see your filename has a typo: "deatils_item.json". Please correct the typo or the path…
  • @"kmsbs" Please don't post the same question in multiple places. It makes it harder to keep track of your question(s), and can cause spam for other people on older threads. I see you also posted a new thread for this, so I'll follow up there:…
  • @"kmsbs" Please don't post the same question in multiple places. It makes it harder to keep track of your question(s), and can cause spam for other people on older threads. I see you also posted a new thread for this, so I'll follow up there:…
  • Unfortunately, that path_display behavior is sometimes expected. Even in path_display, the original casing isn't always available for all components. There's a note about this in the API v2 documentation, under "Case insensitivity": Also, while Dropbox is case-insensitive, it makes efforts to be case-preserving.…
  • It sounds like your team is using the "team space" configuration. You can upload to the team root via the API. To do so, you'll need to use the namespace IDs to specify which area you want to access. I recommend reading the Namespace Guide, which covers this in detail:…
  • Thanks for sharing that error output! That shows that you're getting a 'NullPointerException' for the 'File result' in your 'onPostExecute'. That is, the object itself is null, which is not the same as saying the downloaded file has zero length. You'll need to investigate why your code isn't actually returning the 'file'…
  • It sounds like there are two pieces to this: 1) The ability to have Dropbox send the shared link to another Dropbox user: The Dropbox Chooser doesn't offer this, but I'll pass this along as a feature request. As a workaround, you'd need to send an email (or use whatever sharing mechanism you wish) from your app itself. 2)…
  • I don't see anything obviously wrong in this code. It seems to be mostly copied/modified from the sample. Can you share the other things I requested though? I.e., the output you're getting, and how you're checking the original file? I recall from your previous thread that you had an issue in your code that result in 0 byte…
  • @"test0071" Note that, from the documentation: "'public_sharing_policy' cannot be set to the value 'disabled' because this setting can be changed only via the team admin console."
  • The SwiftyDropbox and ObjectiveDropboxOfficial SDKs aren't really meant to be used together. If you already have ObjectiveDropboxOfficial though, you can access and use that directly in Swift using a bridging header, containing the Objective-C import: #import <ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h> Then you…
  • Esse é o comportamento esperado e não há uma solução alternativa, infelizmente. As pastas de aplicativos são incompatíveis com pastas compartilhadas, o que significa que elas não podem ser compartilhadas ou estar contidas ou conter pastas compartilhadas. Além disso, transferir a propriedade de um aplicativo não transfere a…
  • This is working as expected. The /2/files/list_folder endpoint returns a List of Metadata. Metadata is a datatype with subtypes that can be any of: FileMetadata, FolderMetadata, DeletedMetadata. The '.tag' identifies the subtype. The /2/files/upload endpoint only returns a FileMetadata, so no '.tag' is needed or returned.…
  • That error indicates that the path you're using doesn't exist in your account. Note that if you're using an app with the "app folder" permission, that path would be relative to the root of the special app folder created for your app, under /Apps/<app folder name>' by default. Does your app have the app folder permission?…
    in HELP :( Comment by Greg-DB July 2018
  • If something's not working as expected, I'll be happy to help, but I'll need some more information. Please reply with the following for the current issue: - the version number of the SDK/library you are using - the steps to reproduce the current issue, including relevant code snippet(s) - the full text of the unexpected…
  • Thanks for the report, and apologies for the trouble and unhelpful error message! It looks like this is the result of a configuration on our side, along with how the API v2 Explorer writes this call. You should be able to work around this by running this outside of the API v2 Explorer and omitting the `link_settings`…
  • If the download call is returning successfully but is yielding a 0 byte file, it's likely because the file you have uploaded to Dropbox is 0 bytes long. You can check the Dropbox web site to confirm that. If you don't expect to have a 0 byte file uploaded, you should check on where/how you're uploading it, and then upload…
  • No, The Dropbox API search functionality does not support Regular Expressions. I'll send this along as a feature request.
  • @"iCodes" I see that you're trying to call CreateSharedLinkWithSettingsAsync but it's failing because you're not providing a valid 'path' value. You're supplying a local path (starting with the local drive letter "E:/", and so on). When using the Dropbox API though, the paths you use should be relative to the root of…
    in HELP :( Comment by Greg-DB July 2018
  • @"iCodes" I see you also opened another thread for this so I'll follow up there: https://www.dropboxforum.com/t5/API-Support-Feedback/HELP/m-p/283564#M17366 
  • The only way to download an entire folder at once like that is via filesDownloadZip.
  • In this case it sounds like everything is on the first page, but note that that's not guaranteed, so you should keep the filesListFolderContinue implementation based on has_more. To get actual file data, you should use filesDownload as you had in your original code. That doesn't support folders though. To download folders,…
  • You should always check the 'has_more' value for each result (from both filesListFolder and filesListFolderContinue) and call back again to filesListFolderContinue if it's true. There's more information about this in the documentation: https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor In this…
  • There isn't a single method to retrieve everything. The interface is paginated in order to support folders with many items. (Otherwise, calls would start breaking when there are very large lists to return.) So, in order to retrieve everything, you need to use both filesListFolder and filesListFolderContinue as documented:…
  • The path values you supply to the API should be paths relative to the root of the Dropbox account (or relative to the app folder root, if you're using an app with the app folder permission), not Dropbox web site URLs as you have here. So, for example, to upload a file "myfile.txt" to your root, you would use "/myfile.txt".…
  • To use the Dropbox API from C#, we recommend using the official Dropbox API v2 .NET SDK: https://github.com/dropbox/dropbox-sdk-dotnet There are some example apps included that show how to use it, including uploading files: https://github.com/dropbox/dropbox-sdk-dotnet#examples
  • To take advantage of the official Dropbox desktop client application, you would need to be signed in to the official Dropbox desktop client application on every computer where you want to run this. There isn't a way around that, as otherwise the client can't sync to the account. There isn't an official interface for…
  • Hi, I'm sorry to hear you had an unsatisfactory experience with the Dropbox API. We appreciate the feedback, though I'm not sure I fully follow the issues you ran in to. I'll be happy to help with any problems if you want. Please share the details if so. For reference, we do have OAuth 2 endpoints to be used for the OAuth…
  • All API calls (e.g., creating a shared folder, inviting members, and uploading files) can be run automatically without manual user intervention. The only part that requires manual user intervention is authorizing the app itself, via the OAuth 2 app authorization flow. Once that's done though, the resulting access token can…