Comments
-
Thanks for the additional details! Since you're getting the user_already_on_team error on the second addition attempt, it make sense that you're not getting the welcome email that second time. That leaves the problem of why you are getting this error though. I still can't seem to reproduce this using these steps, so we'll…
-
I also can't reproduce this. I tried creating a member, removing them, and creating them again, and I did receive two emails. Presumably this is related to your other thread. Did the removal and re-addition of the member succeed? If you're still seeing any issues, please share a sample. (You can…
-
I can't seem to reproduce this issue. Did the removal call succeed? Can you share the requests/responses showing what you're seeing? Thanks in advance!
-
Bob, I redacted that access token for you, but you should revoke it to be safe.
-
When supplying the path argument for the file, you do need to supply the full path, including any parent folders. In the sample, the file was presumed to be in the root, but for your case you would need to supply the full "/Desktop Work File/33602DOX.pdf". Your original code was: arg = "{"path": "/" & filename & "}" So,…
-
That's correct, a path/not_found error from /2/sharing/create_shared_link_with_settings indicates "there is nothing at the given path". You gave the path "/33602DOX.pdf", so there must not be anything at that path in the account you're calling for. For example, if the file is inside a folder called "Documents", you should…
-
What's in the response body? It should contain a specific error indicating the issue.
-
Hi Dan, by "soft-deleted", do you mean files that have been deleted but not permanently deleted? If so, it sounds like you're looking for ListFolderBuilder using withIncludeDeleted(true), and listFolderContinue (in the files namespace). Using those, you can list out (in a paginated fashion) all of the files and folders in…
-
Wilfried, we'll be happy to help with this. Please open a new thread with the details of the issues you've run in to (e.g., the exact steps you followed, and the errors you're getting): https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209245 For reference though, since it sounds…
-
SwiftyDropbox now supports Swift 3, as of version 4.0.0. Please grab the latest version 4.0.2, and let us know if you run in to any issues.
-
Thanks for the report Mark! We are working on updating SwiftyDropbox for Swift 3 to take care of this.
-
Hi Rob, can you share your Podfile and version number of CocoaPods? Thanks in advance!
-
That's correct. The Android SDK doesn't do it for you, but the iOS SDK does automatically store access tokens in the keychain for you, so you don't have to.
-
Also, in response to your edit, you don't need to call unlinkClients each time, though that will clear out authorizedClient if that's what you want to do. You can re-use the tokens the SDK stores for you without having the user go through the app authorization flow each time (authorizeFromController).
-
Hi Robert, that assertion is actually easy enough to hit if you call authorizeFromController more than once (if you do link an account the first time). The DropboxClientsManager class is meant as a convenience for the standard single account case, so you can use the following to check if you're already linked: if…
-
This should be fixed now. Please let me know if you're still seeing any issues.
-
Thanks for the report! This is a known issue that should be fixed soon.
-
The standard Dropbox Saver button itself doesn't offer customization options. If you want to use a custom button though, you build your own button and then hook it up to the Saver functionality using JavaScript as shown here: https://www.dropbox.com/developers/saver#triggering
-
Thanks! I'm sending this along to the team as a feature request.
-
Thanks for the feedback, Kiko. I can't promise if/when we might write an example like that, but I'm sending it along to the team. For reference, instructions for running the Android sample can be found here: https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android The app authorization flow specifically is…
-
I'm not too familiar with PowerShell, but it looks like you may be able to get the response body using the -OutFile option on Invoke-RestMethod. Also, for reference, based on your code, you're using API v1, which is now deprecated. We recommend migrating to API v2 when you can. For example, the equivalent…
-
Thanks for following up Vasili. What you shared is just the status line of the response though. Can you retrieve and share the body of the response as well? Based on your description of the problem, it's likely related to the encoding you're using for these characters. Please also share the code you're using to make the…
-
Vasili, what's the content of the response body? It should contain a specific error message indicating the issue.
-
What specifically isn't working as expected? Are you getting an error? There's a sample here that may be helpful: https://stackoverflow.com/documentation/dropbox-api/409/uploading-a-file/1357/uploading-a-file-with-every-error-case-handled-using-the-swiftydropbox-library#t=201609081416309785993
-
Hi Vishal, no, the API doesn't expose a way to upgrade an account's plan programmatically, but I'll be sure to pass this along as a feature request.
-
No, unfortunately this information isn't available via the API. I'll pass this along as a feature request though.
-
[Cross-linking for reference: https://stackoverflow.com/questions/39344740/dropbox-java-api-upload-file ] It looks like you've already found the methods for uploading and creating shared links. Is your code not working? If not, what error are you getting?
-
That's correct, for API v2 /files/list_revisions, the max limit is currently 100. We'll make a note to add this to the documentation. There isn't currently a way to request more than that, but we'll consider that a feature request.
-
What happens when you run this code? Do you get an exception?
-
It sounds like you registered your app for the "app folder" permission. You'll need to register a new one for the "full Dropbox" permission to access the Public folder: https://www.dropbox.com/developers/apps/create