-
Switch from one account to another java SDK V2 ?
Hello, Is there a way to switch from one account to another without revoking the accessToken. Since I migrated to V2 I can not manage several accounts with my app. I always come back to the same account after: //previously DbxClientV2 created dropBoxService = null; //previously String accessToken created dropboxAccessToken…
-
Upload progress Nodejs API
Hello, I am using your API to upload different kind of file through nodeJs. I saw a lot of people explaining the API currently do not support progress bars and monitoring stuff so I've tried to create a workaround. I've implemented this method : monitorTransfer(dbx, fileName, totalSize) { console.log('monitoring') if…
-
Upgrade from Dropbox API V1 to V2
I have a phonegap application which has a plugin added to provide the Dropbox Functionality https://github.com/rossmartin/phonegap-dropbox-sync-android. As this plugin uses the API V1 which is going to deprecated on 28 june 2017. How can I upgrade from API V1 to V2.? Do I need to change the enire functionality or is there…
-
Handling renamed folders in list_folder / list_folder_continue
Hi, our users can choose specific folders that they want to synchronize from Dropbox to our app*. We store the current list_folder/list_folder_continue cursor in our database, so we only get changed files. This is working fine, as long as the "subscribed" folders are never moved/renamed. If a user does that, the…
-
.Net SDK on UWP download stream sends empty buffers on read
Hi Dropbox dev community! We're having a bit of a problem with the .Net SDK on our UWP app : we're using response.GetContentAsStreamAsync() after getting the path of a file on a dropbox account, for progression measurement and having it non blocking for our UI (context : we're on a Hololens inside a Unity app). We used to…
-
Regarding API V1 deprecation
Hi , I have already developed an APP with Dropbox V1 Apis. I am in the progress of migrating the same to V2. It is announced that API V1 will be eprecated by June 28. Will the APIs be working any further after this or the users will be thrown error? Also I am using Dropbox Client jar version 1.8.
-
Is API v1 still being turned off 28 June 2017?
I know that a cutoff date of 28 June 2017 for API v1 is what is stated on your Developer Blog here... https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/ But, it seems as though there are some problems with the current version of the API v2 Objective-C SDK, for example the in ability to cancel requests...…
-
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…