Comments
-
API v2 does operate differently than API v1, so the way you call it will be different. The URL https://api.dropboxapi.com/2/users/get_current_account is the right endpoint for getting the user's account information via API v2. You can find the documentation for it here:…
-
Hi Jiho, yes, this is available in the Objective-C SDK, but that's a known issue in version 2.0.6 in particular. You can use 2.0.5 as a workaround for now.
-
No, it's not possible to disable this, but I'll be sure to pass this along as a feature request.
-
The old iOS Core SDK didn't have good documentation unfortunately. Here are the relevant methods/documentation in the comments though: /* Loads the file contents at the given root/path and stores the result into destinationPath */ - (void)loadFile:(NSString *)path intoPath:(NSString *)destinationPath; /* This will load a…
-
Hi Doug, please open a ticket at https://www.dropbox.com/developers/contact with the following so we can look into this specifically for you: - the app name - the affected user ID(s) - a sample failed job ID - a sample failed path and URL Thanks in advance!
-
Yes, API v1 is still planned for retirement on June 28 2017. I can't make any promises, but I'll send this along as a request to extend that timeline. We're aware of the issue in the Objective-C SDK you linked to. We will be releasing a fix, but in the meantime you can use version 2.0.5 of the SDK (instead of 2.0.6) as a…
-
Unfortunately, I don't believe the .NET SDK is supported on Visual Studio 2010. I recommend upgrading to at least 2012 if possible. For reference, the SDK is open source here: https://github.com/dropbox/dropbox-sdk-dotnet
-
Yes, that's it.
-
No, there isn't a way to trigger various errors like that (short of actually producing the relevant conditions), but I'll pass this along as a feature request.
-
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.