-
Get image url to show in my app
I'm creating ASP.NET app where I have to show images from Dropbox share. Downloading all files is very long, because there are 2000 files. What can you suggest? Thanks
-
Dropbox display mobile issue
Hello I am launching dropbox from my app where user can select a file. This is the URL with my account masked,,…
-
API calls drop in Analytics
Hey guys, we are experiencing droping numbers of API calls in the Analytics section of our App. It is very odd that at some days the number of calls is exactly 409 (three days in the past week). Is this some kind of statistical error or are we hitting some API limits? Your help would be very much apprectiated! Thanks in…
-
Python SDK: How to dowload files with wildcard in filename?
Hi, is there a way to download a file with a random number in the filename? Something like metadata = dbx.files_download_to_file(downfile, '/%s*' % testfile) All the files a in the following format knownstring--randomnumber.txt
-
URLs generated with files_get_temporary_link are not parsed correctly by some applications
Hi I'm using files_get_temporary_link to generate a download URL for a file (active for 4 hrs). The link itself appears to lack the filenam. It just ends with long cryptic number. Some browsers do not interpret this URL correctly and save the downloaded files with strange looking/unfriendly names. For example a temp link…
-
SwiftyDropbox - how to catch improperly formatted path
If I make a call, (e.g. using listFolder), and I pass in an invalid path argument, (e.g. no leading slash), I get the following error: precondition failed: "Does not exist must match pattern "\A(?:(/(.|[\r\n])*)?|id:.*|(ns:[0-9]+(/.*)?))\z": I understand why the error occurs, but the error seems to occur, before the call…
-
Uploading large files using chunks
Hello: I am using this Python code to upload a large zip file (2-4 GB). I am trying to upload the file in chunks, however I am getting a "dropbox.exceptions.ApiError('some_random_numbers', UploadSessionLookupError(u'incorrect_offset', UploadSessionOffsetError(correct_offset=540))) Here is my code that is uploading the zip…
-
command-line download app
I am trying to build an App to let other people (even non-Dropbox users) easily download files from a specific folder in my Dropbox. The App only needs to have read-only access to such folder. Based on the examples, I built a very simple command-line download app. The app works just fine but I don't want to distribute it…
-
SwiftyDropbox listfolder result for pathDisplay showing results in small caps
Hi, Was trying to do a listing of files and folders in a path /My Pictures. But I noticed that the result returned are in small caps if the return value is for a file will be of small caps but the return value for a folder will be of original case. Am I using the wrong function to get the folder and files path as it is not…
-
File uploading in java-sdk-3.05
I'm getting below error while trying to upload a text file with java-sdk-3.0.5 APIv2 {".tag":"path","reason":{".tag":"conflict","conflict":"folder"},"upload_session_id":"AAAAAAAAwZP1-UAh160IBQ"}
-
how to port getFileStream to V2
Hi there, When running my Android app I now get the error message that v1 is depricated when executing getFileStream. Error: "DropboxServerException (nginx): 400 Bad Request (v1_retired)" Unfortunetely I can not get my head around a possible migration or fix. I do not seem to use any of the things mentioned in the…
-
permanently delete file java api v2
How do you use permanentlyDelete in java api v2? thanks
-
SwiftyDropbox, routeError not being generated
I'm just getting started with SwiftyDropbox, and am trying to get a better handle on Error Handling. I'm making a call to the /list_folder route, using dbClient.files.listFolder. If I put in a valid value for path, it all works great, but in order to test out the error hanlding I put invalid path (i.e. a path that doesn't…
-
OAuth2 one token for differet interfaces
Hello, with APIv1 I have build an App wich runs in java on different machines. The App is linked with a speacial dropbox folder so that the app hase the same file basis on every machine. How could I build this with the APIv2 without copy the token everytime on a new machine? Now I have only one token to access my dropbox.…
-
Dropbox en Moodle 3.0
Hola. Soy un usuario administrador de un sitio web, que utiliza la plataforma moodle desde hace años. Hasta ahora el repositorio dropbox de moodle ha funcionado correctamente con la cuenta de cada usuario. Sé que la Api v1 ha dejado de funcionar en septiembre de 2017, pero ¿hay forma de seguir funcionando con este…
-
Swift SDK macOS auth in own WebView
Hi there! I use the SwiftyDropbox SDK. My App was rejected, because the auth flow opens the safari browser. I was requested to use my own Safari View Controller to display the login dialog. As i understand the SDK, this is not possible as the SDK opens the default browser itself. Is there a way to use an own window? Should…
-
list_folders and list_mountable_folders Returns Old and Deleted folders
Hi, I have 42 folders in my Web Dropbox. 43 if you count the deleted folder. When I use either /list_folders or /list_mountable_folders I get 88 folders returned in the JSON string. The other 46 (more than I actually have) are for folders I may have been involved in a share, may have created for testing, probably deleted…
-
iOS users commonly experiencing API error with error code "-11004"
Hello, We have a problem with our iOS app, which is using the built-in iOS 7 (and above) dropbox app extension to import dropbox files into the app. Randomly many users get the following (which is a error relayed from the dropbox API): "The operation couldn't be completed. (dropbox.com error -11004.)" Any ideas if the…
-
list_folder/continue with an old cursor
What are the rules regarding cursors for use with list_folder/continue? As a concrete case, say that I do the following sequence of calls: 1. list_folder => obtaining in response batch "a" of entries and cursor "A" 2. list_folder/continue, supplying cursor "A", and obtaining in response batch "b" of entries and cursor "B"…
-
java.lang.IllegalArgumentException: String 'path' does not match pattern
I just download the dropbox API and integrate into my android code, but it shows error that the path is not match and I don't know where to fix it. FATAL EXCEPTION: AsyncTask #2 Process: com.example.inspiron.smartdoorapp2, PID: 16439 java.lang.RuntimeException: An error occurred while executing doInBackground() at…
-
Android app fails authentication if Dropbox app isn't installed...
Dropbox API/SDK 3.0.5 Android target 19 After verifying there is no saved access token, I'm kicking off the authentication flow with: Auth.startOAuth2Authentication(getApplicationContext(), getString(R.string.app_key)); And then I retrieve/check the access token in the onResume() of my activity. If the Dropbox app is…
-
API v2 - Long polling
I'm in the process of migrating from the V1 Sync API to the V2 "DIY" API and I would really appreciate some feedback on whether I'm really approaching this correctly, especially with regards to reacting to remote changes and the seemingly insanely heavy network traffic requried by my "solution". I'm using Dropbox to keep…
-
Change E-mail Subject
Hello, Hoping someone can help me. When I create a new shared link, via API, I get a newly generated (unique) link. Works great - however, is it possible to edit the automated E-mail's subject? Right now, when creating a new link, the admin gets an e-mail with the subject, that starts with: "You created a new file request…
-
Get parent folder
In the project I make a simple file manager. I have to make a breadcrumbs. For this I need to be able to get a correct path to parent folder or an id of parent folder. The issue is that I can not take this path from the path of current folder because the path of the current folder (that I get from Dropbox) often is not…
-
list_folder/continue not return deleted event for those delete permanently items
Hi, I use list_folder/continue to track events of the drive, everything is good beside permanently delete. The api returns nothing if user delete items from cloud permanently, is it a limitation or just a bug? Assume I have a token 'TOKENA' and use it to watch folder /foo. When user create a file 'bar' under 'foo', I can…
-
como posso checar se a pasta existe
prezados, gostaria de saber na api v2, como posso fazer para checar se uma pasta ja existe?
-
API v2 upload file with DBFILESWriteModeAdd not working
Hello, I am using API v2 iOS sdk for upload files from my device. I want to add new files every time is file already exist. thats why i am using DBFILESWriteModeAdd for upload. But its not create new fileor even replace. I got success message after upload. Here is my code. DBUserClient *client = [DBClientsManager…
-
What if I want the User to login each time
I don't want to keep my own user membership db and login logic for my web app. My web app is going to be only for Dropbox and I want to rely on Dropbox Login only. Otherwise, saving the access token means, I have to associate it with the Email of the user. That means, I have to have my own login system asking Email of the…
-
SwiftyDropbox Import Error
Hi there, I'm using Xcode 8.3.3 and CocoaPods. I successfully installed the SwiftyDropbox and its dependency Alamorefire. Then I opened the generated workspace file and tried to import SwiftyDropbox but got the error "No such module 'SwiftyDropbox'". I tried to remove the derived data and shift-alt-command-k, but did not…
-
python SDK - Create file requests
I would like to create a file request through the python API. I am however puzzled as to how to do that. Should I use the class EventCategory? Reading the documentation I dint understand what to put to the parameters 'tag' and 'value'. Or maybe teh EvenDetail using this method: dropbox.team_log.EventDetails(tag=?,…