-
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…
-
Downloading photoshop/sketch files
Hey, I have a problem downloading complex files (photoshop/sketch) using dropbox api and a custom download function. here is my code. https://jsfiddle.net/m5aq84gL/ This code works for simple files like svg or text but the photoshop and sketch file appear corrupted.
-
No error message with line feed in json header
Hello! During using API I found weird behaviour of dropbox: when sending the new upload request (v2), if there is a 0xA (line feed) character in the end of Dropbox-API-Arg header, server will send correct metadata as response, but the file content from request will not be processed. The size field in metadata will be…
-
file upload from html form via ajax
Hi, I want to upload selected files from my html multi form via ajax to my dropbox Folders! I can upload files from my local Storage from my ressource folder, but I need to upload the files I selected in my HTML Form. I send a FormData via Ajax and then get for each File a HttpServerRequest( a vertx framework object). I…
-
Bitcode support for iOS Chooser API
The iOS Chooser Framework doesn't have bitcode, which prevents me from turning it on in my project. Bitcode is optional so I can work around this by disabling bitcode in my own app. However, it would be nice to keep it on. Can we please get a new version of the framework built with bitcode? I'm also curious about the new…
-
Dropbox API Explorer • list_folder/continue
Hello Can anyone reply me asap. I am using dropbox api v2 to fetch dropbox files changes. Previously it was working fine but from 8th of June whatever I create/upload on dropbox api is not fetching. Can anyone help me ?
-
Problems with DbxAuthFinish in Java DropBox V 3.0.3
Hello, when i try to connect to the Java App i've created for the first time using no redirect requesting i get a fatal error just on the DbxAuthFinish, giving me a java.lang.ExceptionInitializerError. I checked out many times but my code is still the same as the example found in the API tutorials. Here is my code: String…
-
/2/files/list_folder entries list question
Greetings, The /2/files/list_folder docs says about `has_more` “If true, then there are more entries available. Pass the cursor to list_folder/continue to retrieve the rest.” * What is the max that /list_folder will return? * Is there/can we have a way to indicate that we want all of them (so that we can avoid the need to…
-
Non-image thumbnails
Hello, The /get_thumbnail document currently says “This method currently supports files with the following file extensions: jpg, jpeg, png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail.” Is there (or can we have) a way to get (being able to set if dropbox doesn't want…
-
Dropbox V2, shared folders not listed?
When I query a folder, shared folders do not appear in the list. How do I display them? DBUserClient *client = [DBClientsManager authorizedClient]; if (client != nil) { [[client.filesRoutes listFolder:dbPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if…
-
-downloadUrl seems much slower than DBRestClient's loadFile:dropboxPath
It seems that the iOS Objective-C framework support for the Dropbox API v2 is much slower at downloading large numbers (200+) of files than the original DBRestClient method. For example in my iOS app... v1 used this method... [restClient loadFile:dropboxPath intoPath:localPath]; which would then do a callback to..,…
-
new files not returned by /files/list_folder
Are there currently problems with the API? My App does not return any newly created files/folders with "/files/list_folder" Files that have been in dropbox for a while are listed, but if I add a new file it does not appear in the result. the '/files/search' endpoint seems to work fine. All files, new and old are returned.
-
Core API v2 Android authentication flow
The android sample https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android opens browser for oauth. It uses url with api=1 and begin with www.dropbox.com/1/... Question: should this be used for V2 api? because in https://www.dropbox.com/developers/reference/migration-guide the endpoint of V2 has not prefix…
-
New license for dropbox-sdk-dotnet
In order to integrate Dropbox within our UWP app we need to add the full licence of the .Net SDK: https://github.com/dropbox/dropbox-sdk-dotnet Where can I find it? Is it the same as the iOS one ? https://github.com/dropbox/SwiftyDropbox/blob/master/LICENSE