-
Download a file with the API
Hi I'm using https://dropbox.github.io/dropbox-api-v2-explorer/#files_download for download file. I want to provide directly a link to the end user or download start just load the code. I'm using the dropbox API from a server side. If I use this method I will need two steps to download a file (1. from Dropbox to my…
-
User part of a TEAM does not have different Root Namespace Id than Home Namespace Id
Team, can you please help me on this. Does older User Account created prior to Team Space configuration can also have different Root NameSpace ID comared to Home Namespace ID? For some of the user account, even though they are part of a TEAM, querying on user's current account API results something like this: that is same…
-
Create new Dropbox user using Powershell
Code -------------------- Function New-DropBoxUser { [CmdletBinding()]Param( [Parameter(Mandatory=$true,ValueFromPipeline=$true,Position=0)] [string]$FullName) # Split name into username # $FirstName, $LastName = $FullName.split(' ') $UserName = ($FirstName[0]+$LastName).toLower() $email = "$UserName@mycomp.com" $Body = @{…
-
Dropbox for Business - Queries
Hello, I am developing a solution for Dropbox for Business. I have few queries: 1. Can we have 2 owners of a shared folder or a team folder ? 2. For a Dropbox team having single team admin, can we delete its admin ? 3. If a team admin is deleted, do we get any web-hook notification telling us whether the team admin deleted…
-
video size is 0 bytes on upload
when i upload my app using php api version 2 it upload the file but the size of file is 0 bytes below is mine code ..... can someone guide me $headers = array('Authorization: Bearer '. $token, 'Content-Type: application/octet-stream', 'Dropbox-API-Arg: '. json_encode( array( "path"=> '/'. date("l-m-y") .'/'.…
-
Hosting my app and content
Hi, there are a couple of points in the developer's reference guide I don't quite understand. I want to use DropBox to host my app, and any downloadable content I create for it. My app will be freely-available worldwide, and it will contact my *Free* DropBox account upon startup and check/download any updates. I don't…
-
Change in dropbox folder triggers Webhook twice.
Hey, I have configured Webhook in a dropbox app to listen to any changes on a shared folder. It works fine in my local development envrionment(I am using ngrok to expose my local web server localhost:3000). I only got 1 webhook call each change. However, whenever any file change, including upload, rename, delete and so…
-
await DropboxOAuth2Helper.ProcessCodeFlowAsync() doesn't completed and breaks between the loop.
I want to get access token using OAuth2Response response = await DropboxOAuth2Helper.ProcessCodeFlowAsync(code, AppKey, AppSecret, uriBuilder.Uri.AbsoluteUri); in C#.Net (not MVC). Created a method: public async Task ProcessDropboxCallback(string code) { var AppKey = ""; var AppSecret = ""; var uriBuilder = new…
-
[python] Can't delete file whit the method files_delete_v2 but can delete folder
Hi, I'm using the python API for my project. I try to delete some file but when i'm using the method files_delete_v2 it only work whit folder, whit file it simply do nothing no error message I can simply see on my dropbox account that the file still exist. I try the files_delete method but it's doing the same thing.
-
Mix Chooser and SDK
Hello, I am currently working on app (full permission) where I would like to choose a folder and then display the content on a webpage. It is important that it should be constantly looking for changes in that folder, so I am using longPoll endpoint. My current flow is: Press a button 'Authorize' to get the access_token and…
-
Namespace list api with limit
Hi, I have notices that /2/team/namespaces/list api does not give items with limit value. Here is the api I'm hitting POST /2/team/namespaces/list Host: https://api.dropboxapi.com User-Agent: api-explorer-client Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Content-Type: application/json {…
-
Batch move operation fails due to internal error
Hi, I am currently working on an server-side application that is handling large quantity of image files using Dropbox. The application is using Java SDK to interact with Dropbox API. During our workflow, we have to move a large number of folders from one location to another in Dropbox. The number of folders in each such…
-
probleme user lilt
j'ai mis mes sauvegardes de cygic sur dropbox et je voulais faire la meme chose avec offline maps mais le message user limit me blmoque merci
-
Adding group to the Team Folder using API not working
Hello, I am having issues with the dropbox api v2 I am trying to add group to team folder using the 2/sharing/add_folder_member I am sending the request with this body: { "shared_folder_id": :team_folder_id, "members": [ { "member": { ".tag": "dropbox_id", "dropbox_id": :group_id }, "access_level": { ".tag": "editor" } } ]…
-
SwiftyDropBox Auth Hangs
I'm following the SwiftyDropbox documentation for my project, and have gotten as far as having my app switch to authenticating via web login thru safari but it just hangs there. If I build on an actual device and have the Dropbox app, I log in without a problem but I want the safari / web login to work as well. I've named…
-
Python 2.7 upload error
Hi, This was working up until a few weeks ago and I can't for the life of me see what is wrong - maybe a fresh set of eyes will help. I am trying to loop through the contents of a directory and upload the unique files to an applicaiton folder in dropbox apps: import dropbox import os from datetime import datetime…
-
Folders
I am surrently using: Private Shared Sub FileUploadToDropbox(ByVal filePath As String, ByVal fileName As String, ByVal fileSource As String) Dim dbx = New DropboxClient("<REDACTED>") Dim fs = New FileStream(fileSource, FileMode.Open, FileAccess.Read) Dim updated = dbx.Files.UploadAsync((filePath + ("/" + fileName)),…
-
Filesize limit for downloads from the chooser
Is it possible to set a limit on the size of files that a user would be able to select for download from the chooser? ( I am hoping to keep it to under 2 gigabytes )
-
Download files from Dropbox using SDK Javascript
Hi, all I'm trying download files from my Dropbox using SDK Javascript, but I can't. I'm calling this code from my button html, but nothing happen. Don't show error message or something. I readed about the "filesDownload" documentation and apparently is the same code for upload files (that I founded to upload files with…
-
How to check folder exist or not and how to upload image using URL using C#
Hello there, I am using Dropbox.Api. I want to check if folder exist or not. I tired using try and catch block but I think there should be a better way for doing this. Here is my try catch block: try { var isFolder = client.Files.GetMetadataAsync(path).Result.IsFolder; } catch (Exception e) { // TODO Auto-generated catch…
-
Process folder in cloud / How to start?
Hi all! Here is what I want to do - the problem is, I have no idea where to start. Any links/examples/tutorials are welcome. I want to provide a service for potentially all Dropbox users. So this is not just for me or a couple of company owned PCs. My users/customers should place a bunch of PDFs in a certain Dropbox…
-
Best practice to check if a folder exists in .NET?
Hi there! I'm asking myself what's the best practice to check if a folder exists, because I made a fudge in the meanwhile and the performance is not optimal. I'm giving the option to our users to overwrite or not the desired uploading file. I actually perform a DropboxClient.Files.SearchAsync with a try catch and if it…
-
Download files from dropbox link I received in email using API?
We recive 100's of emails containing a dropbox share link in the email body. We have written an applicatoin to open the email and extract the Dropbox link. Is there any way to use the Dropbox API to automate the process of downloading the documents from the link to our own dropbox account? Could we download them to a hard…
-
Issue with ListFolderAsync()
Hello, I try to use ListFolderAsync() to get first experience with DropboxApi. On Dropbox I generated my first app called "FirstTest12345" with permission type "App Folder". My first test should show me the content of some folder (e.g. root "" or manually generated others "/test"). When I try this, there is only a result…
-
Temporary Link
Hello. How do I make a Temporary Link for a phtoto that I just uploaded to dropbox? I cant figure it out on the api v2 I'm using the Python Dropbox SDK btw. Thanks a lot!
-
HTTP Dropbox download response
I am using HTTP Dropbox API for Uploading and Downloading the files, I was created the C# API for the Dropbox file upload and download and Calling from AngularJS, I was receiving the some sting value as Dropbox download response, String as mentioned below. Guide me to convert this string as Actual file in AngularJS.
-
How to get the UserId for HTTP File Dowload?
https://www.dropbox.com/s/r3p1au45g3rylvs/advocated.jpeg How to get the UserId like this for my dropbox r3p1au45g3rylvs
-
Dropbox API to download All Content
I am using HTTP Dropbox API for Uploading and Downloading the files, I was created the C# API for the Dropbox file upload and download and Calling from AngularJS, I was receiving the some sting value as Dropbox download response, String as mentioned below. Guide me to convert this string as Actual file in AngularJS.
-
API V2 - Cannot delete files
I am trying to use the deleteV2 method of the DropBox API V2 and keep running into a DeleteErrorException. Here's the line resulting in the error: client.files().deleteV2(path); where path matches the pattern "(/(.|[\\r\\n])* )|(ns:[0-9]+(/. * )?)", as described in the api docs. The exception returns the following message:…
-
Is it possible to re-enable webhook via API?
At the moment, if your app reports more than 35 errors in the past 10 minutes and exceeds a 4.5% failure rate, your webhook will be disabled. As per this page: https://www.dropbox.com/developers/reference/webhooks#documentation When this happens, is there any way for me to re-enable it again (via API or some other…