-
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…
-
I can't download my files with PHP Core API
I have a Dropbox basic account, and these are my download codes. But I cant download my files with core API. Please help me . require_once "lib/Dropbox/autoload.php"; use \Dropbox as dbx; $appInfo = dbx\AppInfo::loadFromJsonFile("app-info.json"); $webAuth = new dbx\WebAuthNoRedirect($appInfo, "PHP-Example/1.0");…
-
Certificate Issue using put_file?
Hi guys, we have an app that was working fine yesterday, but now when we use the client.put_file method we're getting a certificate verification error. Stack trace below -- any ideas please? I've rechecked our app key and secret and all looks correct. As i say, everything was fine yesterday. What a difference a day…
-
Dropbox login fails in android webview
I am using dropbox-android-sdk-1.6.2.jar but after successful oauth login, webview is showing "Webpage not available" error page. I have observed this behaviour on android OS 4.0.3, 4.3, 5.0.1, 6.0. Please refer this for screenshot of webview. Thanks
-
upload/download only differences
Hello, I'm working in a desktop application, and I'm working directly with API calls (not using an SDK). I have most of the RPC endpoints already implemented and working, and now started to work with the upload and download endpoints. The problem arises when I find out that Dropbox in the Synch desktop utility seems to use…
-
ListFolderContinueAsync request throw an error
Hello, I have use following code to listen changes but it throws an error like "Invalid Cursor", but using "dropbox-api-v2-explorer" it works perfectly. DropboxClient dbx = new DropboxClient("MyAccessToken"); ListFolderContinueArg lfg = new…
-
How To Tell File Being Uploaded From Progress Block
Is there any way to know what file is being worked on when the progress block is called? See the working code below - I'd like to be able to put an update on the screen so that the user knows which file is being uploaded. I know that it could be uploading several files synchronously - so this is why I'd like to know which…
-
X-Dropbox-Signature not matching
I am currently testing the webhook and am successfully receiving change notifications, however, the X-Dropbox-Signature doesn't match my calculation during message validation. To find a solution I have tried comparing my results to the results using the python code example in the Webhooks tutorial as well as the java…