-
Listing subfolders with Java api v2
I am using code such as the snippet below to retrieve file details from Dropbox. How can I tell which entries are folders? I thought there would have been a member in FileMetadata but I am just not seeing it. ListFolderResult result = mDbxClient.files().listFolder("" ); while( true ) { for( Metadata metadata :…
-
Re: Can't open file, which i have download from Dropbox using direct download link.
Hello, the issue here is that the header "content-type" seems broken on the webpage since this week. It is set to "application/binary" for all file types. This is the reason that the android dowloadmanager can't open any more downloaded files from shared dropbox links. Below you will find an example get sent by Postman,…
-
Where can I find Full Simple DropBox example to download ?
Hi all, I'm looking for a simple DropBox example project that I can just download as a Zip file and then compile in my Android Studio and run on my Nexus 5 (Android) device. I need a simple project that send one Jpg file from my device to my Dropbox. Can you please give my a link to such example? There are many code…
-
DownloadAsync error
I tried download all folders/files from DropBox.Api but I received this error: Value should match pattern '\A(?:(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?))\z' Parameter name: path My code is: using (var response = await dbx.Files.DownloadAsync("/folder/File.ext" )) { //code } Thanks a lot!!!
-
Drobox API V 1 error 400 depricated
I am getting "error loading metadata: Error Domain=dropbox.com Code=400 "(null)" UserInfo={path=/DocWalletDB.sqlite, error=v1_retired}" in my Console. I am working with Objective c .So,please help me to resolve the above issue and if i update my Dropbox SDK from V 1to V1,will my back files are delete or not? Dropbox SDK is…
-
DropboxClientsManager authorizeFromController not doing anything
Hello, I'm having trouble presenting the Dropbox login to the user. I had it working some time ago, but today I tried it and nothing happens. I make this call and nothing happens. [DropboxClientsManager authorizeFromController:[UIApplication sharedApplication] controller:VC openURL:^(NSURL *url) { [[UIApplication…
-
DropBox API Performance Report
Performance Results – MySite## (OneDrive, DropBox, Box, & Drive) This Report summarizes the results of the performance test done on the 4 cloud services (OneDrive, DropBox, Box, and Drive). The purpose of this Report is to present it to people so they know what to expect when using one or more of the cloud services with…
-
new Dropbox.Dropbox() is not working in IE
Hello Team, I am facing an issue while trying to use V2 API on IE after updating the client creation code from client = new Dropbox({ accessToken:XXX}) to client = new Dropbox.Dropbox({ accessToken:XXX})
-
get_current_account API is strange and does not work with common-sense.
1. Content-Type header Why does get_current_account API require 'application/json' as Content-Type header? Even if there is no body to deliver. As document mention that, get_current_account does not have any parameters. https://www.dropbox.com/developers/documentation/http#documentation-users-get_current_account Moreover,…
-
BUG: rendering PDF with ?raw=1 not showing in Chrome & Safari
To my surprise I noticed that it isn't possible to embed shared files anymore by using the ?raw=1 parameters as discussed in the Dropbox Help Center. For instance, I am not able to see the following file anymore in Chrome 56.0.2924.87 or 57.0.2987.98: https://www.dropbox.com/s/qgauf66zeoi816i/___TEST___.pdf?raw=1 The…
-
Select, Move, and Output a Random Image from a Folder?
Hello Dropbox developer community, I would like to start by saying that I'm very new to the useage of the Dropbox API (and, to be honest, Python in general). However, I am in the process of attempting to create a script for a bot for a chat service known as "Discord". My goal is to have two folders in my App's master…
-
Move a folder/file and rewrite on destination if exists.
Hi. Is there any way to move a folder A to a destination folder B, and overwrite the folder on destination B if folder A already exists? Using the move_v2 feature is returned conflict error (http 409). I was not wanting to have to check and delete before copying.
-
Rename files without losing any versions
Hello. I'm trying to rename the files as follows (.Net): using (var dbx = new DropboxClient(user.DropboxAccessToken)) { await dbx.Files.MoveAsync(string.Format("/{0}/{1}", pathWithoutName, oldName), string.Format("/{0}/{1}", pathWithoutName, newName), true, true); } As a result, I lose the version of the file. Can I rename…
-
Is it possible to download folder/upload folder using Dropbox.Api in .net
I want to know if it is possible to download/uplaod folders using Dropbox Api in C# Also is there any filter that we can specify while downlaoding/uploading folders.
-
php read CSV file in dropbox
There is a CSV file in Dropbox. How to read it with php? The php code is as follows, $url = "https://content.dropboxapi.com/2/files/download?authorization=Bearer%20<TOKEN>&arg=%7B%22path%22%3A%20%22%2Ftest.csv%22%7D"; $fileData=fopen($url,'r'); Is the $url wrong?
-
sharing folders inside folder via command line- DB for business
Hi, I see that with DB for business, it's possible to share folders that are inside folders. https://www.dropbox.com/help/files-folders/share-inside-folder I wonder if it possible to do it via the API. In version "Pro", the issue is that I don't have a "shared_folder_id" for subfolders of shared folders. But I have only…
-
Dropbox crash on getting revisions
Caused by: com.dropbox.core.ServerException at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:344) ~[dropbox-core-sdk-3.0.5.jar:?] at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:115) ~[dropbox-core-sdk-3.0.5.jar:?] at…
-
Files ListFolder and ListFolderContinue slow
I have been using the API Files.ListFolder and ListFolderContinue to fetch meta data of all my files and folders. Functionally it is working but each request takes 3-8 seconds to come back with the page of 2000 results. I can't believe this is normal. Anyone else getting this? Out of interest I tried it with Python and…
-
Too many write request on Javascript SDK Upload File
I have tons of user that needs to upload their files to dropbox through my application. I'm using Javascript API that use generated access token. I've made the upload one by one so it will not get 429 error if there's just one user active, but if 3 or more user active at the same time, sometime each user get 429 error. How…
-
How catch error 409 (path/not_found/.) when try download file?
Use a Dropbox-sdk.min.js <script src="http://bootboxjs.com/bootbox.js"></script> <script src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js"></script> dialog.modal('show'); var ACCESS_TOKEN = '<?php echo DROPBOX_ACCESS_TOKEN;?>'; var dbx = new Dropbox({ accessToken: ACCESS_TOKEN }); dbx.filesDownload({ path: "/" + id…
-
error? in dbx.usersGetCurrentAccount() in javascript
It looks like there's a new structure with dropbox, as of this morning I've been creating my dbx object by calling var dbx = new Dropbox.Dropbox({ clientId: CLIENT_ID }); rather than var dbx = new Dropbox({ clientId: CLIENT_ID }); Whilst that seems to do the trick, when I try dbx.usersGetCurrentAccount() which seems to…
-
Chooser - Set dropbox file as input type file value
Hi there, I'm using the chooser to allow the user to select a file which then should be set as the value of an input type=file of a form. Right now I'm trying to do this within the chooser success callback but doesn't work: function DropboxChooser(selector) { options = { // Required. Called when a user selects an item in…
-
File Requests
Hello, i have created one file request from my Dropbox account now i want to upload file using that file request url via my android application. so is it possible to upload file from android application ? and if yes then please provide me API name. Thank you.
-
"Dropbox is not a constructor" Nonreasonable Error
There is a script which uses Dropbox-sdk.min.js. The script was fully working yesterday, but today the "Dropbox is not a constructor" error is thrown, although there is the Dropbox object, as planned. Everything MUST work, but it doesn't. SDK is linked in HTML as <script type="text/javascript"…
-
How to relink a user (revoke) using the javascript api.
Can anyone show me an example how to use the javascript api to revoke and then let the user re-link to Dropbox?
-
Salesforce To dropbox file upload
Hello All, I am trying to upload a file from salesforce to Dropbox. I have created a class in salesforce as per suggestions from the internet. My code is: public class dropBoxApi{ Public String code ; Public String accesstoken; public String fileBody{get;set;} public dropBoxApi() { code =…
-
how to know my doc path in dropbox so i can call list_rev API URL
how to know my doc path in dropbox ? so i can call `https://api.dropboxapi.com/2/files/list_revisions` my json body for the request is : { "path": "/root/", "mode": "path", "limit": 10 } what i'm trying to do is to list all rev for all doc im my Dropbox , but i'm getting `"error_summary": "path/malformed_path/",`
-
Migrating access token from API v1 to v2
Hello, I am trying to migrate our API to version 2 and followed the migration guide with no success(https://www.dropbox.com/developers/reference/migration-guide ). Just one example is that I am using the link below in order to connect my excel spreadsheet with our BI tool using the api v.1 and access token.…
-
Sharing of folders inside the Apps/ folder
I have an application (madoko.net) where users rely on shared folders in dropbox to cooperate. However, I now need to give the application access to a users' entire dropbox and I would like to make it a restricted application under Apps/Madoko. Unfortunately, currently users are unable to share folders inside the Apps…
-
upgrade your Dropbox Api's newtonsoft.json to 9.0.0.0
i am using your dropbox api with newtonsoft.json 7.0.1 dll ..if i use 7.0.1 dll i get the data,but this dll affect my other project..please provide your dropbox.api with newtonsoft.json.dll for 9.0.0 version