-
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=?,…
-
Need a custom web-page where students upload files into a teacher's Dropbox. I use Dropbox for ...
Business and created a web-page with upload files from my web-page to my dropbox folder with API/C#/OAuth2, what about other people uploading into my folder?
-
Autorename for existing files on upload does not rename .NET
Here is the piece of code which is supposed to rename an existing file and upload it to Dropbox. It simply does nothing. What am I missing here? using (var memFile = new FileStream(srcFile, FileMode.Open, FileAccess.Read)) { var uploadFile= await dbx.Files.UploadAsync("/myfolder/" + fileName, WriteMode.Add.Instance, body:…
-
Disable "Sign in with Google" Button
Hi, the login page automatically has the "Sign in with Google" button. Can I disable it ? (OAuth2) I found this but it's a half year old. https://www.dropboxforum.com/t5/API-support/How-to-appear-quot-Sign-in-with-Google-quot-button-in-the-login/td-p/199107 Thanks
-
API always returns invalid_access_token, 500 error when i go to "my apps"
Hi, I understand that there was some service disruption about 10 hours ago. However, I believe this has been resolved now. When I generate an access token using the dropbox java sdk on my Android app, it is generating an access token fine. However, when I use this access token to authorise my account and run something like…
-
Error 500 all the day
Hi team. Today i was trying to create an app token but I can't, still can't: Version:1.0 StartHTML:000000202 EndHTML:000000855 StartFragment:000000501 EndFragment:000000817 StartSelection:000000501 EndSelection:000000817 SourceURL:https://www.dropbox.com/developers/appsDropbox - 500 Error (500)Something went wrong. Don't…
-
[account/login_with_password] App doesn't have permission to use this API
What dropbox app permission is needed to use account/login_with_password?
-
Where can I find the trusted root certificates used by Dropbox?
I'm developing a software that connects to Dropbox over HTTPS. I would like to pin the trusted root certificates. Where can I find the trusted root certificates used by Dropbox?
-
redirect_uri to local file
hi, I want to redirect to a local file the authorize. In the redirect uri of my app I put file:///C:/test/redirect_uri.htm , an empty page but the browser gives error. If I put http://localhost I can catch the access_token but I receive it in CppWebBrowserNavigateError with a status error of 0x800C0005 How can redirect to…
-
Upload a file via wininet with a POST
Hi Team, we are using the Dropbox REST API with OAuth2. When attempting to upload a file I don't know where to put the file contents using the wininet for http way. In the docs there is just a curl example curl -X POST https://content.dropboxapi.com/2/files/upload \ --header "Authorization: Bearer " \ --header…
-
Exception java.lang.NoClassDefFoundError: Could not initialize class com.dropbox.core.DbxHost
I am creating a Java webapp with dropbox sdk. The code is StandardHttpRequestor.Config.Builder requestorConfigBuilder = StandardHttpRequestor.Config .builder(); List<Proxy> proxies = ProxySelector.getDefault().select(new URI("https://www.dropbox.com")); for (Proxy proxy : proxies) { requestorConfigBuilder.withProxy(proxy);…
-
Categories of API partners to apply API limit
There's 2 types of dropbbox partners which have different API limit: * Platform partners (excluding data transport): Unlimited API calls to SIEM, DLP, IDM, DRM, and dozens of platform partner categories * Data transport: 25,000 API calls per month If you need to transport large amounts of data to Dropbox on an ongoing…
-
com.dropbox.core.ServerException when getting file list from dropbox
Hi, I'm getting com.dropbox.core.ServerException when requesting file list from account. Few hours ago it worked fine, but now it's crashing. y = mClientV2.files().listFolderBuilder(mPoint).withRecursive(true).start(); while (true){ for (Metadata metadata: y.getEntries()){ // some job } if (!y.getHasMore()){ break; } y =…
-
API upload fails. Can not connect to api-content.dropbox.com for 32-th chunk
I use the dropbox API to upload files. It is latest API version. Uploading is with chunks of 20MB . Recently it stopped to work for big files. I notices it stops to work at chunk 32 . All chunks before this are fine. And then on nex chunk my script can not connect to to dropbox server TCP connect to api-content.dropbox.com…