-
/upload_session/finish incorrect_offset
Hello, I'm trying to upload with /upload_session/append_v2 and /upload_session/finish Sometimes it works and sometimes I got incorrect_offset error. I cannot understand why. Can you tell me more about this error ? Thank you
-
error using PHP file_get_contents to call list_folder api
any examples available using the PHP file_get_contents function to call the files/list_folder api? ( I am able to use curl from PHP to call the dropbox apis. But my code fails on one PHP server but works on another. Would like to see if file_get_contents will work. ) Here is my code. There error I am getting is "failed to…
-
Fatal error on running finishFromCode in Java 3.0.6
Trying to run method finishOAuth of DropboxConnector class (startOAuth has no problems when running. public DropboxConnector() { DbxAppInfo appInfo = new DbxAppInfo(DropboxHelper.APP_KEY, DropboxHelper.APP_SECRET); this.config = new DbxRequestConfig("text-edit/0.1"); this.webAuth = new DbxWebAuth(config, appInfo); } public…
-
Regarding path/no_write_permission/ error
Hi, I recently tried a case and can you please why this happened? CASE 1: I deleted a folder in Dropbox UI, invoked upload api with the deleted folder's id(not folder path) ---> A new folder was created with the same name and the file was uploaded. New folder ID is assigned and upload works with old folder id but file…
-
2/files/list_folder returns empty
Hi, I'm tryingt to list the contents of the root folder. It was returning fine for a while and now it's suddenly stopped return anything? I had one file in there, and I added a couple more to test but it's still returning empty. Would appreciate any help. Request and response below. Request curl -X POST…
-
Dropbox REST API to update file's metadata
I want to rename a file with dropbox rest api. Well, it's possible with /move_v2 but we need to provide from_path and to_path values. In my understanding, renaming a file is just updating its metadata. As dropbox provides an api to get metadata, is there any way to update it. I mean provided the id of file, can I change…
-
Ignore Dropbox App on Login
I would like to have my app ignore the Dropbox app, if installed, and just force a web login. Is this possible? I have an app that lets users login to Dropbox at a specific point in the app but, if they have the dropbox app installed, after they login and authorize it then it returns to my apps main menu. If they don't…
-
Dropbox API file preview - check the preview content type
Hi, I am using the Dropbox SDK for Java. I understand that the the get_preview will return either html or pdf based on the file type. Is there a rule that specifies what is the preview content type for each file type? And is that rule likely to change? E.g xls preview is html now, but next week may be pdf? And is there a…
-
Where should I see the "v1_retired" error ?
Hi again, Sorry if it's a stupid question but where exactly should I see the "v1_retired" error? Here is the part of my code where I'm trying to upload a file into the DropBox folder: try { if (!dbxFs.exists(testPath)) { testFile = dbxFs.create(testPath); testFile.writeFromExistingFile(file, false); testFile.close(); } }…
-
Dropbox Chooser - IE11 Display Issues
I was just doing some testing in IE11 (on Windows 10 / 8.1 / 7) and noticed that the Dropbox Chooser does not display correctly - making it impossible to log in. I've attached an image below that was taken from Dropbox Chooser 'demo' page which replicates what we are seeing in our application.
-
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:******}) to client = new Dropbox.Dropbox({ accessToken:******})
-
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…