-
How to get shared link using Objective-C
Hello , My dropbox app already created & so many data uploaded in app - Now i want download file from shared link so give me suggestion for how to get shared link. And, i have also every files path stating from my app folder Ex. AppFolder/SomeFolder/FileName.png
-
Cursor max size
Hello, My plugin is like proxy for the dropbox api, and I should return some stuff. In some cases I have to return the cursor (for example when i list a folder), and sometimes it is too big. can I set the max size of it or reduce it? Thank you
-
Error Listing Contents of a folder
Hi , I am making an api call to https://api.dropboxapi.com/2/files/list_folder to list the contents of a folder named "images" . here is my code $res = $client->request('POST', 'https://api.dropboxapi.com/2/files/list_folder', ['headers'=>['Authorization'=> 'Bearer '.$access_token,"Content-Type"=>…
-
how to get Responce_type in client side?
Hi Team Thanks in advance .i am working on mvc application and got some requirtment to attach a file from drop box.i m useing drop box api where i need to redirect page to "https://www.dropbox.com/oauth2/authorize? client_id=___&redirect_uri=__/Auth&response_type=code" to this url for authorization and as retrun i get a…
-
How to get event log from dropbox using C# for team account
We are writing an application and need to check what events were in Dropbox after our app last checked the system. We are using V2 API of Dropbox.
-
Any change in dropbox folder triggers Webhook twice
Hi Team, We have configured Webhook in a dropbox app to listen to any changes on a folder which has two sub folders with variation of files in it. Whenever any file is uploaded to these folders, our service is getting two webhook calls per action. This is causing duplication in our application. We have kept the cursor file…
-
Automating Sending Email With Link to client files..
My business needs to email our clients and within the email provide a read only link to their file in Dropbox. I know the manual way to do the shared link, but we need a way to automate the process. The way I want to automate it, would require a naming convention for the DropBox file that my code could know in advance. But…
-
File Requests
We'd like to create a file request that we use for multiple projects from multiple clients. Each time someone uploads files, we'd like Dropbox to create a folder that's titled with the customers email address, and then add any files they upload to it. As it is now, files show up, but they aren't labled or organized and…
-
When creating DropboxClient I'm getting an unable to find System.Net.Http, Version=4.0.0.0 assembly
Working on upgrading a 8.1 winphone app to API v2 and we get an exception about not finding/loading the System.Net.Http assembly whenever the constructor for the DropboxClient is called. Tried installing the System.Net.Http NuGet package and it says none of my project types apply. Tried installing the Microsoft.Net.Http…
-
Objective C build of 3.4.0 failing when using carthage
I am having problems getting the SDK building using carthage. A fresh build using the Cartfile ... # ObjectiveDropboxOfficial github "https://github.com/dropbox/dropbox-sdk-obj-c" == 3.4.0 fails with the error ... Grahams-iMac:tmp ghaley$ carthage update --platform iOS *** Fetching dropbox-sdk-obj-c *** Checking out…
-
Binary to image
filesDownload or filesGetThumbnail returns object with fileBinary property. I can't in any way I tried convert that data to image. Most of the time I get this exception DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range. Unless I do this ...…
-
PHP file download returns page not found
using cURL in PHP to call the /files/download api. Dropbox returns "Error (4xx) We can't find the page you're looking for." How to troubleshoot? I think I am using the API correctly. function getTextFile( $token ) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://content.dropboxapi.com/2/files/download");…
-
Is there a public token for demo code?
Does dropbox have a publicly accessible playground? When I post code to illustrate a problem I am having I would like to post code that others can run and get the same results I get. But I can't do that because I need to obscure my access token. thanks,
-
/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…