Comments
-
Thanks for the feedback! I don't know what the specific conditions may be, but I'll send this feedback along to see if we can simplify this in the future.
-
That's correct, the batch endpoints don't return errors themselves. These would only be returned by the check endpoints. I can't speak to why it's constructed this way, but I suspect it's just that the batch endpoints don't use the same mechanism as the non-batch endpoints and the error information isn't available at the…
-
Hi Rik, there was an issue affecting /save_url yesterday, but that should be fixed now. Please let us know if you're still seeing any problems. Thanks!
-
Thanks for the post! The documentation's reference to streaming the content is referring to streaming it in media players, for example. It isn't intended for displaying in the browser. There isn't a way to control that unfortunately, but I'll pass this along as a feature request.
-
In API v2, you can look up the information for a "deleted" file (including a file which was actually just moved) using /2/files/get_metadata: https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata If you set include_deleted=true, it will return the metadata for the file at the old location.…
-
When Dropbox sends the user back to the redirect URI specified by your app, it will include the 'account_id' for the account that authorized the app, along with the other parameters, on the URL fragment. You can find the documentation for all of the pieces of information returned here:…
-
Thanks for following up. I can't say offhand if that's expected, as these may be using different mechanisms. We'd have to take a closer look. Please feel free to open a ticket with details/code if you'd like us to do so. Thanks!
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-java/issues/125 ] No, you do not need to register a new app key to use API v2. (One exception to that would be if your app is registered for the "file type" permission, which isn't supported by API v2.)
-
Hi Chris, is your app registered for the "app folder" permission? If so, note that everything the app can access and operate on will be inside the /Apps/<app folder name> folder inside your Dropbox. So, for example, if the app acts on /<subfolder name>, that will actually be at /Apps/<app folder>/<subfolder name> when you…
-
Thanks! We'll look into it.
-
Hi Brendan, we'll be happy to look into this, but we could use a few more pieces of information: - when this started occurring - the specific steps we can follow to reproduce the issue - any other relevant code snippet(s) Please open a ticket here with that so we can route this appropriately:…
-
If you're interested in the Dropbox Reseller program, please fill out the form at the following link for more information: https://www.dropbox.com/business/reseller
-
That's correct, we won't be making any of these changes during this two month span while developers update to the fixed SDK.
-
1) I don't have a specific date for when this may start occurring, since this is about changes (that were supposed to be backwards-compatible) that we may need to make in the future which may not even be planned yet. 2) The issue that was fixed is actually a general deserialization issue that can affect any endpoint in the…
-
The file ID should be unique across different files. Can you share the output you're getting where they're identical? (Note that case matters in file IDs, so make sure you're using case-sensitive comparisons.)
-
Yes, if you're interested in being a Dropbox Reseller, you can get started here: https://www.dropbox.com/business/reseller
-
The access token you use identifies which account you connect to. You can store and re-use multiple different access tokens to support using multiple different accounts. There's some more information here: https://github.com/dropbox/dropbox-sdk-java/issues/92
-
You should use 3.0.3. You can find an example of using DbxRequestConfig with it here: https://github.com/dropbox/dropbox-sdk-java/blob/395d463840778b4c6ec730aef82b0a9dbee10f8e/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxClientFactory.java#L17 I'm not sure what's causing the DbxException issue…
-
Thanks for the additional feedback! I don't have an update on this, but I'm adding your vote to the request. And yes, that's part of the OAuth 2 flow, which isn't changing.
-
The files_download method is the closest to what you were using. The files_download_to_file method takes an extra parameter for saving the file locally for you. So either of these should be equivalent to your old code: metadata, f = dbx.files_download('/'+ j) out = open(j, 'wb') out.write(f.content) out.close() or just…
-
Can you share the code that causes the error, and the full error/output you're getting? Thanks in advance!
-
Thanks for pointing that out! I'll ask the team to get that updated.
-
The OkHttp3Requestor.INSTANCE was removed in v3.0.0. You can still use OkHttp3Requestor as shown in this example. Your solution of removing the use of OkHttp3Requestor entirely is also fine. In that case, the SDK would use StandardHttpRequestor instead. Which to use if up to you.
-
I can't make any promises, but I'm sending this along to the team as a request to improve performance here.
-
Thanks! Yes, 3.0.11 is the version number I'm looking for. And 5 minutes should have been sufficient for it to time out. (I believe the default timeout is 60 seconds.) We're looking into it.
-
You're not doing anything wrong. There is an expected delay here as we process the uploaded data before confirming we successfully received it. I'll send this along as a request to improve the performance, but I can't make any promises right now.
-
Thanks for the feedback! I'm sending this along to the team.
-
How are you importing 'Dropbox'? Do you get any errors before the ReferenceError?
-
No, there isn't a way to do this in that case. Retrieving account information for an access token is only possible via the API, but it requires that the access token be valid. In this case, where the user is suspended, the access token can no longer be used. (This is similar to the case where the user deleted their own…
-
Yes, for each user that you have an uid for, use their access token to call /2/users/get_current_account: https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account That will return the account ID for that user, which you can record for that user, giving you that user ID to account ID…