-
Is it possible to load a small part of a file?
I'm using the Sync API on iOS. The app deals with a lot of large data files which have information in their header. I'd like to display this information (perhaps less than 1kb of data) to the user without having to download a file (anywhere up to 50mb and beyond). I can only find a way to load the entire file into an…
-
[SwiftyDropbox] client.files.listFolder(recursive: true) doesn't list shared folders
Hi guys, a trouble we have here is fairly simple to reproduce. We're using Client.files.listFolder(recursive: true) for scanning a particular directory and its subdirectories to quickly find files with necessary extensions. It was working good and great until we noticed that it doesn't exactly work with shared folders.…
-
Sending cursor parameter to delta to get complete listing of files
I'm trying to get a complete listing of files from a dropbox folder using the /delta endpoint. The folder contains around 3400 files, and it seems a call to /delta returns 2000 items, with has_more set to true. I'm assuming then, that I would need to make 1 more call to get the remaining 1400 files. However, no matter how…
-
Check if there is a pending upload from another party
Dear community and support team, We have an app that is periodically checking files in a shared folder through API and moving them elsewhere. Other party is usually uploading files in batches and it has become necessary for us to wait for the whole batch to be uploaded before moving it. Is there a way for the app to know…
-
How to install Drobox SDK for Python in Windows 7?
Hi, I am trying to install Dropbox SDK for Python through this page: https://www.dropbox.com/developers/core/sdks/python I have downloaded Dropbox SDK for Python and uncompressed it at my Desktop folder. Currently I use Python SDK 2.7.9 (which includes pip) on my Windows 7 computer, but the next step says, "To install the…
-
404 error reading metadata
I have been experimenting with the DBRoulette example. It is working fine when I create the app specifying access to the user's whole dropbox account. However, for privacy reasons I will want to restrict access to just a specific folder. When I set it up that way and create the "Photos" directory in the Apps directory, I…
-
create_shared_link_with_settings with expires in setting parameter doesn't work
For the request: {"path":"/Get Started with Dropbox.pdf","settings":{"requested_visibility":"public","expires":"2016-03-04T14:27:00Z"}} I got the response always, and it passed if I removed expires. {"error_summary": "settings_error/not_authorized/", "error": {".tag": "settings_error", "settings_error": {".tag":…
-
API v2 send HTTP "Range" request not working
Hi dropbox, ------------ app permission type: App folder API version: dropbox API v2 description: HTTP request with "Range" header field not working. ------------ A HTTP request with "Range" header should works like: Request: GET /test_320x180.mp4Range: bytes=1000- Response: 206 Partial ContentContent-Type:…
-
Swifty dropbox download file complete?
Hi, How can I determine when the file I'm downloading is complete? Is there a callback or something? I'm using the Swifty dropbox API to download a video file (provided by the tutorial...) client.files.download(path: dbPath, destination: destination).response { response, error in if let (metadata, url) = response { } else…
-
Need to fetch all events of all users under the same admin using single access token
Hi, We want to fetch all the events of all users under the same admin user using admin user's access token. We created "Business API App" with "Team Member File Access" permission. We have couple of questions here. - Tried with "log-get-events" where it doesn't capture all events(uploading file etc.). webhook/inline…
-
Cannot get thumbails from GetThumbnailAsync
I don't see any "icon","thumbail".... using (var dbx = new DropboxClient(Token)) { var list = await dbx.Files.ListFolderAsync(path); foreach(var item in list.Entries) { list1 = await dbx.Files.GetThumbnailAsync(item.AsFile.PathLower, null, ThumbnailSize.W64h64.Instance); RootObject obj = new RootObject(); obj.thumbail =…
-
Dropbox Java API Problem
Hi, i wanted to learn how to use the Dropbox API, so i followed the Tutorial and adapted it to my program. Now, when i want to use the .getAccountInfo() - method, i get an error: Exception in thread "main" java.lang.IllegalArgumentException: Illegal character(s) in message header value: Bearer <the access token> I have no…
-
Dropbox Chooser
Hi everyone, I'm a bit new to this and am having difficult getting the dropbox chooser to work. Here is what is being inputted into the html: <!doctype html> <html> <head> <script type="text/javascript"src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="xxxxxx"></script> </head> <body> <div…
-
Java API v2 Longpolling SocketTimeoutException
I always get SocketTimeoutException when invoking: client.files.listFolderLongpoll(cursor, 60); According to the docs it should just return a result with the "changes" flag set to false. How can I fix that? (Using dropbox-core-sdk-2.0-beta-5.jar).
-
listfolder/longpoll - timeouts on Dropbox Java SDK (v2)
listfolder/longpoll endpoint on Java API gets SocketTimeOut. This is understandable, since in: com.dropbox.core.http.HttpRequestor You have set the connection read timeout to 20 seconds while at server side you have declared 30 secs in docs. A dirty workaround is to subclass StandardHTTPRequestor but ideally would like to…
-
Any way to get mixed-case path for a file?
My app will display the full path of files. They look kinda strange (unfamiliar) when all lower-cased, which is all I seem to be able to access from a FileMetadata value. Is there any way to get the mixed-case path for a file with the v2 API? Thank you!
-
HTTP API "Your app is not currently allowed to use API v2"
I am just trying to get the HTTP API to work in any way at all. These are the steps I followed: 1. Created an app. My app is listed under https://www.dropbox.com/developers/apps when I'm logged in. 2. Used Dropbox's "generate access token" button from the app settings page. 3. Went to API explorer…
-
SwiftyDropbox - Keep track of send/received data
Hello! First of all, great job! I just played with the SwiftyDropbox on API v2 for a few days and I must say it's really easy to get it all working. I have one question though. What would be the best way to send multiple files and keep track of that progress? Since at the moment I'm calling client.filesUpload(path:…
-
No cursor when fetching list_shared_links
When querying for shared links without a path I successfully return the entries I'm after however I can't seem to return a cursor for the request despite the api document saying: Cursor is returned only if no path is given or the path is empty. This field is optional. Any idea why that might be?
-
Business App - Development mode
The App we have created recently with ID hp8quspkiujs5k3 is failing with "The app is in development mode and can't be authorized by more teams". But this app with ID wlx5w3bi63iu3i9 is what we had be using till now and it has always been in Development mode, but we never got the above error. We are using the App in QA…
-
ios9 ,canOpenURL: failed for URL: "dbapi-2...
Ios9 system, access to login screen I get the following error: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)", so , I add "dbapi-2" to LSApplicationQueriesSchemes, but, the error is still there
-
Never ending uploads with DropBox document picker export mode
Hi, I wrote an app where people can backup the app data with iOS document menu/picker, it seems to work flawlessly with iCloud. I'm using iOS 9.2.1 and DropBox 4.2. When I choose to export with DropBox, the upload never ends, although the file is really small (280KB) and my connection pretty fast. If my iPhone goes to…
-
Empty path error from /sharing/list_shared_links
I am trying to use list_shared_links in the way described in the documentation: "If no path is given or the path is empty, returns a list of all shared links for the current user." (https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links) However when I give an empty path, I receive a…
-
Recommended Error Strategies?
After successfully integrating DropBox into an iOS app in the expected cases, I decided to do some nasty things and learn more about error handling. Namely I went and deleted the DropBox App/MyAppName folder on the dropbox, then let the app go for it. I started getting 401 errors "User has removed their App folder." - so I…
-
How to load image from folder on dropbox sdk for c#
using (var dbx = new DropboxClient(Token)) { var list = await dbx.Files.................. foreach(var item in list.Entries) {
-
Getting 400 HTTP error for /list_folder/longpoll
The request for longpoll used to be working fine, but a couple of days ago I started getting 400 HTTP error with the following message: "Error in call to API function "files/list_folder/longpoll": request body: cursor: unsupported cursor type" I'm using HTTP API, the cursor is supplied as a result of list_folder request.…
-
How do I download my data automatically to external harddrive programatically.
I have 750GB that I need to back up. How do I download my data programmatically?
-
Delete file from dropbox
I'm using Dropbox SDK v2 and I want to delete an item (folder or file) . Is it possible? Thank you
-
Getting lots of connection timeout issues using Python API
The last few weeks I've been getting connection timeout issues more and more often. I am using the Dropbox Python API version 2.2.0 with Python 2.7.11. For instance, I received this error when downloading a file that is only 473 KB large: ConnectTimeoutError at /my_company/file/download.pdf…
-
Getting Latest Changes in dropbox account
Hi, Using delta API fetches all the files and folders, if i have made any changes to dropbox folder. Is there any way to get only the information of the files modified within the folder? Also, In dropbox notifications, what does "dbid" indicate? Is it specific to the app we use?