-
How can I tell if a file is completely downloaded?
I have a client that I'm in the beginning stages of writing an app for. I'm going to be using DropBox to distribute video files to remote servers that will automatically play all of the video files in the media folder back. I don't need to upload files or do any sort of authentication. What I do need, however, is to know…
-
API V2 Can't get large file Upload working
Some context for the following: 1) DBAPIMetadata is just my wrapper for Files.Metadata that I can pass to Objective-C 2) The BGHelper at the end (when the call is not on the MainThread) just call the function On the main thread and blocks the background thread until it completes. Basically any calls on the main thread are…
-
How to setup expire of shareable url for dropbox resource?
Is there a way to setup expiration time of URL at Dropbox? I'm using DbxClientV1 to create a URL. DbxClientV1 client; client.createShareableUrl("/RVAdata/test/test/Daily_Summary_Reports/Modified.pdf")); DbxUrlWithExpiration createTemporaryDirectUrl =…
-
async usage in examples
I have a question regarding the API v2 examples as a whole. All of the examples supplies use async calls. even for login. However you use task.wait() after the Task creation which essentially makes the call synchronous as the program waits for the task to complete. You use async threads if those threads do operations that…
-
HTTP API v2 files/search: not recursive until select top-level folder?
I'm using v2 of the API and running into an unexpected situation with the files/search HTTP endpoint. Wondering if this is a configuration issue or expected behavior. I'm trying to list of a user's files of a certain type. With v1 of the api, you could set path: '' and query: '.xls'. When I use v2 of the API and hit the…
-
The operation couldn’t be completed. (dropbox.com error 1000.)
I am developing an app that uses Dropbox SDK to download files from user dropbox account. I am able to list contents and contentMetadata, but when i try to download them i am always getting the following error: DropboxSDK: error making request to /1/files/dropbox//SuiteJuridica/navigationBar-start.png - (1000) Error…
-
Dropbox Chooser on Cordova
There is not any workaround with the response : {"error":"invalid_origin"} when tryng to use Dropbox Chooser on a cordova app ?
-
SwiftyDropbox Error Handling
Hello! I’ve been working with SwiftyDropbox and I’m having a curious problem with errors. Specifically, I’m not sure how to manipulate errors in the closure callbacks provided after responses are received. For instance, the completion handler for Dropbox.authorizedClient.filesListFolder provides a…
-
Delta reset field in API V2
Hi, In the API V1 the /delta call returns a field called reset which I can't seem to find in V2 when I look under the /list_folder methods. Is this or similar information available in V2 API or not? Need to know if the delta has been reset since the last delta retrieval. Thanks.
-
Getting error: "This app is not allowed to query for scheme dbapi-2" after upgrade to version 1. ...
3.13 for iOS I recently upgraded my dropbox SDK to version 1.3.13 to support 64-bit devices. However, I am now getting the error: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "This app is not allowed to query for scheme dbapi-2" Do I need to generate a new key to use this version? Thanks
-
password protected zip fil is not uploaded using files_upload method (Python)
I am trying to upload a zip file using the files_upload method. When I use a regular zip file (not password protected) it works. However, when I use a password-protected zip file the process takes a long time and eventually output the following error: Traceback (most recent call last): File…
-
API v2 permanently delete files
Hi, I've been trying to use the new files/permanently_delete endpoint of the v2 API but I constantly get an error 400. It seems to be the case that standard Apps are not allowed to use this endpoint. Is there any reason for this? Because for old Packrat users it can be very useful to have a purge call. Best regards, Markus
-
OAuth 2.0 - IOS API V 2.0
Hello ! I use the the version API dropbox 1.0 for my app IOS, the new 2.0 is only swift and i can not use it because my app use only object-c. So now i use API 1.0 for generate autentication DBSession restClient etc then use "https://api.dropboxapi.com/1/oauth2/token_from_oauth1" for access_token and call via HTTP the new…
-
Is there a way to search through the content of csv?
I would like to search through content of .csv files. Why is it impossible? I thought .csv are just text files. Are there any plans that dropbox allows this feature in the near future?
-
The request was redirected
I am using angularJs with webapi and now i want to upload a file on dropbox after login in my webproject on click of a upload button.I have made an api to go the login page of dropbox and after login i want to redirect it to my own page again by redirect url.But when i am calling the webapi its giving the correct url but…
-
Differentiating between deletes and updates while processing user library changes
In the V1 APIs dropbox files didn't have an id field, we had to rely on the path as the unique identifier for a file. So, when processing changes to a user's dropbox library such as a file rename or a move we get two metadata delta entries - one for the delete and the second with the updated path for the move or the…
-
http request, oath 2.0 - How to download a file as chunk.
i want download a file chunk when request a file range ex: file have 2050 byte, i want download file with http request, oath 2.0 by request range 0-1023, 1024-2047, 2048-2049. then how i do it? thank for read.
-
Using V2 HTTP content-style endpoints with GET
Hi, when trying to use get_thumbnail API using GET, we always seem to get 400 back. When using the POST and adding Authorization/Dropbox-API-Arg headers, it seems to work. What could be the cause of that? Here is what our final request url looks like:…
-
How to download thumbnail/image file
Hi I am using the python requests library to request a particular thumbnail from my dropbox. My request receives a 200 response. However, how do i use this response object to actually display/save the thumbnail ? Any help will be greatly appreciated.
-
Overwrite file using Dropbox saver
Hi, I'm using dropbox saver button on my website, to save Generate file to my account on dropbox, and i have 2 questions if you please: 1- How can I automatically saved the file in a specific folder on my dropbox account. 2- How can overwrite an existing file on this folder. Thank you in advance.
-
Add content type to Dropbox JS Chooser
Hey there. Would you consider adding a content type field to the file objects in the success callback in the Dropbox JS Chooser?
-
SwiftyDropbox crash while having a language other than English selected in account settings.
I have no problem testing SwiftyDropbox on my device when my Dropbox language on the site is set to English. But if I go to settings and change the language to Swedish or Dutch, the app crashes in getting the usersGetCurrentAccount() method, giving the following error: precondition failed: "sv-SE" must be at most 2…
-
Swift API v2 and filesGetMetadata with a path of "/"
I am calling this from within an Application Context. So "/" should be my App directory. Two problems: 1) I get a server error reposponse: {"error_summary": "path/malformed_path", "error": {".tag": "path", "path": {".tag": "malformed_path"}}} 2) When I get this error ... The Swift api fails to deserialize "malformed_path"…
-
Api V2 java unable to list folder when path content accent
ArrayList<DbxFiles.Metadata> entries = client.files.listFolder("").entries; This give me 2 folders: /Mario /Théo If I do: client.files.listFolder("/Mario").entries; There is no problem But if I do client.files.listFolder("/Théo").entries; It sent me back: DbxFiles$ListFolderException: Exception in list_folder:…
-
SwiftyDropbox download error in tutorial
When the SwiftyDropbox tutorial was implemented at the 1.0 release, the following error was received: “Missing argument for parameter 'destination' in call” for this line of code: “client.files.download(path: "/hello.txt").response { response, error in” The error can be eliminated by changing the line of code to:…
-
Dropbox Sync Android arm64 support
Hello there, I'm using the Dropbox Sync API (mostly for the use of the Datastore, but also some file access). In my Android app I'm current the following crash report from a Nexus 9 Android tablet: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file…
-
Planned maintenance Saturday 11/21 at 08 AM PST
This Saturday at 08 AM PST, Dropbox will be in read-only mode for planned maintenance, so any writes attempted via the API will fail for a short period of time. This includes uploading, editing, moving, and deleting files, etc.
-
Upload API's mode and autorename parameter do not work.
As you know, Upload API has mode and autorename parameters. I configured "mode" parameter as "add" and "autorename" parameter as true. But Dropbox did not return FileMetadata with new name although the same file already existed. Here is the request and response message. POST https://content.dropboxapi.com/2/files/upload…
-
API v2 feedback: files' ".tag" attribute extremely unfriendly for HTTP/JSON
I'm using v2 of the HTTP API and wanted to pass along some feedback. When I hit a files list from an endpoint like files/list_folder, I get a JSON response like this: { entries: [ { '.tag': 'file', name: 'foo.pdf', path_lower: '/foo.pdf', id: 'id:abcdefg', client_modified: '2015-11-16T00:50:26Z', server_modified:…
-
Can other users upload files to my shared folder with them programmatically ?
The scenario in the app I want to build is : 1) I create a shared folder say 'Folder_x' 2) Now share this folder with a group of Dropbox users. 3) Now other users should be able to upload files into this 'Folder_x' from their mobile apps. Is that currently possible via Dropbox api's ?