Comments
-
Victor, this message is expected if the official Dropbox app isn't installed even when URL scheme is pre-registered, but the SDK should fall back to using the built-in auth flow. Is that not what you're seeing? If not, what does happen?
-
It sounds like the canOpenURL part of this is working as expected, and the issue has to do with being sent back to your app after the fact, so please open a new thread with the details so we can help (without spamming the other people on this thread).
-
It sounds like this is working as expected then. If the Dropbox app is installed, that will be used instead.
-
Thanks! That looks right. Do you have the official Dropbox app installed on the device you're seeing this on? (Or are you using the simulator?) This message is expected even when URL scheme is pre-registered if no app is installed that supports the dbapi-2 URL scheme. The app authorization process should still work by…
-
Can you share the relevant code snippet(s) as well as the relevant section of your app's plist so we can look into this? Thanks in advance!
-
Fernando, can you start a new thread with the specific code you're having trouble with? That way we can help you in particular without spamming the others on this thread. https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209245 Thanks in advance!
-
When you say you "can't send/ return error", what's the error you get exactly?
-
No, just retrying (maybe with an exponential backoff) without recreating that object should be fine.
-
Thanks! The ConnectionError error can be caused by a number of different things, but it is just indicating there was an issue with the HTTPS connection for the API call, e.g., to due to network issues on your side, or transient server issues on our side. In any case, the right thing to do is just implement some automatic…
-
These sessions don't expire, nor do the access tokens themselves. (Note that access tokens can be explicitly revoked though, e.g.,via https://www.dropbox.com/account/security .) Further, the App Console lets you generate an access token for your account and app, but it will only show you that token when you generate it. If…
-
Using the Range header would be the right way to limit the return size, and download files in chunks. The best solution here is to use the "direct" link type, which gives you a direct link to the file content, as opposed to the "preview" link type, as you have in your post. The preview link type gives you a link to a…
-
Yes, the unit is bytes, and shared + unshared = total.
-
The 100+GB bucket is the largest bucket currently returned member_storage_map, but I'll send this along as a feature request to add larger ones. If you're just looking for the amount of space used by the team in total though, yes, total_usage would be better to use.
-
Searching around I found a few references to this Play Store link, which is no longer active.
-
No, Dropbox does not offer any interface for programmatically creating accounts.
-
No, the Dropbox API doesn't currently offer a way to create accounts, but I'll be sure to pass this along as a feature request.
-
Is the output you shared from before or after you installed readline? In any case, based on the error message you've shared, it looks like your system doesn't have readline installed, or it isn't available to your app for some reason. That line of code prompts the user to enter the authorization code they receive from the…
-
This should be fixed now. Please let us know if you're still having any trouble.
-
Thanks for the report! We're looking into it.
-
Hi Jay, if you're using using the redirect flow, i.e., with DropboxOAuth2FlowNoRedirect, you need to pass all of the args to .finish(), so that the state can be checked as well, not just code. Also, you only need to call .start() when sending the user off to the auth flow initially, and not again when they come back via…
-
You're correct that unfortunately the thumbnails API call can currently only return a single thumbnail at a time. I'll be sure to pass this along as a request for a batch version though. For reference, the Dropbox API does have a rate limiting system, though we don't currently have any specific numbers documented. You can…
-
Shared links are valid until the user revokes them, either explicitly via https://www.dropbox.com/links or implicitly by moving or deleting the file.
-
Rafal, it sounds like you mean you'd be scraping the web site. This isn't supported, and is likely to break. (It's also against the terms.) Instead, if you need a long lived direct link to a file, you should use the method described previously. Call /shares with short_url=false, and modify the link as shown…
-
You can set the short_url parameter to false to get the long URL directly.
-
The expiration information for a link from /media is returned in the "expires" key in the response: https://www.dropbox.com/developers/core/docs#media It's not currently possible to change that, but if you instead need a longer-lived link, you can use /shares instead: https://www.dropbox.com/developers/core/docs#shares…
-
The API doesn't currently offer a call for uploading multiple files at once, but I'll be sure to pass this along as a request. That being the case, you'll need to loop through the files you want to upload and upload each one individually.
-
Thanks for the feedback! I'm sending it along to the team.
-
Thanks for the feedback Josh. I don't have an update on this unfortunately, but I'll send along your feedback as well.
-
Thanks for the feedback Marius!
-
I'll be happy to update this thread if/when I have any news on this.