Greg-DB Dropbox Community Moderator

Comments

  • [Cross-linking for reference: https://stackoverflow.com/questions/47588904/how-can-i-get-users-of-dropbox-under-my-app-using-c ] Once you're ready to have users connect to your app, you should distribute your app to them via whatever means you wish. For example, an application store or marketplace. Your app should…
  • I don't know if it offers the exact logic you need, but this example app may be helpful: https://github.com/dropbox/dropbox-sdk-python/blob/master/example/updown.py
  • This path/conflict/folder error indicates that the upload failed because there is already a folder at the path where you're trying to upload the file (specified by `dest_path` in your code): https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.files.WriteConflictError If you're trying to upload the…
  • The Dropbox API doesn't offer the ability to download entire folders like this, but I'll be sure to pass this along as a feature request. (The Dropbox web site uses a different, internal interface for this.)
  • 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 name and version of the platform and SDK/library you are using. - the steps to reproduce the issue, including the rest of the relevant code snippet(s). - the full text of the error/any…
  • The Dropbox web site is always being updated, but it sounds like the issue here is that the browser being used is not officially supported by the dropbox.com web site, which includes the OAuth app authorization page. Information on the officially supported browsers can be found here:…
  • Thanks for following up. I'm glad to hear you got this working. Your "clientIdentifier" should identify your app and the current version number of your app. This is used in the User-Agent header when making API calls, which can be useful to identify and when debugging your app. You can find more information on that here:…
  • Good news, we've finished rolling this functionality out to the non-alpha endpoints, and also actually added it to list_folder as well. The updated ListFolder and GetMetadata arguments are now available in the latest version of the .NET SDK:…
  • Thanks! Based on that stack trace, it looks like this is actually occurring in getCurrentAccount. Can you confirm you're running on Google App Engine, and can you share your code for constructing your DbxRequestConfig and calling getCurrentAccount?
  • I've sent this along as a feature request, but I can't promise if or when it would be implemented.
  • Making changes to a Dropbox Paper document won't trigger webhook notifications. Webhook notifications only fire for Dropbox file changes. I'll send this along as a feature request though.
  • Can you post the full error/stack trace? Thanks in advance!
  • Whether or not your app is using an app folder, you should be able to download or get a temporary or shared link for a file, e.g., using filesDownload, filesGetTemporaryLink, or sharingCreateSharedLinkWithSettings, respectively. If something's not working as expected, please share any relevant code and output. Thanks!
  • I can't make any promises, but I'll pass this along as a feature request.
  • Can you specify what exactly isn't working? If the verification step failing, or did that succeed and you just aren't receiving the notifications? If your webhook URI is successfully added/verified, there are some other things to check as well: - Make sure you've linked an account to the app, and are making changes in that…
  • The cursor length depends on the number of shared folders, team folders, and app folders in the account, as well as the amount of file activity. I don't recommend asking the user to modify their behavior or account to avoid this. I instead recommend updating your app to accommodate cursors of any length.
  • Unfortunately, API v2 doesn't directly return the deleted time in DeletedMetadata, but I'll pass this along as a feature request.
  • Yes, you can use these methods for files/folders inside a shared folder even if you are not the owner of the shared folder. As long as you are a member of the shared folder, the contents will exist in your account for you to use, the same as you can see on the website. The 'id' for a file/folder is just another way to…
  • The file properties functionality was only recently added to the list_folder API endpoint, and that hasn't yet been implemented in the Java SDK. That should be available in the next Java SDK release, but I don't have a timeline for that right now.
  • My sample there is still returning Content-Length for me. Can you share a sample and output that isn't working as expected for you? Thanks in advance!
  • If you use a "Dropbox API" app, that operates on individual users accounts, so you don't need to specify this additional information when calling user-specific endpoints. If you use a "Dropbox Business API" app, that operates on entire Business teams, so you need to specify which team member to operate on when calling…
  • When making a local DropboxClient object, the string you supply as an access token isn't validated against the API. That is only done when you actually make API call. If you want to check if an access token is still valid, you can make an API call, such as get_current_account.
  • 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 name and version of the platform and SDK/library you are using - the full text of the error/any output - the relevant code snippet(s)
  • While it was previously true that only Business apps could create templates, this is no longer the case. User apps can also now create templates, via /2/file_properties/templates/add_for_user: https://www.dropbox.com/developers/documentation/http/documentation#file_properties-templates-add_for_user
  • You can iterate through the file list (e.g., as returned by filesListFolder and filesListFolderContinue) and call sharingCreateSharedLinkWithSettings for each desired item.
  • Thanks! There doesn't seem to be a clear pattern in that unfortunately. For reference, the Dropbox Java SDK contains a "sdk-version.txt" file with the version number for the SDK in it, for use in the User-Agent header string. Based on the stack trace you shared, it appears the exception is occurring inside Java's…
  • [Cross-linking for reference: https://stackoverflow.com/questions/47537572/exception-while-dropbox-api-tries-to-read-a-resource-might-be-multidex-issue ] I unfortunately have not seen this issue before. Do you know if it seems to be specific to any particular Android version, device, etc.?
  • There isn't a way to create a shared link for every file in a folder without making a call for each one unfortunately. You'll need to list the files and call sharingCreateSharedLinkWithSettings on each one.
  • Thanks for the report! An InternalServerError can occur on any call, and just indicates that something failed on our side. When this occurs, the API doesn't return much information to the client, so you'll only get that error without any useful details. We're looking into this particular error, and I'll follow up here once…
  • [Cross-linking for reference: https://stackoverflow.com/questions/47385233/xcode-use-dropboxsdk-framework-objective-c-failed-when-building-for-simulator ] It sounds like you're trying to install the official Dropbox API v2 Objective-C SDK. Which of the three installation methods are you using?