-
Machine à Machine
Bonjour à tous, Je débarque sur DropBox avec un projet pas simple. Avant de me lancer, il me faut savoir si c'est possible et documenté. J'ai un serveur sous Windows 2003, qui génère 1 fois par jour un fichier Crypté AES 256. Il enverra automatiquement le fichier sur DropBox (je ne sais pas encore où). Une application…
-
javascript single page oauth
I have a working application using the python sdk that has a flask server as a backend. And that works I am good with the oauth flow and the application does what it is supposed to do. I started playing with Javascript sdk looking for a way to do oauth without a backing server (aka single page app or basically all in the…
-
Updated API v1 Deprecation Timeline
We've extended the Dropbox API v1 deprecation timeline. API v1 will be available until September 28th, 2017. More information is available on the blog: https://blogs.dropbox.com/developers/2017/06/updated-api-v1-deprecation-timeline/
-
How to get app and account details via app key and app secret?
Hi, I have app key and app secret but I have forgotten from which account I have created an app. Is there any way from which I can retrieve app details and user account details via app key and app secret? Thank You.
-
Can app key be published?
In APIv1, there was an app secret and app key, but in APIv2 I only seem to need the app key. Is the app key something that needs to be kept secret? Can I safely publish the app key in the open source repository for my application?
-
How to implement loadedFile method in API V2
Here is my code , how to convert this into API v2 compitable methods. -(void)prepareForRecoverDB{ if(![Utility isNetworkAvailable]) { [Utility showAlertViewWithTitle:@Error! Message:@Unable to connect to the host. Please check your network connection. CancelTitle:@OK]; return; } [self showLoadingView]; DBMetadata *mData =…
-
Python API V2 Metadata of root folder
Hello, I see here that the previous version of the API had a way to check for the metadata of the root folder, but it seems that for this version of the API it is not supported. Is there anyway in particular that I could access that in the root folder? Thank you.
-
API Migration after June
Can users migrate from v1 to v2 after June 28?
-
Does changing dropbox app permission take effect instantly?
Hi, My app has Full App access and I am making a call to 'sharing/ad d_file_member' using Dropbox core API. After deleting and creating my app with same name while experimenting with App Permissions, I am now getting this error message when accessing this end point. It was working the first time. ( 1. I created an app with…
-
HTTP Upload returns response code 201, yet no file created
Hi, We're experiencing some strange results trying to upload in a pre production environment. When uploading using the url https://content.dropboxapi.com/2/files/upload and the parameters path and mode (set to overwrite). This call works, by returning a status code of 200, in our development environment/domain (with our…
-
Dropbox API for search in PHP
Hi, I'm trying to search for a file uploaded in my Dropbox APP using the following code: $data = json_encode(array("path" => "/", "query" => $this->filename, "mode" => "filename")); $url = 'https://api.dropboxapi.com/2/files/search'; $headers = array('Authorization: Bearer '.$GLOBALS['access_token'], 'data: '.$data,…
-
listFolder with includeMediaInfo not listing all available files
We have a problem while integrating the v2 iOS API on our photography App. If we call listFolder for the root folder with includeMediaInfo set to @yes, fewer results are returned (e.g. recently batch uploaded photos are not included in the response). If we set includeMediaInfo:@NO, all files are listed.
-
How to Upload Files Asynchronously
I'm running into trouble uploading too many files at once. How do I upload asynchronously. Or even just a hint for which direction to look for answers. What I'm doing is saving the same under several different names contained in the fileNumberArray. for number in fileNumberArray { let request = client?.files.upload(path:…
-
API V2 Java missing source files
Hello. Recently i was trying to install new API V2 to my project, but faced a problem. I downloaded source files from https://github.com/dropbox/dropbox-sdk-java, but when i added sources from dropbox-sdk-java-master\src\main\java Compiler failed to compile due to missing files. For example - in file…
-
DBClientsManager authorizeFromController after unlinkAndResetClients
I've found that calling DBClientsManager authorizeFromController after unlinkAndResetClients when using browser-based authentication results in an empty browser screen. I don't think I'm doing anything unusual, just basically the following [DBClientsManager unlinkAndResetClients]; and some time later [DBClientsManager…
-
Get user's account info
Hi! I need help. How i can get linked user's dropbox account info (name/email) in Objective-c by API v2 ? In v1 i did this by [self.restClient loadAccountInfo]; in method: - (void)restClient:(DBRestClient*)client loadedAccountInfo:(DBAccountInfo*)info Thanks!
-
Api V1 to V2 migration difficulties
I'm the maintainer for an app with dropbox API v1 integration with about 4000 daily requests to DropBox (has been working well for nearly 2 years and I've been hands free on it). I realise I've got to support V2 in the impending future, and I've been attempting to do just that but I'm having a great deal of trouble getting…
-
Dropbox V2 AccessToken length
Hi, Is there a way to tell that an access token is Dropbox V2 format compliant? Perhaps by looking at the length of the accessToken or if the tokenUid is a number? Or is there a better way? Reason we ask, once we have updated the information in our database we would want to verify later if it is already migrated or not.…
-
TaskCanceledException in call ListFolderAsync("/Image/") with app xamarin portable
Code: var list = await client.Files.ListFolderAsync("/Image/"); Error: {System.Threading.Tasks.TaskCanceledException: A task was canceled. at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00031] in <1c7d529d87ec4bdcbde02e9494f3b5ae>:0 at…
-
File name written with Multi-byte code
At first, this writing contains multi-byte charactors. So, you might unable to read some charactors correctly. Let's see. I'm trying to get the file-list from my Dropbox using Dropbox API. The endpoint that I use is ..... https://api.dropboxapi.com/2/files/list_folder And there are two files in my Dropbox. They are ....…
-
Problems when migrating from API v1 to v2
When migrating my Objective C project for iOS from Dropbox API v1 to v2 I am changing my source code, replacing old #import <DropboxSDK/DropboxSDK.h> to new #import <ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h> But when compiling the project I get an error: 'ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file…
-
Javascript sdk
{"error": "Origin does not match any app domain"} i get above error. but i added my url in redirect uri . still i get this error. if i trying to give in my url in chooser/saver domains. i get this error the domain name you entered is incorrect
-
DBRpcTask response block not called.
I have a method that calls [client.filesRoutes createFolder:folderPath]. In its response block a call is made to [client.filesRoutes search:parentPath query:filename]. In its response block another call is made to [client.filesRoutes createFolder:folderPath] (checking for another folder) and so forth recuresively until…
-
Custom properties
Hi, I'm currently developing an application that uses .Net API. Can someone help me create a custom Property Group that i need to tie up with the file that i've uploaded? Cheers-JR
-
Dropbox V2 Obj-C Installation Query
I followed the instructions on github to 'Manually add subproject' into Xcode with the help of Carthage. This all appears to work fine, but I am confused as to where it is picking the Dropbox framework up from. When a build is done of my app, this seems to build the Dropbox framework as well. However when performing the…
-
New Files/Folder are not fetching(created after 9th of June)
Hello Can anyone reply me asap. I am using dropbox api v2. It was working fine previously but after 9th of june any file/folder that I am creating/uploading on dropbox are not fetching by api.I am using listfolder and listfolder continue api calls. using property "include_media_info:true". It's been two days no new…
-
downloading file with binary data. Not receiving entire contents of file.
javascript, running in the browser. using XMLHttpRequest and the content.dropboxapi.com/2/files/download endpoint to download a zip file from my dropbox folder. I am receiving the file. But the last 100 or so bytes are missing. Why am I not receiving the entire contents of the file? I get the size of the file from the…
-
How do I make apiError as a string
Hello, I am new in here I try to develop a script that can auto email a Dropbox link to someone I am using .sharing_create_shared_link_with_settings to determine does the file had been shared or not However, now I encounter a new python exception which is "not_found", my situation is, now I have 2 python…
-
How to clearStoredAccessToken for tokens that fail migration?
I am using DBClientsManager::checkAndPerformV1TokenMigration to migrate myDropbox Objective-C API v1 access tokens toDropbox Objective-C API v2. As a part of the error handling if a token fails to migrate, I am guessing I should be clearing the stored access token by calling DBOAuthManager::clearStoredAccessToken…
-
Specify overwrite option while uploading file using javascript sdk
I am using following code snippet for uploading a file to Dropbox dbx.filesUpload({path:"/"+file.name, contents:content}) .then(function(response) { console.log(response); }) .catch(function(error) { console.error(error); }); This is working as intended but throwing a path conflict error second time onward because the file…