-
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 ?
-
Is there an audit log endpoint in v2?
Business api v1 has an endpoint for audit events: log-get-events , does v2 have an endpoint with similar features? Also, I'd like to match events with files, f.e. comments, but in v1 I've seen that no path is returned in the add_comment event info_dict, but only base_name (not even path), which makes harder to match in…
-
Photos
I have the "Photos" section in my Dropbox under https://www.dropbox.com/photos Is there an API for this service? I'd like to at least list my Photo albums and their contents. Thank you, Péter
-
Dropbox Chooser allows invalid extensions using Upload option
My QS team is testing an application that utilizes the Dropbox chooser. We have the option set to allow only certain file extensions, but they've found that if they select "Upload" with the widget open, and upload a file with an invalid file type, they are allowed to choose it.
-
After updating to iOS 9, App gets stuck when trying to login into dropbox
Hi, My App stopped working after updating to iOS 9 because of the new Apple restriction on canopenurl which forces to register the url schemes you plan to you use in your app. I followed this tutorial to register the url schemes for my App:…
-
How to access a directory programatically with java android code in dropbox
Not able to provide the correct path to upload a file programatically in dropbox. putfile() can be used..But the path i am not able to provide . Searching for last 4 hours.Not able to find a solution.Please help if anyone can.
-
Migrating oauth1 to oauth2 using token_from_oauth1
I have been using Dropbox via the Sharpbox toolkit for a while. It's based on oAuth1, so I have a database full of oAuth1 access tokens for my users. I'd like to convert to the new Dropbox API, which is based on oAuth2. I see that there is a "token_from_oauth1" endpoint in Dropbox's v1 spec, but I'm not figuring out how to…
-
Swift API v2 Example of uploading a file using filesUploadSession(Start, Append, Finish)
I have used the OSX interface in the past for chunked file uploads to support large files. I can not quite figure out the process with the Swift API. Test cases for the API would be great, they would provide examples of usage. In the absence ... do you have any code examples that you can share.
-
Search API: More than 1000 results / pages / offsets / pointers?
The search API seems to have a limit of 1000 results. Is there a way to retrieve the next 1000 results via paging, search offsets, or result set pointers?
-
Search API: Support for start/end anchors (eg ^/$ regex)
In https://www.dropboxforum.com/hc/en-us/community/posts/203590593-Search-API-More-than-1000-results-pages-offsets-pointers- I asked about the 1000-item limit on the search API. If there's no way around it, one option could be to do a more precise search with start/end anchors. eg searching for ".xls" matches all ".xlsx"…
-
API v2 - /files/download, <video>, https and CORS
Hi, In our app we need direct links with access-control-allow-origin: * header applied. How we can do that in V2 of the api? So far we used 4h-expiring direct links and that was cumbersome due to the expiration, so we hope to get a nicer way with version 2, however seeing /files/download is being handled only via POST or…