Greg-DB Dropbox Community Moderator

Comments

  • Thanks! That's helpful. That's the same issue as reported by thedeck earlier in this thread. I'll follow up here once I have an update.
  • Thanks for the post! We don't currently offer the API v2 Objective-C SDK just as a framework file, but I'll be sure to pass this along as a feature request. We highly recommend using a package manager, as it helps stay up to date with updates. You can find the three supported installation methods in the README here. Also,…
  • The Dropbox web site is more restrictive than the Dropbox API with regards to characters like this. You can find more information here: https://www.dropbox.com/help/145
  • What chunk size are you using? Using a larger chunk size can reduce overhead and improve overall speed.
  • Hi sfbrad, no, there's no entry limit for a cursor. This error just indicates something happened to go wrong for that particular call. If you share a X-Dropbox-Request-Id response header value, I can look this up for you.
  • What language are you using (e.g., Java, Python, etc.)? If possible we recommend using one of the official SDKs: https://www.dropbox.com/developers/documentation They come with guides for getting started.
  • The API is case-insensitive, but case-preserving. So when you upload a file with a certain casing, that will be preserved in pathDisplay, though you can reference that file with a lower-cased version of the path. In the re-creation scenario you describe, you can certainly re-use pathDisplay to create it with the casing you…
  • Can you share a sample request and response? That will help us determine the issue. Just make sure you redact the access token. Thanks!
  • Yes, v2's pathDisplay is the equivalent of v1's path. You should use that whenever you want to display the correctly cased version of the path. For the API calls themselves though, e.g., if you're taking the path from the metadata to then download the file, you should use pathLower. The Dropbox API is case-insensitive, and…
  • This information is still available, but it depends on the object type. The name and path are available on all DBFILESMetadata objects: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESMetadata.html Modified time, size, rev, etc. are available on DBFILESFileMetadata instances:…
  • If you just need to download the entire folder from a link like this, the simplest way is to use the URL parameters as instructed here: https://www.dropbox.com/help/201 If you want to download individual files from the linked folder, you can use the API's /2/sharing/get_shared_link_file endpoint:…
  • I don't believe we have a chunked uploading sample for the API v1 Java SDK, but API v1 is deprecated anyway, so you should migrate off of it whenever possible. You should use the API v2 Java SDK. Here's a sample of chunked uploading a.k.a. upload sessions.
  • No, unfortunately the API doesn't expose any commenting functionality, but I'll be sure to pass this along as a feature request. I can't promise if or when it would be implemented though.
  • The state parameter used in the OAuth app authorization flow has a size limit of 500 bytes. This error indicates that you're supplying more data than that. You should update your app to make sure you never supply more than 500 bytes. The state value is supplied to the Dropbox.WebAuth.start method, as the $urlState…
  • Hi kgashok, thanks for the report. I can't seem to reproduce this issue though. Are you sure you're using the same exact token? Revoking a token applies to that single token only, but any particular user-app pair can have multiple access tokens. If it's definitely the same token, please open an API ticket with the all of…
  • Thanks for the feedback!
  • The documentation is accurate. dropbox.files.FileMetadata is a subclass of dropbox.files.Metadata. The files_get_metadata method will return an instance of dropbox.files.Metadata. That will be an instance of dropbox.files.FileMetadata for files, dropbox.files.FolderMetadata for folders, or dropbox.files.DeletedMetadata for…
  • Dropbox.files_get_metadata is a method, which you can use to get metadata for a file or folder. dropbox.files.FileMetadata is the class used to represent metadata for a file. For example, when you call Dropbox.files_get_metadata for a file, it will return an instance of dropbox.files.FileMetadata. You can the get the…
  • Dropbox does use SSL/TLS for all API calls, so your system needs to be able to make SSL/TLS connections. Based on the error message, it seems something went wrong loading System.Security.Authentication.SslProtocols. That seems to be a issue with your system itself though, not Dropbox, so I'm afraid I can't offer much…
  • The API doesn't offer a way to get notified of membership changes like this, but I'll be sure to pass this along as a feature request.
  • You can't programmatically get a shared link for a file just using the shared link for a parent folder in API v2, so you'll need to call /2/sharing/create_shared_link_with_settings for each desired file/folder.
  • Yes, this was a legitimate email from Dropbox. API v1 is deprecated and being retired in June. You can find more information here: https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/
  • We recommend using GetMetadataAsync to check if any particular file or folder already exists. It will return the metadata if so, or raise an exception you can catch if not. GetMetadataAsync would also be better than SearchAsync as searching is subject to an indexing delay. In either case though, there's going to be a race…
  • Apologies, I thought you wanted a general way to detect the Safari restriction for use in your app code. I've also reported this to the team to see if we can detect this on our side. The authorizeFromController method is designed to use either the official Dropbox app or Safari to process the authorization flow. Lacking…
  • HI Robert, I'm afraid I don't know if there's a way to detect the Safari restriction. That question may be better suited for Apple's forum or support channel. I suspect it would be similar to the way we check for the official Dropbox app though, which you can see here:…
  • I'm not sure I fully follow your question. Are the users uploading to their own Dropbox accounts? Do you need individual links for each uploaded file, or just each folder? In any case, the /2/sharing/create_shared_link_with_settings endpoint is the right way to create a shared link for any specific file or folder:…
  • 1. Yes, API v1 is being retired in June. You can find more information here: https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/ 2. No, unfortunately I don't have anything like this for API v1 to reccomend. If it helps, this example app for the Python API v2 SDK may be close to what you're looking for, but note…
  • No, the Dropbox API doesn't currently offer a batch thumbnail endpoint, but I'll be sure to pass this along as a feature request.
  • Yes, the user would use whichever email address is currently registered to their account to sign in.