-
How to use OAuth2 authentication APIs
I am writing a UWP app on Windows 10 with the .NET Dropbox API and want to allow users to login to their Dropbox. Note this is not a web app and I don't have a browser control. var authUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, appKey, "http://localhost", appSecret, true, false); var result = await…
-
Internal server error 500 with Upload sesssion start JS SDK
Getting most of the time this error when trying to upload large files. Using JavaScript SDK for requests. I got same error also on filesUploadSessionFinish call. status: 500, error: 'Error: Internal Server Error', Part of my code return fs.readFileAsync(process.cwd() + '/__temp' +…
-
Access Token is invalid in android
I am creating a OAuth2AccessToken and storing it in shared preferences. The session is successful till the app is closed. It is invalid after I open the app again. This is the code I am using to create a new session using the stored access token. String dropboxaccesstoken =…
-
task async convert to void
does anyone know a different method not using task async i want to use void public async Task Download(string remoteFilePath, string localFilePath) { DropboxClient client2 = new DropboxClient("token"); remoteFilePath = "img2.jpg"; localFilePath = Environment.GetFolderPath(Environment.SpecialFolder.Personal); using (var…
-
Can't Download File From Dropbox downloadData With Objective-C
Hello, I am trying to use the following code to download data from Dropbox using the Vs2 API: NSString *filePath = @/joelLockFolderV2_1489675832.409768.tsl"; [[client.filesRoutes downloadData:filePath] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData…
-
Overwrite upload
In Dropbox v2 sdk, the need to cover the replacement of existing documents, how to achieve? Similar to V1's ChunkedUploader.finish (path, parentRev). I use the UploadSessionFinishUploader.uploadAndFinish upload mode, can give me some help? Thank you!
-
uploading file to dropbox unauthorized access denied
i get this error System.UnauthorizedAccessException: Access to the path '/data/data/AndroidMaster.AndroidMaster/files' is denied. public void FileUploadToDropbox() { string fileSource = Environment.GetFolderPath(Environment.SpecialFolder.Personal); using (var dbx = new DropboxClient(token")) using (var fs = new…
-
Custom TransportClient with programatic auth flow
So, you must start with your AppDelegate calling this: setupWithAppKey() in order to later initiate the auth flow and retrieve an AccessToken, etc. The SDK will remember your auth info next time and provide an `authorizedClient` – all good. Now, I want to use a custom `DropboxTransportClient` and the only point at which…
-
Downloading file with Swiftydropbox
I have successfully installed Swiftydropbox and my app successfully registers with Dropbox. But I don't understand what to do now if I want to download from a Dropbox. My goal is to download a text file into a URL and then open that URL in a tableview. I think where I'm having trouble understanding the docs is this line:…
-
API v2 - Longpoll Objective C
Hello, I want a good example of a using ListFolderLongpoll, I am getting cursor errors and find little documentation as to how to receive changes notification. I am using ObjC SDK V2.
-
Downloading File to Another Server Instead of Locally
I see that the download function has an overload that specifies a destination. I'd like to download a file dropbox to a webserver I've setup without saving it locally. I'm a little confused by the closure it's defined as ((URL, HTTPURLResponse) -> URL). I couldn't find any documentation as to what that argument should be.…
-
Api error status 409
Hi everyone, I'm trying to upload a file using the javascript sdk, using node js. But when i use the append method called filesUploadSessionAppendV2 is giving me the following error : { [Error: cannot POST /2/files/upload_session/append_v2 (409)] status: 409, text: '{"error_summary": "closed/", "error": {".tag":…
-
Problem Dropbox api 2
hi all , I have a problem in the dropbox api 2 i create apps and i choose file and given me url direct after this Stayed with me to 1 day and when entered him given me error this url I face in him problem https://dl.dropboxusercontent.com/1/view/16hs9nu0z84uj5e/playerEnd/HWID.txt i want take url direct to Even link it in…
-
File Upload w/ Rails 4
I'm trying to upload a file via API v2 from a HTML form, the file gets uploaded to Dropbox but its somehow corrupted, even the file size is correct so the file_contents are going thorugh... I've tested this with Postman, and everything works... Thanks
-
ListerFolder continuation limit
I would like to know how many files you need in a folder before the API decides that it needs to break up the return from listFolder so that further call(s) to listFolderContinue are required. I understand that this limit may change without warning and am not looking for an exact answer, but a ballpark or rough figure…
-
Can DropIn use business app key?
Whenever I try to initialize DropBox Chooser or Saver with app key that belongs to my bussines app, I get {"error": "Not a Drop-in app"} How to solve this?
-
Using implicit grant on frontend web app, where to safely store access code?
Sorry I'm still quite new to web development, but it seems like I wouldn't be able to save the access code into an httponly cookie. I've read that Angular has a way of sending cookies for requests that are only coming from my domain, which would deal with CSRF while the httponly deals with XSS.…
-
No vincula con producto woocommerce
Hola , Estoy creando una tienda de venta de vídeo turoriales y para ello estoy utilizando woocommerce y el pluggin de dropbox. Cuando creo la API una vez que ya he vinculado con el dominio ( he indicado la url en chooser/Saver domains) me da este error en el producto {"error": "Origin does not match any app domain"}…
-
download file API stopped working with 400 error
I use download file API , and i got a token , but it's return 400 bea request error "Error in call to API function "files/download": Must provide HTTP header "Authorization" or URL parameter "authorization" How do I fix it ? this is my code ( angular2 ) downloadFile(fileid){ let headers = new Headers();…
-
include_has_explicit_shared_members returns false
Hi, I was wondering if there was any documentation around include_has_explicit_shared_members? Should this return true for the following example I have a shared folder with a number of files. If I share the file with another user that is not included on the orginal share. Should this return true indicating I need to make a…
-
Android app "Dropbox" want added downloaded files through Android Dropbox API
I use Android API v2 for downloading folder files: *** return mDbxClient.files().listFolder(params[0]); *** *** OutputStream outputStream = new FileOutputStream(file); mDbxClient.files().download(metadata.getPathLower(), metadata.getRev()) .download(outputStream); *** Files are downloading into standarr folder Downloads at…
-
Sharing not possible
We are using PHP on our Webserver. From this site we need to move files to private PC (For translation) and back again. It is working. But I can only sent a link to my translator from my dropbox acount. I would prefer to be able to share the folders with the translator. How can I do that. The option share is NOT visual for…
-
Direct App Auth (iOS) - what is dbapi-8-emm for?
I support direct app auth in my iOS app - by attempting to launch the Dropbox app using the dbapi-2:// URI. This all works fine. In the documentation https://github.com/dropbox/dropbox-sdk-obj-c#configure-your-project it states that I must also consider dbapi-8-emm:// That doesn't seem to do anything on my iOS setup.…
-
API v2 how to test reset (with list_folder)
Just porting my app to use v2 API. Previously I would use the /delta feature to keep a local cache of file/folder names etc. Now I'm using the /list_folder endpoint and all is working ok. One thing I want to test is when the server returns a 'reset' error to indicate that I must regenerate my cache. Anyone know how to…
-
API V2 oauth 1.0
Dear all, is oauth 1.0 still use in the future? That's means use API V2 and use oauth 1.0 through HTTP, TKS!
-
APIV1 ListDirectory lowercase issue
Trying to download files in folder, folder names Sometimes api returns normal character case, sometimes all are in lowercase: [.tag] => file [name] => 50.jpg [path_lower] => /media/ready/22 morpeth road brampton, manny rodrigues/raw/50.jpg [path_display] => /media/ready/22 morpeth road brampton, manny rodrigues/raw/50.jpg…
-
Can i list all files using secondary account.
Hi I had created a dropbox account with my company email address and also created core API with the same email. After integrating core API i just tested in another browser and authenticate with my dropbox account associated with personal email. But i can't view files with dropbox account associate with company email. I…
-
Login on Dropbox and Upload files from Android
Hello team, I am making a university project, make an app for android that required loguin on any account of Dropbox and upload a .csv file, among other things, but i dont know how to do it. You can explain mi please? I`m using Andoid Studio and program for Android 6 version Thanks, a hug.
-
mulitple files upload doesnt work
I am using the java sdk to upload files on dropbox. Since i want to upload a bunch of them, i tried the chunck upload method. This is what i got. public MultipleUpload addFile(File file,String path) throws DbxApiException, DbxException, IOException { in = new FileInputStream(file); sessionId =…
-
Any way to add files to a folder shared via link?
It seems that there's no way to share a link to a folder such that an anonymous user with that link can then add files to the folder, is that right? This seems like a pretty severe limitation. A "drop box" is a place for other people to drop files to you. For example, a drop box on macOS has, for many years, been a…