-
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…
-
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
-
listfolder function
I am using java and am trying to list all the folders and include the property groups as talked about here inorder to reduce api calls. However when I look at the builder here there is no option to do this. Is this part of the java sdk or am I going to have to make http calls in order to do this
-
Space full message is not returned by API
Dropbox API v1, Dropbox SDK 1.6.3 (android) - If there is no space on Dropbox, SDK was returning an error code 507 Dropbox API v2, Dropbox SDK 2.0.1 (android) - If there is no space on Dropbox, Upload API fails with response parsing exception with no clear description that this is because of the space limit. Also I am…
-
Chrome Extension "Download to Dropbox"
I have a Chrome extension developed using Angular JS and High Charts. I need a functionality to be added to upload files to dropbox from this chrome based app. I have written a code to authorize users to dropbox using core api, however it is failing with following error. I have following questions : 1.) Can I connect to…
-
Webhook functionality implementation.
Hello, I want to implement Webhook functionality. I don't have server for my website right now. So created Webhook URI on other's server e.g " https://www.example.com/webhook_test_uri ". I created get & post method there. I verify the request by echoing value of challenge parameter & my URI get enabled. My OAuth2 redirect…
-
Unable to list linked devices
We want our app to be able to list linked devices without having access to files. We've granted the app the "Team auditing" permission type but when we try using the team_devices_list_team_devices() method we get a permissions error. Please advise, thank you!
-
Request to publish a subset of dropbox java library
I looked at the transition of the number of functions contained in the library of recent dropbox. In the following investigation, I created a sample application, bundled a library of dropbox in it, created a apk file using proguard, and examined it by D & D to android studio. v3.0.3 - 14,064 v3.0.4 - 24,764 v3.0.5 - 24,946…
-
Error Summaries
Hi, Is there any documentation available, for list of error codes and the sample error responses? This will be helpful to handle errors and Exception. Thanks in advance