Comments
-
If you print out the body of the response it should contain a more useful error message, but yes, this endpoint is only available to Dropbox Business API apps, per the documentation: "NOTE: This endpoint is only available to Dropbox for Business apps using the X-Dropbox-Perform-As-Team-Member header." I can't speak to the…
-
If you want to get the list of members of a shared folder, you can use the GetSharedFolderAsync method. When using includeMembership = true, as it is by default, the resulting FullSharedFolderMetadata will contain membership information. If you need to list shared folders to find the desired one to begin with, you can…
-
Thanks for clarifying. The code you're referring to is an authorization code, not an access token. Authorization codes are temporary, and can only be used once. So, instead of trying to re-use an authorization code or authorizing the app each time, you should store and re-use the resulting access token, passing it directly…
-
What do you mean when you say the access token changes after every use? Do you mean you're clicking the Generate button each time you need an access token? Access tokens don't expire by themselves (though they can be manually revoked), so once you generate one for your account, you can store and re-use it programmatically…
-
The order is based on how Dropbox itself works on the backend. As long as you process the entries in order, your app's local state will get up to date with the server state.
-
There isn't a way to do that exactly, but I'd recommend using /files/list_folder and /files/list_folder/continue to stay up to date, so you can order things by client_modified or server_modified.
-
It looks like you're trying to use MediaFire's FileDrop functionality: http://knowledgebase.mediafire.com/article.php?id=142 MediaFire apparently uses the term "dropbox" in the implementation of this, but it isn't actually related to Dropbox, so I'm afraid we can't be of any help. You may want to refer to MediaFire's help…
-
Yes, the integer version is a it's a different/older format for the team ID.
-
Dropbox for Business API apps are linked to teams themselves (as opposed to Dropbox API apps, which are linked to individual users). This being the case, the uid returned by the authorization flow for Dropbox for Business apps is the ID of the team, not any particular user. It's not currently possible to determine which…
-
We may be able to look into this more specifically for you. Please open an API ticket so we can do so: https://www.dropbox.com/developers/contact Make sure to include: - the app name or key for the app having the problem - the version number of the SDK you're using - the exact code that produces the issue - the exact…
-
The new code gives us a more useful error, telling us that there's nothing at "/private/var/mobile/Containers/Data/Application/FFCCB518-DBAC-4BB6-B92F-88FE30BADBDC/tmp/Comenzar.pdf" in the Dropbox account, which isn't surprising, since that looks like a local path. Make sure you're using and formatting the right paths. If…
-
Looking more closely at your code, it seems like you may have the parameters to loadFile reversed. The definition is: /* Loads the file contents at the given root/path and stores the result into destinationPath */ - (void)loadFile:(NSString *)path intoPath:(NSString *)destinationPath; That is, path is the local path,…
-
It looks like you have a double slash in the URL for the API call: dropbox//SuiteJuridica Can you try fixing that and let me know if it doesn't help?
-
Yes, if you're using the Dropbox Business API, you can use the "member file access" feature: https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access That allows you to call user-specific features, e.g., /list_folder, for any member on the team:…
-
HI William, are you referring to the sample app? I was referring to the unspecified issues Hasan mentioned. We're aware of the issues in the latest version of the sample app, and I do apologize for the inconvenience. Until we released an updated version, you'll need to make the changes to get it to work. If you've done so…
-
Hasan, what issue are you seeing specifically? Apps just need to be updates as shown here: https://blogs.dropbox.com/developers/2015/08/important-update-your-core-api-app-for-ios-9/ If you've done that and are seeing unexpected behavior, please open a new thread with details:…
-
Thanks for the report William! The DBRoulette app does need to be updated to register for that URL scheme. I'll send this along to the team.
-
Thanks Sergey, I see you mentioned this in your new thread, so we'll look into it and follow up there.
-
Ok, and what, if anything, isn't working as expected? That message is expected if the official Dropbox app isn't installed, but the SDK should then fall back to the built-in flow, in which case you can just ignore that message. Is this what's happening in your case?
-
Are you still having trouble? If so, what isn't working as expected specifically? Can you share the steps to reproduce the issue, as well as the full error/output you're getting?
-
Bourne, your question doesn't seem to be directly related to this thread. In the future, please be sure to open new threads for new questions so as not to spam the other people on a thread. To answer your question though, version 1.3.13 of the iOS Core SDK as posted on the page you linked to is the latest version. We do…
-
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…