-
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?
-
how download file with oauth1
I'm a total green hand, when I read the API guide, it seems that the api /files(GET) is based on Oauth2? So how can I download a file with http request base on Oauth1? What should I set for header "Authorization"? Can anybody help me? Thx a lot ~
-
Dropbox-API for python on windows missing API V1?
I asked this on stack overflow and no answers so I'm trying again here. I have win 10 PC and Python 3.5.1 with dropbox latest version. API V1 seems to be unsupported. Calls to dropbox.client gives no attribute client was found. I was using the official tutorial code. When I run the same code on raspberry pi Jessie with…
-
trying to upload many pictures from ios device to dropbox folder using swift
so i have a list in swift of a bunch of URL from pictures saved in a folder with in the ios device. what happens is that i want to upload all those pictures to a folder and when i do it i get some pictures and not all. im using a loop to do go through every URL and uploading them one by one with in the loop. sometimes i…
-
error during upload file
I have an error with a file upload of ~452 MB this is the exception: the code is picked from here ('64cb960257abb6a107b327cfefbad8ab', 502, u'\n\nDropbox - 5xx\n\n\n\n\n\n \n\n\nError (5xx)Something went wrong. Don\'t worry, your files are still safe and the Dropboxers have been notified. Check out our Help Center and…
-
How to install SwiftyDropbox in xcode project
I have tried using cocoa pods, with no luck. i have tried everything. i have cloned the drive, i have downloaded it from github. i have tried creating a new project and copying the files in. Every time i seem to either miss out on the .xcodeproj file completely or miss the idk in the project. I am trying to create a…
-
py2exe
Hi. I'm trying to use python's py2exe to freeze an application that includes copying a file to dropbox via the API so I can run it from a machine that does not have dropbox installed. My python script itself works well within python. Then I create an exe file, but when I run it I get the following error:…
-
SwiftyDropbox and support for multiple accounts
We're migrating from Dropbox iOS SDK to SwiftyDropbox and we need to support a vital feature: support for multiple accounts. There's not much documentation about that (none, actually). Typical single-user case which is perfectly handled by Dropbox class, as far as I can see, simply calls similar appropriate methods on…