Comments
-
If you're getting this error from files/list_folder/longpoll when calling with an unmodified cursor returned from files/list_folder, that error would be unexpected and may be due to a bug on our side. To help us look into this: - Are you modifying the cursor in any way? - Is this reproducible using newly acquired cursors…
-
Hi Jim, there are definitely two different issues here, so I'll address them separately. (They're both to do with the Dropbox Developer Platform though so this is a correct place to ask for help.) 1. The error "The request to link the app is invalid" occurs on the /oauth/authorize step of the OAuth 1 app authorization…
-
Thanks for the additional information sigrem! I don't have an update on this right now, but I'll follow up on this thread when I do.
-
Thanks! We'll look into it.
-
Hi James, that certainly would be unexpected and non-ideal, and I'm not aware of any other such reports. If it doesn't seem to be something your app is doing though, we'd be happy to look into it. The version number of the SDK you're using and the relevant code snippet(s) would be useful in that case.
-
Hi Shahaf, that certainly would be a nice feature to have in the SDK, so I'll be sure to send this along as a feature request. Anyway, that seems to be the 1Password App Extension, which can be found here: https://github.com/AgileBits/onepassword-app-extension We at Dropbox can't really offer developer support for…
-
Only the root path itself should omit the "/", that is, you represent root by the empty string: ". Any non-root path should include the "/", that is, these are valid paths: "/Status/New Folder" and "/New Folder", but "New Folder" isn't.
-
[Cross-linking for reference: https://stackoverflow.com/questions/33910808/xmlhttprequest-cannot-load-http-localhost3371-api-accounts-connectdropdown ] It looks like you're trying to redirect the user via a CORS request, which isn't allowed on www.dropbox.com. You'll need to send the redirect on a normal page load, or…
-
Thanks for the detailed feedback! I'm sending this along to the team.
-
That seems to be a codesigning issue, indicating the project isn't set up with the valid signing identities, which is expected since you downloaded it from us, for which you don't have the corresponding keys. You can try using "Fix Issue" to have Xcode set up your own signing identities in the project.
-
When using apps that use CocoaPods, you need to open the ".xcworkspace" file, instead of the ".xcodeproj" file. If you use the latter, you'll get this error, so please try with "PhotoWatch.xcworkspace".
-
Hi Nelson, there's no framework that you're supposed to add for SwiftyDropbox. The install is handled just by CocoaPods. We haven't heard back from Walt on this thread, so presumably his issue was resolved. Are you having any problems when following the instructions to install SwiftyDropbox?
-
I'm glad my post was able to help sort this out for you Michael! For reference, the install page for the Swift SDK mentions this as such: "If your project is open in Xcode, you'll need to close it and re-open the project workspace (.xcworkspace file) in Xcode for everything to work properly." That could be clearer though,…
-
Hi Walt, thanks for the report! I don't believe this step should be necessary though, and I haven't experienced this issue in my own testing. Can you share the version numbers of Xcode, Cocoapods, and SwiftyDropbox you have so we can try to reproduce it? (Also, one thing that comes to mind is whether or not you switched to…
-
Hi Suryakant, you can find information on the SharedFolderAccessError.INVALID_ID error here: https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/sharing/SharedFolderAccessError.html#INVALID_ID In short, the shared folder ID you provided was invalid. Make sure you're sending up a valid ID, as…
-
Thanks Thiago. This was due to a general service availability issue, and is resolved now.
-
This should be resolved now. Please let me know if you're still seeing any issues.
-
Thanks for the report Dave! We are aware of and working on that version of the issue as well.
-
We've had our engineers working on this and the good news is the problem has been fixed. Please try again and you should find that this functionality works correctly.
-
Thank you for alerting us to this problem. Dropbox engineers are aware of the problem and are working on a solution. Apologies for any inconvenience this has caused. By the way, for the sake of security, you should disable that access token. You can do so by revoking access to the app entirely, if the access token is for…
-
Hi Victor, it looks like you posted on two threads, so I'll follow up on the other one: https://www.dropboxforum.com/hc/en-us/community/posts/204284526-ios9-canOpenURL-failed-for-URL-dbapi-2-?page=1#community_comment_205918596
-
No, this isn't currently possible, but I'll be sure to pass this along as a feature request.
-
[Cross-linking for reference: https://stackoverflow.com/questions/33896666/unable-to-load-image-thumbnail-using-dropbox-v2-api-and-http-get ] It looks like you already sorted this out on your StackOverflow question, but this is currently documented incorrectly. We'll get that fixed up. By the way, for the sake of security,…
-
I don't believe there should be any performance impact. The media information is prepared separately, and if it isn't ready, you'll just get the .Pending case.
-
You could do something like this: client.files.listFolder(path: ", recursive: false, includeMediaInfo: true, includeDeleted: false).response { response, error in if let result = response { for entry in result.entries { print(entry.name) if let fileEntry = entry as? Files.FileMetadata { if ((fileEntry.mediaInfo) != nil) {…
-
The files.getThumbnail method in the SwityDropbox SDK is the equivalent method for getting thumbnails as getThumbnailBuilder in the Android/Java SDK. Anyway, yes, errors from the getThumbnail call should be captured by the error code block. Can you share whatever output/crash you're getting? Also, the parameters you're…
-
Yes, the v1 /files (GET) endpoint supports it: https://www.dropbox.com/developers/core/docs#files-GET
-
It sounds like you're referring to the /files/download endpoint on API v2. This doesn't currently support Range Retrieval Requests, but we are planning on it in the future. I don't have a timeline for that though.
-
It sounds like you're looking for listFolderContinue. When listFolderLongpoll tells you there are changes, you should call listFolderContinue, supplying the latest stored cursor, to get the list of changes.
-
Yes, append calls for a single file's upload session need to be called serially, in order.