Comments
-
Thanks for following up. This is an issue on our side, but I don't have a timeline for a fix right now. It appears to be due to the app folder name set for your app. You may be able to work around this issue by changing the app folder name setting for your app on the App Console: https://www.dropbox.com/developers/apps…
-
Yes, in the official Dropbox API v2 Java SDK it's available as FileMetadata.contentHash.
-
You can access the results job ID like this: switch result { case .none: print("Empty result") case .some(let unwrappedResult): switch unwrappedResult { case .asyncJobId(let asyncJobId): print(asyncJobId) case .complete: print("Job is complete") } } Hope this helps!
-
Thanks for the report! We'll look into it.
-
[Cross-linking for reference: https://stackoverflow.com/questions/43026363/convert-dropbox-get-thumbnail-response-to-img ] Hi @"mattia o.", it looks like there are some examples of doing this here: https://stackoverflow.com/questions/20035615/using-raw-image-data-from-ajax-request-for-data-uri I recommend looking into…
-
Hi @"wishfuluser", thanks for reaching out, but for future reference, please do not post unrelated replies in threads like this. It makes it more difficult to keep track of the conversation in the thread. That said, I'm afraid I can't help with the topic you linked to, as that's not my area of expertise. I know that…
-
The get_thumbails endpoint returns the raw data for the thumbnail itself, and it looks like that's working properly for you. What you do with that thumbnail data is up to you. For example, you can save it to a local file on your server and serve it in an img tag. Or, you may be able to convert it to base64 and use it in a…
-
Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is outside of our control. Some ISPs also throttle sustained connections so…
-
OAuth 2 redirect URIs and webhook URIs serve different purposes, and are registered separately. They do not need to be identical, or even share a domain. You can find more information on how the OAuth app authorization works, including the use of OAuth 2 redirect URIs, in the OAuth guide. You can find more information on…
-
If you're going to use a single account like this, you should embed the access token like you do in your most recent post, not via username/password. If you're doing this in .NET, we highly recommend using the official API v2 .NET SDK. That would do much of the work for you. If you use that, to make this call you would use…
-
The Java SDK just uploads whatever raw data is supplied, in this case via the InputStream supplied to the uploadAndFinish method. In your code, that's the "in" variable. Can you try reading that itself and checking whether or not it has the expected data?
-
The Dropbox API doesn't expose any of the Office/WOPI functionality on Dropbox, but I'll be sure to pass this along as a feature request. That being the case, you would need to implement this separately. Sorry I don't have a better answer to share!
-
Please try the latest release, v4.2.4, and let us know if you're still seeing any issues. Thanks!
-
Thanks! That's helpful. In version 3.0.0 of the API v2 Objective-C SDK, "progress" was renamed. You should replace "progress" in your code with "setProgressBlock".
-
For example, in C#, using Json.NET/JsonTextWriter, that would look like: var sb = new StringBuilder(); var textWriter = new JsonTextWriter(new StringWriter(sb)); textWriter.StringEscapeHandling = StringEscapeHandling.EscapeNonAscii; // Write things to text writer textWriter.WriteStartArray();…
-
Yes, the iOS Chooser likewise doesn't use the Dropbox API and isn't affected by the API v1 retirement.
-
The Dropbox API now offers a hash of file data that you can use to verify a file's contents. You can find it in FileMetadata.content_hash. It isn't a single MD5 or SHA1, but rather a combination of SHA256 hashes of the pieces of the file. You can find more information here:…
-
The Dropbox API now offers a hash of file data that you can use to verify a file's contents. You can find it in FileMetadata.content_hash. It isn't a single MD5 or SHA1, but rather a combination of SHA256 hashes of the pieces of the file. You can find more information here:…
-
The Dropbox API now offers a hash of file data that you can use to verify a file's contents. You can find it in FileMetadata.content_hash. It isn't a single MD5 or SHA1, but rather a combination of SHA256 hashes of the pieces of the file. You can find more information here:…
-
The Dropbox API now offers a hash of file data that you can use to verify a file's contents. You can find it in FileMetadata.content_hash. It isn't a single MD5 or SHA1, but rather a combination of SHA256 hashes of the pieces of the file. You can find more information here:…
-
The Dropbox API now offers a hash of file data that you can use to verify a file's contents. You can find it in FileMetadata.content_hash. It isn't a single MD5 or SHA1, but rather a combination of SHA256 hashes of the pieces of the file. You can find more information here:…
-
We're investigating ways to avoid this in the next release. Please skip this release for now.
-
No, unfortunately the API v2 JavaScript SDK only supports supplying the file content as string or buffer, but I'll be sure to pass this along as a feature request. The incorrect_offset error is documented as: "The specified offset was incorrect. See the value for the correct offset. This error may occur when a previous…
-
Thanks for following up with the additional information. We'll look into it.
-
In the latest version of the SDK, the equivalent code would be: DBTransportDefaultConfig *transportClient = [[DBTransportDefaultConfig alloc] initWithAppKey:@"APP_KEY" appSecret:@"APP_SECRET"]; [DBClientsManager setupWithTransportConfig:transportClient]; [[DBClientsManager.authorizedClient.authRoutes…
-
Thanks for the report Jan. It looks like the assembly reference in your project settings is inconsistent with the actual binary. Please try uninstalling and reinstalling the package and let us know if that doesn't help.
-
This error message indicates that the access token you're using (client_app_key and client_app_secret in your code) doesn't correspond to the app key and secret (my_app_key and my_app_secret in your code) that you're using. When making this case, these pairs needs to match. That is, the access token you're trying to…
-
There isn't a way to increase the speed using the API. Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is outside of our…
-
Dropbox unfortunately doesn't currently offer a way to pre-select or remember the last folder like this, but I'll be sure to pass this along as a feature request.
-
Can you share the code you're using and the full error message you get? Thanks in advance!