-
As a Dropbox for Business Admin, can I access every member's files via the API?
I understand that via the Admin UI I can use the 'Sign In As' feature to get access to user's files/folders. However I would like to know if I, with Admin capabilities, can programmatically get a list of every user and loop through all of their files/folders via the HTTP API (or even Java/Python API)? Can this be done? I…
-
List all files & folders in the root namespace for a user.
My aim is to list all the folders/files that belong to a user's dropbox account. My test user has 2 name-spaces as shown below: root_namespace_id=u'XXXXXXXX', home_namespace_id=u'XXXXXXXXX') The method files_list_folder takes in a path argument in which I pass the namespace id 'ns:XXXXXXX' For root_namespace_id, I get the…
-
409 path/restricted_content/ on shared folder
While trying to access shared folder via API v2 files/list_folder, I got this error Response headers: HTTP/1.1 409 Conflict Server: nginx Date: Thu, 05 Apr 2018 16:14:58 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive Content-Security-Policy: sandbox; frame-ancestors 'none'…
-
Renamed shared folder reported both as new and deleted by /list_folder/continue
Hello Greg, Found a strange behavior with /list_folder/continue that you might be able to clarify. Here's how to reproduce: - Using /list_folder/continue until you get the last cursor. - Rename a shared folder (here "OldName" to "NewName") - Calling /list_folder/continue with the last cursor gives me this: { "entries": [ {…
-
File upload time via API
I've been using Dropbox API in a few of my applications for uploading smaller sized files using files/upload call (in Python SDK) however I was never able to find any information about how exactly the file is saved. When the call is successfully finished is the file considered to be uploaded and saved or does Dropbox do…
-
MIME type ('text/plain') is not executable
Hello Dropboxers, I am developing a web app with the use of HTTP endpoints. Thus far, the Power user(owner of a file) can create_a_shared_link with settings for a specific file and share it with others. When a Guest user (NOT owner of the file) logs in to my app i grab the shared link ( that was provided ), i replace the…
-
getting access token via api in unity
Hi i want to get access token via api in unity with UnityWebRequest method. "https://www.dropbox.com/1/oauth2/authorize?response_type=token&redirect_uri={1}&client_id={0}" how can i get access token using this url in unity.
-
Server Error 500 requesting OAuth 2 access token
Hello Community, I have just created an app for the dropbox API. I have entered my local development URL in the OAuth 2 section, and added it. Upon clicking 'Generate access token' it throws a post 500 error, and I am not able to get a token. Any ideas? Cheers!
-
Where can users see info about their upload API quota?
For example how do they see how many upload API calls they have used, and what applications are making those calls, how many calls they have left etc?
-
Download file from Dropbox
I have a Chrome based app developed in AngularJS. We wanted to provide dropbox functionalities within the app. I am looking to download files uploaded to dropbox from this chrome app. I have tried to implement the code using dropbox api / download. It returns status of 200 and response object. If the file is a text file it…
-
socket.timeout: The write operation timed out
Hi, I am trying to uload a single file based on the example code from here: https://github.com/dropbox/dropbox-sdk-python/blob/master/example/back-up-and-restore/backup-and-restore-example.py On my Mac ist works flawlessly. But when I run the very same code on my Windows server 2018 R2 it throws the follwoing error. Python…
-
Video Streaming
Hi!!, I'm new in this comunity, and just now I'm developing an Android App using ApiV2 and exoplayer, my question is: How can I get an HLS link to adaptive player, because when It's playing an video and my bandwith is very low it play very slow with timesleep, I just find GetTemporaryLinkResult, please Help me. THANKS Pd.:…
-
media link for streaming, in .net, on api 2?
I'm writing an app to play media file streamed off dropbox. I'm using the official .Net SDK, and API v2. I'm generating my media link using client.Sharing in the SDK, but the file doesn't seem to stream. Looking at my network console in Firefox, I can see the stream seems to be hanging. After doing some reading, it seems…
-
Is it still possible to use OAuth2 implicit grant flow within a Java Webview
I have a Java desktop application and am trying to let users upload their data to dropbox. Have not been able to determine if its not recommended to use a webview or it is not possible anymore. Can someone clarify this for me, and if it is not possible now then is the only option I have left to use a system browser to do…
-
How to get a path to a Dropbox file in order to use the files_download function in python?
As a real newbye in python I'm trying to download a single file from my dropbox account. I've got the Dropbox token and written such a function: def download_file(): dbx = dropbox.Dropbox(DROPBOXTOKEN) # Check that the access token is valid try: dbx.users_get_current_account() except AuthError as err: sys.exit("ERROR:…
-
Cannot delete a folder with a '.' in the middle its name?
When I use the API to delete a folder with: https://api.dropboxapi.com/2/files/delete_v2 If the path to the folder is: /somepath/mydomain.com The folder will not delete. Interestingly, an empty json string is returned from the Dropbox API server. I am going to call this a bug, because it states in the Dropbox API…
-
OAuth2.0 throws invalid_grant type message while fetching the tokens from Xamarin forms Android app
I am using OAuth2.0 in my xamarin application and when i try to get the access token using the OAuth settings mentioned below I am able to get the access token, post my image on dropbx and everything works fine. Configurations used in OAuth2.0 private const string Dbx_ClientId = "DROPBOX-APP-CLIENT-ID"; private const…
-
Where do I use the app Secret Key? and a Log Out remark...
Hi, 1. When I created my app account I saw a field named "Secret Key", where should I use it? 2. When I tried to use the: .tokenRevoke(); command it didn't really logged out of the Dropbox account, the evidence for that is that right after sending this command I could call the method: Auth.getOAuth2Token(); and get a valid…
-
Can I use localhost as redirect_uri in production
Hi, I have desktop application which is using dropbox API. So, to get oauth token, application is opening authorization url in external browser(Safari, Chrome or whatever...). I`m using http://localhost:33221/dropbox/auth as redirect_url. Application is listening port 33221 on local machine to get oauth token. Is it ok for…
-
How to List all files in the Dropbox folder using Web Request?
string accessToken = "Token"; var request = (HttpWebRequest)WebRequest.Create("https://api.dropboxapi.com/2/files/list_folder"); request.Method = "Post"; request.Headers.Add("Authorization", "Bearer " + accessToken); request.ContentType = "application/json"; Stream newStream = request.GetRequestStream(); var response =…
-
Avoiding RateLimit
Hi, When I use the dropbox (python) API (for creating paper doc) after ~ 100 new doc created, the process is stucked. When I break the process I can see this is due to a Ratelimit. How can I avoid that behavior ? I'm trying to migrate all my Evernote notes (~2500 documents) And plan to create ~80-100 paper doc per day. Doc…
-
usersGetCurrentAccount doesn't work in MS Edge
usersGetCurrentAccount doesn't work in MS Edge. I get this error: Error in call to API function "users/get_current_account": Bad HTTP "Content-Type" header: "text/plain;charset=UTF-8". Expecting one of "application/json", "application/json; charset=utf-8", "text/plain; charset=dropbox-cors-hack". This doesn't happen in…
-
need .net sample code for upload files
Hi..i need sample code for upload files to dropbox with API and also i want to integrate that in my unity application..so kindly any one give sample code for upload
-
[Obj-C V2] How to resume uploading a large file
Hi I read the forum here, many answer to related questions point to discontinued stackoverflow documentation. Specific question: How can I resume uploading a large file using the obj-c V2 API. I am currently uploading as shown below. The DBUploadTask has "cancel" and "resume" selectors. But how can these be persisted?…
-
CreateFolder V2 API
I am seeing that CreateFolder V2 API takes at least 10 seconds. So if you need to create 10 folders through the API you are looking at 100 seconds. I see no way to speed up or an alternative way?
-
How to get the Dropbox File List using httpclient or WebRequest?
How to get the Dropbox File List using httpclient or WebRequest?
-
Search content limits
Hi, I'd like to know if there are any limit / performance details on Firefly – Instant, Full-Text Search Engine for Dropbox. Let's say I have an account with hundreds of thousands of big documents, most of them PDFs and docx, from 100Mb to 2Gb... Are there any penalties on user the files/search endpoint API, or those are…
-
"No auth function available for given request" return on /token request
Hi. I send the following form data with the code I got from the authorization page. I use redirect_uri back to my app through localhost. However I get the following response (error code 400): "No auth function available for given request". My request form data looks like this: Header: POST /oauth2/token HTTP/1.1 Host:…
-
Save file to DropBox through a Scheduled Task on a Windows 10 PC
I am just trying to set up a batch job (.cmd file) that will run at 6am every Friday that will copy the latest version of a file from my PC to a DropBox folder... WHEN I AM NOT LOGGED ONTO MY PC.
-
25k API restrictions for indvidual/free users? Weird incentives for devs and hurting app developer
We're adding dropbox upload/download to our app....I don't really use dropbox myself so help me figure all of this out. Reading around the Dropbox website says that apps that connect to free or indivudal users have no API limit, but apps that connect to business have a 25k limit for file upload calls? Is this right?…