Comments
-
(That is, like the one in your second post, but including your key so we can try to compare.)
-
Thanks Tom. Are you able to copy over a sample request, including parameters, that produces by any chance? (You can open an API ticket if you prefer to share privately: https://www.dropbox.com/developers/contact )
-
This 401 Unauthorized error should indicate that the oauth_signature is invalid, and I can't reproduce the error with a test implementation of OAuth 1 HMAC-SHA1 signing here. HMAC-SHA1 signatures are intentionally opaque though and difficult to debug though. That being the case, we recommend using PLAINTEXT signing…
-
We don't have any plans to change that limit. In API v2, the equivalent to chunked uploading is upload sessions: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append…
-
That number isn't accessible programmatically, and it's actually not a strict limit anyway. Due to various other (mostly network) factors, smaller or larger file uploads may fail or succeed. For larger files, you should use chunked uploading, and the size limit you use in your app to determine whether to use normal or…
-
There isn't a programmatic way for obtaining an access token for an account. The user must explicitly authorize the app. Apps can store and re-use access tokens though. If your app has done this, and has an access token for the necessary accounts, then it can use the file/folder moving API call to move the shared folder as…
-
I'm not sure I follow what you mean, but if your app has access tokens for both users, the app perform the necessary API calls in the relevant accounts programmatically, without user interaction.
-
No, your app would need to be authorized to the other user's account to perform a move operation there.
-
Oh, apologies, I didn't check the v2 documentation. I'll send this along to get a note added to that too. Thanks!
-
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…