Comments
-
Thanks for the feedback on the error messages! We've made some changes to how this is reported, so if you pod update (latest is 1.0.2) issues like this should yield better messages.
-
Thanks! This version of the code simplifies things. This version does work for me, and I believe the error you're getting is a "file" WriteConflictError, meaning there's already a file at the path you're trying to upload to: https://www.dropbox.com/developers/documentation/http#documentation-files-upload You can specify a…
-
Thanks! This error should just indicate an issue with the path you're supplying, but your path ("/AccountInfo.json") looks fine, so we're currently investigating if/what the issue might be on our side.
-
Thanks. We're looking into it. In the meantime, please make sure you're using the latest version of the SDK. (Currently 1.0 on GitHub)
-
Thanks for the detailed write-up. We'll be happy to help. First, a few things: - Just to make sure, in step 3, you meant "filesUploadSessionFinish" not "filesUploadSessionAppend" right? - Can you share the log output for reference? - Can you share the value of dbPath? Thanks in advance!
-
This maintenance is complete and normal Dropbox service has resumed.
-
Peter, the Dropbox API doesn't offer a way to download entire folders at once like this, but I'll be sure to pass this along as a feature request. That being the case, you'll need to loop through the files you need and download each of them. Pouria, if the above resolve the issue you're having, please open a new thread…
-
It sounds like you're referring to the Dropbox Android Core SDK. No, you don't need to explicitly close that object.
-
Yes, you can share folders via API v2 using /sharing/share_folder and /sharing/add_folder_member. Once the user adds the folder to their account (e.g., by accepting the invitation via the Dropbox site or via your app using /sharing/mount_folder) they can interact with it like any other folder, such as uploading to it from…
-
Unfortunately, the Dropbox API doesn't currently return this information, even when using include_media_info. The documentation says: "photo_info: Only returned when the include_media_info parameter is true and the file is an image. A dictionary that includes the creation time (time_taken) and the GPS coordinates…
-
The Dropbox Business API v2 is currently in beta and doesn't have an equivalent of this endpoint yet, but I believe it is planned. Regarding matching events with files, I'm not aware of a workaround, but I'll send this along as feedback.
-
Hi Haseeb, as discussed earlier in this thread, in order to access the content of a file via the Dropbox API, you need to download it. In a client-side app like on Android, this will mean that the access token will need to be in the app, and you can't prevent the users of your app from accessing it.
-
Willie, on the Dropbox side of things, you can use the .NET SDK to interact with Dropbox API v2: https://www.dropbox.com/developers/documentation/dotnet Our samples are in C#, but as of version 3.0.0 of the SDK, it should work with Visual Basic as well. For example, to download a file (e.g., an Excel file), you could use…
-
This error message indicates that the app for the app key or access token you are using is disabled. If you registered an app originally and then disabled it, make sure you remove that app key and secret from your app. If you registered an app originally and got an access token using it, and then disabled that app, that…
-
The equivalent of v1's getDelta on v2 is listFolder with recursive=true and listFolderContinue. Note that both getDelta and listFolder/Continue are paginated, so for both it's possible that the initial call won't contain all of the results. In either case, for a correct implementation you need to save the cursor from the…
-
This should be working properly now.
-
Thanks! That's helpful, and I can reproduce this now. This seems to only occur for shared folders (which is what that icon signifies). We're looking into it.
-
Hi Dan, I'm not seeing the same behavior when trying this out myself. Can you share your code and output? (Just be sure the redact the access token.) Thanks in advance! If you'd prefer to share privately, you can open an API ticket here: https://www.dropbox.com/developers/contact
-
Quick update, the FileMetadata object now contains a "path_display" property. You can read more about it in the documentation.
-
Thanks for clarifying! No, there isn't a single call way to get it like that. I'll send this along as a feature request to the team though.
-
[Cross-linking for reference: https://stackoverflow.com/questions/34667886/dropbox-v2-api-is-there-any-way-to-get-the-original-mixed-case-path-of-from-a-f ] FileMetadata.name will contain the case-preserved name, so you would need to build the path up from that.
-
We don't have resources specifically for AngularJS or Torii, but you can find the documentation for our OAuth endpoints here: https://www.dropbox.com/developers/documentation/http/documentation We also have a general OAuth guide here: https://www.dropbox.com/developers/reference/oauth-guide I'm not sure what issues you're…
-
Thanks for the report. This will likely take some back and forth with specifics about your app and users to troubleshoot and debug, so please open an API ticket with whatever details you have so we can investigate: https://www.dropbox.com/developers/contact
-
Thamaraiselvam, different users shouldn't be affecting each other's sessions. It sounds like the session system for your app isn't set up correctly. That's a more general problem, and so a bit outside the scope of API support though, so I'm afraid I can't offer support for that. You should refer to the documentation for…
-
If you have a patch for the SDK that you think will be useful to others, please feel free to submit a pull request on the dropbox-sdk-php project.
-
I'm still not clear what change you made exactly regarding the cookies and sessions, but that certainly would be relevant here, as the error is indicating that the CSRF token didn't match what was expected, and the SDK stores the expected CSRF token in the session. You can see that here in the SDK where the exception is…
-
The following would be helpful so we can offer some insight: - the steps to reproduce the issue - the full text of the error/any output - the relevant code snippet(s), including any changes you made to "move the session's to cookies"
-
To upload large files with API v2, you should use upload sessions. One of our developers (Kannan) posted a rough example of how you would do this in this thread: https://www.dropboxforum.com/hc/en-us/community/posts/205493536/comments/206447846#community_comment_206447846 (It looks like you already found that, but I'm…
-
This is a bug in version 2.0.3 of the SwiftyDropbox library. Upgrade to the latest version, currently 3.0.0, and try again.
-
Apologies, no news on this. I'm not aware of plans for this.