-
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?…
-
How to parse /upload endpoint's response when using pipes in node
Hello I am piping users request to /upload api endpoint. The file is saved properly, however I can't seem to handle server's response. As you can see from the picture below, my (probably naive) approach ends up in unreadable sequence of characters. Am I missing something here? Thanks
-
Synchronizing encrypted files
Hi, here is a synchronization problem. I have a list of files. Each is encrypted using a AES block cipher in CTR (counter) mode with its own password, a salt and an initialisation vector, where the latter two are randomly chosen at the time of encryption. What that means is that E(A, k1)_t0 is going to look very different…
-
Generated temporary link, content type is not correctly set
Hi, I've used the api to generate a temporary link and I've accessed it, but the Content-Type header is set to application/octet-stream instead of video/x-matroska. Obviously my file's extension is '.mkv'. In the endpoint's description…
-
Get Access Token from Chooser API
Hi, In my salesforce project, I need to enable dropbox so that user can select the file from dropbox. Backend logic involves reading the file content and process it further. I am using Dropbox chooser in form of JS component in my application. I am able to login and select the file but to get the file content through…
-
Cancelling ListFolderLongpollAsync
Hi, I have a Dropbox longpoll running as a task, implemented in C# (Xamarin Forms) as the following. async Task DropboxLongpoll (string cursor, CancellationToken token) { var longpollClient = this.GetClient (); int backoff = 0; System.Diagnostics.Debug.WriteLine ("Running background longpoll task."); while…
-
Google App Engine and Java SDK GetTemporaryLink Error
I use Dropbox to save my application's user uploaded files. The upload part is running well. But When I try to get temporary link to my user's (not Dropbox user) files. I can't get the temporary link, the App is running at Google App Engine. Anyone can give a hint what should I do to avoid the error? Thanks.
-
Create short URL when share file API v2
Hi all, I have a issue about creating short url. On API v1, I can do it but on V2 I can't do.(createSharedLinkWithSettings) Please help me to solve this issue. :( Thanks, Vang Doan