-
Size of the deleted files.
How do I find out the size of deleted files? I use /2/files/list_folder with include_deleted=True, I can see the deleted items, but there is no size info.
-
Dropbox api conflicted copy
Hello there, I'm using Dropbox official Javascript SDK in my application. The thing is, I can have a case when two or more users try to edit the same file at the same time. For editing I use filesUpload method with { mode: 'overwrite' }. The first question is: will I receive the conflicted copy if the editing happens at…
-
Dropbox and files shared from a link
So. I have a file shared via an email link. The URL is of the "/scl/" type. Apparently, one can't download via API for this type of link. I can't see how one creates any other type of URL link, but that's not my question. Actually, it is, it's Q1. Q1/ How do I instruct third party how to create a share that I can sownload…
-
Why file Ids are prefixed with "id:" string?
I have seen that file ids in Dropbox is prefixed with some strings like "id:" or "ns:" or "dbid:". I am new to DB and just want to know the purpose of this? And best practices to handle these ids.
-
iOS Exception: "Dropbox client already authorized"
While developing my code for using the new Objective-C SDK, I am running on the Xcode emulator. The first time I tried OAuth, it worked and brought up the Dropbox login web page. NSLog verified that the OAuth result was success. The second time I ran it there was an exception thrown saying "A Dropbox client is already…
-
Display a pdf of a pdf
I can use 'filesGetPreview" to view a pdf of .csv, .doc, .ai etc but how do I actually get a pdf of a pdf?? The "filesGetThumbnail" only returns a tiny image of a pdf or image. Is there a better way to view a pdf? Or in other words, how is one supposed to view a file within a browser without downloading it locally? Thank…
-
"Dropbox-API-Arg": could not decode input as JSON
Error in call to API function "files/get_thumbnail": HTTP header "Dropbox-API-Arg": could not decode input as JSON here is code var folder_flag = 0;axios({ method: 'POST', url: 'https://api.dropboxapi.com/2/files/list_folder', headers: { Authorization: 'Beareraccess_token', 'Content-Type': 'application/json' }, data: {…
-
API v2 with PHP
Hello I'am trying to do a very simple thing with no result. I just try to use the V2 API with PHP cURL. Nb I a m very new on the subject... According to the documentation I expect to receive the list of the file from my dropbox. But I do not receive anything the var_dump result is false. Does anayone as an Idea? (I hide…
-
Dropbox multiple file upload API hanging at the end?
Hello, I am working on API integration on a website, we need to upload multiple files at once. I am not the programmer and have limited knowledge of the mather. I am working with a fourign company on developing this. I just want to check with you guys since I have a weird issue. When we select multiple files to upload, it…
-
Android - Save file URL using file chooser
I used the File Chooser in Android Studio because it was difficult for me to do the login and use the download methods. I used file choosed with direct link ans after receiving the uri I converted it to URL and download the file. I want to keep some URL in shared preferences to download the file in the future without…
-
Dropbox api Data loading slowly
I have developed an android app which uses Dropbox sdk. iam fetching my data on my loading screen on app, it worked fine when my data was small on my dropbox.. now i have purchased a dropbox and loaded GB's of audio files and images.. now it took 3 minutes to fetch data on my app.. i dont upload anything from my android…
-
How to capture the error message
I want to capture the error message so I can do different actions depending on the text. I can't figure out how to code this. Here's my code... if DropboxClientsManager.authorizedClient != nil { print("We have an authorized client. Now let's see if we can get the file attributes") // Check to see if Nvelopes.csv exists in…
-
Login page "Sign In" button not working
I have read through the readme file for SwiftyDropBox and followed all of the directions. The app compiles without error. When I run in the simulator and click the button I have setup to connect to the appropriate code to launch the auth workflow the page loads but no images are included. there are question marks in place…
-
Dropbox API v2 for Second Life
Update (01/14/2019): Finally back to trying to use this code. A resolution was seemingly made, but not fully implemented. I am able to access the API now, but I still cannot use file/download. I have detailed more of this in my latest post. Hello. I have happily been a user of yours for last several years, using the…
-
how can I use this in my android app [https://github.com/dropbox/dropbox-sdk-java]
Hey everyone, I am very new and trying to develop an app that will automatically connect to my dropbox account and dowload 10 or more pictures from a specified folder. I have seach all over the internet and could not find a step by step tutorial to help me perform this. I have found this github api, however I am totally…
-
JavaScript filesGetThumbnailBatch() returns success, no thumbnails. Anyone have example code?
I am using NodeJS and trying to get batches of thumbnails in groups of (up to) 25 using the API function filesGetThumbnailBatch(arg) I am getting a successful result and an array of responses, but the "thumbnail" value is an empty string. If I make a call for a single thumbnail using filesGetThumbnail(arg) I get back a…
-
Getting "invalid_access_token" after getting DropboxClientsManager.authorizedClient
I'm doing something wrong in the Auth flow for my iOS app, but after looking at the photo watch sample app, I can't figure out where I'm going wrong. The problem is, I always get an invalid_access_token when trying to access a file, even though I always get an authorized client., I have this in my AppDelegate:…
-
Feature request - deletion metadata and history
Would it be possible to add in DeletedMetadata the user that deleted the file and the deletion time? Also, would it be possible to get the deletion history? (maybe the files_list_revisions could include an include_deleted parameter and return DeletedMetadata entries for each deletion if include_deleted is true).
-
Download Entire Folder as ZIP
The Dropbox web interface allows for entire folders to be downloaded as zip files. How can we perform this same action through the API?
-
Getting raw http response using Python SDK
Hello All, I've been reading through Python SDK docs and looking at SDK source code and found that internally all Dropbox does is call request(*params). My use case is a little different where I need the raw JSON string in response. I found a few methods (i.e. request_jsob_object, request_json_string) which I guess return…
-
list_folder issues
Hey guys, bare with me... I'm new to this. so I'm trying to use the list_folder function. when I test my code I get an error of "Error in call to API function "files/list_folder": request body: could not decode input as JSON" can you point in the right direction so I can understand and learn what I'm doing wrong... thanks…
-
Capturing serverModified into a variable in Swift
I'm new to Swift, and this is my first iOS application. In fact, I'm fairly new to OO programming. My background is mainframe z/OS. So... I needed to capture serverModified date in a field. After much googling and trial and error, I finally made the code to parse it out of the MetaData. It works, but is there a slicker way…
-
Update Dropbox API's Newtonsoft.json to 11.0.0.0
Hello, we are using your Dropbox API 4.8.0 with Newtonsoft.Json 10.0.3. We would like to update Newtonsoft.Json to 11.0.2 to keep our other projects up to date, but the current Dropbox API doesn't support versions >= 11.0.0. Please provide your API with support for Newtonsoft.json 11.0.0. Thank you very much in advance.
-
I m not able to get of dropbox excel using http request
i want to get data of excel from http request https://content.dropboxapi.com/2/files/get_preview i m getting data in html.But in that is not giving proper data which is present ectually present in dropbox excell file can anyone tell me what is i am doing wrong. Is there any http request available by that we can get actual…
-
Best way to get a file's URL
I am making an iOS app that displays all of the images from a selected folder. To make caching the images easier and more efficient I'm using the SDWebImage Library. SDWebImage requires a URL and I'm currently using the getTemporaryLink function to get a link for each image in the folder. Is there a better way to get a…
-
From where i can get image from user dropbox and display on browser
which api should i use to get image stored in user's dropbox . i tried using /download using php curl -X POST https://content.dropboxapi.com/2/files/download \ --header "Authorization: Bearer " \ --header "Dropbox-API-Arg: {\"path\": \"/Homework/math/Prime_Numbers.txt\"} $result=$processDB->getData($sql); $api_url =…
-
List_folder does not return shared Bussines folders
Hi, User has Business dropbox account, and when accessing list_folder with his token we only get folders that are under his Personal Account. The other 2 team business folders are not being returned. Note: We are not using Dropbox Business API. When User access Drobox it has 3 folders on UI with the following structure: 1.…
-
Dropbox API, getting error "recipient_not_verified".
Hi, Trying to delete an account using API, provided transfer_admin_email_id and transfer_dest_email_id in the body, both has same email value. I am getting the "recipient_not_verified" error even though the email i am providing in the above field is verified. Is there anything i am missing here?
-
Android - Unable to save the login in my android app
Hi, I am able to log the user in and retrieve the access token the first time and store it using SharedPreferences. However, I want the users to log in automatically the next time they open my app (retrieve the access token silently). I can always retrieve the access token stored in the app's local storage…
-
Can't stream my videos beacause of cors
Hello, I tried to stream my videos from dropbox in my site with shared with javascript to create blob source link but there is an issue with cors, the code <video id="my-video" class="video-js" controls preload="metadata" width="640" height="264" data-setup="{}"> </video> <script type="text/javascript"> var xhr = new…