-
How to Implement an exhaustive notification system with API V2
I am tasked with building an email notification system for my company which will alert our employees whenever a file is changed, moved, deleted, created, etc. I have properly set up webhooks with the Business API, so whenever somebody makes a change I get a list of all user id's relevant to that folder. From that ID I call…
-
Dropbox API2 Swift Examples
Hello, Been a while since I've lookd/worked with the dropbox API. I was discouraged the last time I dedicate more than a year on perfecting an app for Datastore API. (anyway).. I've looked at the v2 API. I wanted to look at a worthy example that shows some capabilities of api2. Mostly: I'm concerned about efficiency of 1.…
-
BUG - The remote server returned an error: (460) Restricted.
Hi.. I am using DropBox to Update My Application. I have created a share link of file "CurrentVersion.txt". My Code reads the text from the file and check against the current version. And if there is an new version , the Latest.exe is downloaded. What i have noticed is, if the "CurrentVersion.txt" Contains only "1.0.0.0"…
-
2FA and Password Control API
Hello, I'm using Dropbox Business and I was wondering why can't I find API for retrieving 2FA policy and Password Control. Tried to look in the documentation and in Google but I couldn't find anything. Help will be greatly appreciated.
-
Recently modified Direcories or files
How can I know if a directory or files has been modify before download it.
-
Saver timeout on some files, no intermediate progress
I just implemented dropbox Saver on our site, and I'm having some trouble. I tested with two files: The first file is about 12MB and downloads from the provided URL to the dropbox account successfully in about 5 seconds. The second file is about 20MB and times out after 5 minutes. I manually tested both URLs (in incognito…
-
Unexpected character encountered while parsing value: <.Path
I have a VB.NET application that has been successfully using the .NET API to get a list of available files and download any that are missing in our local data share. It has been running once a day, without any issues, for several weeks. This morning, it is intermitently failing. I've gotten it to work twice, but on most…
-
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.