-
The Dropbox user ID of the authorized user returned by /oauth2/authorize is invalid
According to API documentation, the /oauth2/authorize request must redirect to redirect_uri and send uid of the authorized user as one of parameters. I see uid parameter in redirect but the value of uid parameter is not a user-id of my user also it's not a member id. I don't know what it is at all. Actually it is shorter…
-
Get account info using Dropbox for Business API access token
We are trying to get information about the user who has authorized Dropbox for Business through our application. We can retrieve a list of users in a team and basic team info, but how to determine which user has performed the authorization? We are using Python dropbox api v. 1.6 and DropboxOAuth2Flow.finish only returns…
-
Edit a paper doc from another app
From the API docs, there doesn't seem to be a way to edit a Paper doc through another app. Just wanted to double check this isn't yet possible? We basically want to introduce rich notes for each project in our SaaS app and since we love the Paper interface, we'd prefer to use Paper instead of building our own, more limited…
-
API to create a Paper Doc
Hello Do we've an API to create a Paper Doc from a website backend. Thanks in advance Saptha
-
Create/edit documents through API
Hi, I've submitted a similar Feature Requests months ago and it's been asked also in: * https://www.dropboxforum.com/t5/Dropbox-Paper/Dropbox-Paper-API-request/m-p/143995#M175 * https://www.dropboxforum.com/t5/Dropbox-Paper/Create-Paper-Document/m-p/138514#M125 They're both marked as solved, but as far as I can tell…
-
Is it possible to copy file by id and specify filename
I'm using the copy_v2 endpoint and I see that you can pass in file ids instead of paths, but is it possible to update the filename at the same time? Thanks!
-
File lock feature & Properties API
This topic continues my previous question Properties API. I tried to continue conversation there but, for some reason, my comments are not published. So I decided to start new conversation. I will explain why I need the custom properties (Properties API). My application uses Dropbox as cloud storage for user files and…
-
Dropbox Javascript longpoll CORS issue
Hi, I'm having problems with implementing longpolling from a web browser. More details here: http://stackoverflow.com/questions/41427038/dropbox-javascript-longpoll-cors-issue Has anyone managed to successfully implement longpolling into their web app? If yes, how?
-
list_folder/longpoll seems to not work with CORS
Hi, I'm currently consuming the HTTP API via javascript and I get a CORS error on this endpoint. Specifically the OPTIONS preflight returns a 501 Not Implemented. Will this be implemented?
-
Search all files using searchbuilder
I am trying to list all files in the folder using searchBuilder, when I passing the multiple extensions passing in Query which results Zero values. For Eg: String query = ".pdf"; Long max = 100L; Long stat = 0L; SearchResult sresult; SearchMode mode = SearchMode.FILENAME; sresult =…
-
ObjC SDK 3.2.0 Carthage compilation issue
Hi, Back in May, I successfully installed the Dropbox API v2 SDK for Objective C, version 3.1.0, for use with a Mac app, using the Carthage system Now, trying to update the SDK to the latest version (which I belive is 3.2.0), I am running an issue. The problem not only occurs when trying to update the existing SDK but also…
-
v2 API iOS Objective-C SDK: crash after file upload
I'm getting a lot of crash reports after updating my app to the v2 API using the iOS Objective-C Dropbox library. The crash log seems to suggest something internal with the Dropbox library ... can someone take a look and verfiy what might be going wrong? The file seems to upload just fine, but the user gets a crash. My…
-
Create Sharelink issues for files not uploaded yet
I set this parameter before generating a sharelink: dropbox.sharing.PendingUploadMode.folder This works fine as long if I don`t go deeper that one (not yet indexed folder) folder. So if create folder/folder2 and they are not indexed yet the API will throw an error on generating a sharelink for folder2. I understand this…
-
UploadAsync - File got corrupt after uplaod - C#
Hi, I'm trying to upload photos to Dropbox account using v2. FileStream fsBlobData = new FileStream(filePath, FileMode.Open, FileAccess.Read); byte[] bytBlobdata = new byte[fsBlobData.Length]; using (var dbx = new DropboxClient(accessToken)) { using (var stream = new MemoryStream(bytBlobdata)) { var response = await…
-
system.net.http missing
Hi All I have a win forms app and am moving to using the v2 api (from NuGet) My App targets the 4.6.1 framework for win64 On the dev box I have no issues. however I am finding that once deployed using click once an error is thrown when attempting to call Await client.Auth.TokenFromOauth1Async or any async function. The…
-
why does /2/users/get_current_account endpoint require a post request
Hello, the /2/users/get_current_account seems a bit confusing in its usage. it requires * "post" verb * null as body content * "application/json" as content-type afaik, null is not a valid json content, but the api server accepts nothing but that value in conjuction with content-type. a get operation here seems more…
-
Carthage compilation of ObjectiveDropboxOfficial fails, 'DBFilesCreateFolderResult.h' file not found
I'm migrating the dropbox dependency for an objective C iOS project to v2 by compiling the newest Objective C Dropbox SDK using Carthage. My intention is to add it as a subproject, since it's an older project. But like the title says, running the following: carthage update --platform iOS is failing. Same thing happens if I…
-
OAuth access token type
Currently during authentication retyrned URL contains token_type=bearer parameter while respective header must be Bearer (else 400 is returned). Is that possible to return correct case in token_type so one could just use it in header? Or it is by-design and developer must always implement own mapping for auth types like…
-
OAuth: Access token per infrastrucure or access token per client?
We have two elements (clients) in our infrastructure: * First Client: A service that receives webhooks. Each time a webhook is received it tries to get information from dropbox. * Second Client: A user interface(.net) that allows to download files from dropbox. Both services are accessing to dropbox. Should we ask for an…
-
Oauth callback into several service instances
We're using 3 service instances under a load balencer. In order to create an oauth session, we're using two endpoints: The first one is named `/start`. We are using this code: DbxAppInfo appInfo = new DbxAppInfo("---", "---"); DbxRequestConfig config = new DbxRequestConfig("---"); DbxWebAuth webAuth = new…
-
Creating Account
Do drop box provide any api support by which I can create a new dropBox account using java.
-
Confirmation of audit log
I'd like to check the audit log using python module. TEAM_AUDIT_TOKEN = 'xxxxxxx' dbx_team = dropbox.DropboxTeam(TEAM_AUDIT_TOKEN) dbx_user = dbx_team.as_user("dbmid:xxxxxx") end_time = dt.datetime.now() start_time = end_time - dt.timedelta(hours=2) check_times = dropbox.team_common.TimeRange(start_time,end_time) res =…
-
Dropbox API V2 GetAccountInfo() - C#
I'm migrating from Dropbox v1 to v2, how can i proceed with GetAccountInfo() to get details such as: UserName, UserId, QuotaUsed, QuotaAvailable, SharedUse. How do i get this with v2. Previously by using v1 it was like: var accessToken = new OAuthProtocol.OAuthToken(auth_Token, auth_Token_Secret); var api = new…
-
How to get OAuth2 access token from OAuth1 token and secret with API v2 using C#
Hi All Im trying to detirmin if its possible to "convert" OAuth1 token and secret with API v2 in C# Can anyone share some code in C# How i might go about doing this for a desktop app that needs to access user dropbox accounts many Thanks
-
Right way to create shared link with password? (C#, .NET, ApiV2)
I'm using following combo: C#, .NET, ApiV2 What's the right way to create shared link with password? Tried: Console.WriteLine("----- shareFile function starts -----"); RequestedVisibility visibility = (password == null ? null : new RequestedVisibility().AsPassword); DateTime date = DateTime.Now.AddDays(7 * dueInWeeks);…
-
API Can not download files under app Permission type App folder using API?
I created two apps one app have full access and another have folder permission access only now when I use generated token from full access permission the php API download file working fine but when I use the generated token from folder permission the api return status code 404 ?
-
Get source URL of Photo/Video - Dropbox API v2 - C#
Hi, I need to get source URL's of each photos or videos on Dropbox account. Earlier with v1 is i was gettting file path like below: var api = new DropboxApi(dropbox_appkey, dropbox_appsecret,accessToken); var metadata = api.GetFiles("dropbox", ""); But with v2 i'm trying now: using (var client= new…
-
Changing team folder setting with pyhon module
Hi All. I want to set team folder using python module. Team folder creation is complete However, I do not know the setting method below in the setting of the team folder Who can manage access to this folder? Default : "Anyone in your Dropbox Business account with edit permissions" Change to "Only owners" Allow links to be…
-
How to add data-app-key in App.accessRule of meteor application for android
I am developing web app and cordova app (android) together in meteor, I have included different scripts in it but cordova app is not recognizing scripts and gives different script missing error. After search I find out that by adding script in mobile-config.js by App.accessRule will work, and it worked for me. I am using…
-
files/search results seem to be too inclusive
My application uses files/search (with mode=filename) to find specific marker files with our dropbox structure in order to identify the correct folder to work with. These marker files have unique names eg ".a00000XXXXXXXXXXXXXXX.sfdb". (Those are Dropbox for Salesforce folder markers). Yesterday and for the past 6 months…