Comments
-
Thanks! That's very helpful. We're looking into it.
-
You can add the following to enable some debugging output that would show the HTTP requests: import httplib httplib.HTTPConnection.debuglevel = 1
-
Thanks for the report Stefan! I just tried running two of these though and I'm not seeing the same behavior, using the same version of Python and the Dropbox library. How are you checking the file size to see the unexpected empty file? Can you add some logging and share the output showing the issue? In particular, it might…
-
Thanks! I still can't seem to reproduce this though. Please open an API ticket with the account ID and the output you're getting so we can look into it specifically.
-
Thanks for the additional information Larry. Is the looped version of your code any different than the above, beyond directly placing it in a for loop? Also, if you could let me know how/when you're checking the space usage such that you expect it to fail, that would be useful. (Users may always be changing things in their…
-
Hi Larry, I just tried this out on an account that is over quota and it does seem to be giving me the error consistently. When you see this work not as expected, are you seeing the save operation succeed? If so, how/when were you checking the quota such that you expected the operation to fail? Any other steps/details you…
-
I'm glad to hear you got this sorted out. For reference though, I can't recommend relying on the source like that, since it isn't documented. Just calling the handleOpenURL method in any case should be safe though, since it won't take action if it doesn't seem to be a Chooser event. That's up to you of course though. Also,…
-
Yes, I meant in the app delegate. I'm not sure offhand exactly what source will be there. Is handleOpenURL:url getting called?
-
You're not calling the handleOpenURL method in openURL as covered in the docs? I believe that is required, so I'm not sure why it would have worked before. Can you try adding it?
-
Thanks! It sounds like the issue may come down to how you're calling or receiving the Chooser in your app specifically then. That being the case, can you share your code, both the calling code and the receiving code in openURL? Also, please don't redact your app key since that may be relevant. (App keys aren't considered…
-
Apologies, the example app is a bit outdated now. I should have mentioned that you'll need to make a few adjustments to compatible with the latest versions of iOS. You already figured out how to work around the bitcode issue, and to allow it to "see" the Dropbox app you will need to add the LSApplicationQueriesSchemes…
-
Thanks Steve! (For reference, I believe all of the new networkd logging output is new with the latest Xcode, and is unrelated to the issue at hand.) Also, you don't need to add your own db-appkey to LSApplicationQueriesSchemes, but it shouldn't make a difference either way. Anyway, when using the initWithAppKey version,…
-
[Cross-linking for reference: https://stackoverflow.com/questions/39544755/dropbox-chooser-failing-in-ios9-app-not-allowed-to-query-for-scheme ] Apple did introduce some restrictions around these URL calls in iOS 9. The plist registrations you mentioned should cover everything though. The 'error: "(null)"' messages can be…
-
Hi Perry, the authorizeFromController method was updated (to be extension-safe). You should call it like this now: DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self, openURL: { (url: URL) -> Void in UIApplication.shared.openURL(url) })
-
Hi Győző, are you making the request to www.dropbox.com by any chance? RPC API calls like /2/files/save_url should be made to api.dropbox.com or api.dropboxapi.com. Also, you should be using application/json not application/x-www-form-urlencoded. There's a curl example in the documentation. The API Explorer may also be…
-
Ok, just to be clear though, you've mentioned two different and unrelated issues: 1. com.foreflight.ForeFlightException: com.dropbox.core.v2.files.DownloadErrorException: Exception in download: {".tag":"path","path":"not_found"}: This indicates that there was nothing found at the path specified for the download API call.…
-
That's correct, DbxClientV1 uses API v1, which should continue working until June 2017. Are you getting that error consistently? If so, please open an API ticket with the app and user ID so we can look into it for you. Thanks in advance!
-
No, that error indicates a general server issue on our side. That should be relatively transient though, so you can have your app automatically retry a few times when encountering that.
-
A path/not_found error like this indicates that there was nothing found at the supplied path for the call. In this case, you tried to download a file from a path that doesn't currently have a file, e.g., the user deleted the file.
-
Hi Bob, the length of the token in shared links isn't guaranteed, so I don't recommend relying on it. You might be slightly better off parsing the URL itself (e.g., using something like Python's urlparse) and grabbing the path component with the token. However, the link format itself also isn't guaranteed, so I can't make…
-
Hi Martin, that's correct, the API doesn't offer advanced upload options like these, but I'll be sure to pass these along as feature requests.
-
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…