-
File upload 409 Conflict "path/no_write_permission" to team space
Getting an 409 Conflict "path/no_write_permission" to team space when trying to upload a file. Where do I set team space folder persmissions for an app? Here is the code (powershell): $DonToken = 'zzzzzzzz' $NameSpaceId = "9999999999" $TargetFileDir = "ns:" + $NameSpaceId + "/TEAM1/TestDeploy/" $InputZipPath =…
-
Upload session api creating empty files
import requests import json class DropboxUtil: _token = None _logger = None UPLOAD_SIZE = 149 * 1024 * 1024 def __init__(self, token): DropboxUtil._token = "Bearer " + token def upload(self, data = None): """ Start a new upload session and upload the requested content to desired directory on Dropbox. """ try: upload_url =…
-
Can't find my app that I just created
Hi I have used a dropbox for over a year: For my appPr1 / prj1, I upload weather data every hour and overwrite them after 24 hours. Everything works perfectly! For a new project, I want to use a new "app" named: appPrj2, with its own sub-directories. I followed: My apps -> Create app, - and everything went well: But in the…
-
Admin cannot delete paper doc created by team member
I am having dropbox business standard plan. I am trying to delete a paper doc created by a team member using API hwowver getting error as insufficient permission. Is it possible only using advanced plan?
-
XCode compilation error: Command failed due to signal: Segmentation fault: 11
Hi, After migrating to Swift 3 using XCode 8.3.2 and Dropbox SDK 3.0.9 (Objective-C version) I am getting the mentioned error in 1 of the files. Further investigation shows the error is caused by this piece of code: let listFolderResponseHandler : DBRpcResponseBlock = { response, routeError, networkError in if let…
-
Redirect URI for localhost not working
Hello, I have troubles in adding the redirect URI to my dropbox app. The placeholder said that http is allowed for localhost. I use a hostname. How can I fix that without setting up https? The app is still in develop.
-
Accessing get_metadata endpoint without Dropbox Javascript package
For fun, I'm making a cataloging web app using asp.net core 2.1 MVC and javascript. I don't need a frontend framework, so I don't want to bring in the whole NodeJS npm situation into this project. I'm trying to access https://api.dropboxapi.com/2/files/get_metadata using fetchAPI and Chrome and I am getting this…
-
Problem in fectching auth code.
Hi , I have integrated dropbox using code flow in my desktop app. I open a browser in my app for authorization. It was working fine previously but since past few days i am facing a problem that it redirects to the redirect uri before/without giving the authorization code. But after this if i again navigate to initial uri…
-
Create Folder on a shared space doesn't have a have shared folder Id
Hey, I am using the .NET SDK and I found something odd that I wanted to share. I am using CreateFolderV2Async to create a folder on the root namespace and then I would like to save its namespace id/shared folder id, but if I use it like this: var result = await dbc.Files.CreateFolderV2Async("name"); and then get the shared…
-
How to get webhooks without creating an app or caring about users
I'm a member of a dropbox business account, and I have created an endpoint to receive Dropbox webhooks whenever files are modified, but my endpoint receives no messages. (The endpoint is verified and accepted by dropbox, and I have the endpoint logging any and all json content that is posted to it, so it's pretty…
-
Best Practices: Files Batch Deletion (delete_batch & delete_batch/check)
Hi there! Just wondering what is the best practice to wait until batch operation (e.g. files batch deletion) is completed? Specifically, how often should I call /delete_batch/check endpoint (to know the progress or error/completion) in case I performing the operation from a backend? Since no time estimation provided for an…
-
Strange python API error
I get a strange error when executing the following code-snippet: sys.path.append('/home/pi/scripts/qr-scripts') sys.path.append('/home/pi/Raw') import session_folder import session_folder_name response = db.files_list_folder(session_folder_name.sessionFolderName) for file in response.entries: This is the error-output…
-
OAuth Redirect URL doesn't allow test domain
When entering a domain on the app page, I get this error: Non-local OAuth 2 redirect URIs may not start with "http:" or "javascript:" http://mydomain.test/login/check-dropbox Now I understand you don't want to open all domains etc, but the .test domain is a clear usecase for local development since June 1999:…
-
Dropbox API
Have tried one of your examples for uploading larger files, getting on error on this line updated = CType(ChunkUpload((filePath + ("/" + fileName)), fs, ChunkSize, dbx), Task(Of FileMetadata)) Additional information: Unable to cast object of type 'System.Threading.Tasks.Task`1[System.Threading.Tasks.VoidTaskResult]' to…
-
Api to download files from shared link
Hi, how can I download files from a shared link using JAVA api?
-
Dropbox Chooser not working on server
Hello everybody, The dropbox Chooser is working fine on my local machine and in a test server that I have, but when moving the files to a new server, the dropbox container does not show in the screen. I added the domain in the chooser and saver domains section but still nothing appears. What should I do?
-
Dropbox JavaScript SDK - ReferenceError: Dropbox is not defined (with angularJS 1.4)
Hi, I'm trying to use Dropbox Javascript SDK (version 2) in my angular 1.4 Application. The installation of the package was OK but when I execute the function 'viewFile' I get an error ReferenceError: Dropbox is not defined in the 2nd line: var dbx = new Dropbox({ accessToken: ACCESS_TOKEN }); You can see the function:…
-
Creating a folder on a root namespace of a business account
I am using a business package dropbox with just one user (the admin). I am trying to create a folder that is not in the admin's individual folder, but on the root folder. I am using the .NET SDK and so far I've tried CreateFolderV2 and ShareFolderV2 with AsMember and AsAdmin using the member id of the admin. So far, I have…
-
Mobile document scanner API
Hi , I would like to know if you have a document scanner api/SDK for users who want to integrate their mobile app with this document scanning feature you launched on dropbox app?
-
File with cyrillic capital letters cannot be found.
Hi. I'm developing an UWP App with Dropbox.Api nuget v4.7.0. When filename contains cyrillic capital letters, the search has no matches. Example Folder contains next files: "привет.txt", "Привет мир.txt" Query: "при" or "При" Result: "привет.txt" Dropbox web client has same problem. I think this bug like Problem in search…
-
upload image or file pdf to dropbox using ionic et dropbox api
var url = "https://content.dropboxapi.com/2/files/upload";var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() {if (xhr.readyState === 4) {console.log("Uploaded a file with metadata: " + xhr.responseText);}};xhr.open("POST", url, true); xhr.setRequestHeader("Authorization", "Bearer " + this.accessToken);…
-
Need Clarification on the redirect uri round-trip behviour (Desktop .Net)
Hey All, Just after some clarification, Im familiar with programming desktop software but new to the web world. In regards to OAuth 2, I have two options for the redirect set. -https://www.dropbox.com/oauth2/redirect_receiver -https://www.dropbox.com/1/oauth2/redirect_receiver I got these out of the guide here,…
-
http API v2 listfolder endpoint does not return records for deleted folders
Hi all, I'm using http v2 to do some sync with Dropbox. When I hit the ListFolder endpoint (with recursive set to 'true') I recieve results for folder and file creation, and also file deletion, but nothing for *folder* deletion. I am iterating through all results going back to the beginning of time using…
-
What is ListFolderContinueArg?
What is ListFolderContinueArg? What do those comments in the code mean? Would it be in any way helpful for me to know what that is saying? /// The ListFolderContinueArg struct open class ListFolderContinueArg : CustomStringConvertible { /// The cursor returned by your last call to listFolder or listFolderContinue. public…
-
How do I know when there has been a change in the user's Dropbox account?
How do I know when there has been a change in the user's Dropbox account made from outside of the current iOS device such as a new file created? I also need to know if the user logged out, or if a different user logged in on the iOS device. Is there a way that Dropbox notifies my app of these events? Where do I get…
-
Dropbox API Integration in a web application
Dear Support team, We would like to integrate Dropbox API into our web application. The usage scenario is this : We maintain a designated Dropbox Account in which folders will be created for our (service) users interested in using Dropbox Integration feature. Users upload files to this account and these will be picked up…
-
Delete Folder Using PowerShell
I can't figure out how to delete a file in my Dropbox using Powershell. I can upload fine using this : $arg = '{ "path": "' + $TargetFilePath + '", "mode": "add", "autorename": true, "mute": false }' $authorization = "Bearer " + $DropBoxAccessToken $headers = New-Object…
-
dbx.Files.UploadAsync Does not work returning Value should match pattern '\A(?:(/(.|[\r\n])*)|(ns:[0
i have worked on this for quite a while: async Task Upload() { using (DropboxClient dbx = new DropboxClient("mytoken")) { string folder = Directory.GetCurrentDirectory(); string file = @\temp.dat; using (var mem = new MemoryStream(Encoding.UTF8.GetBytes("NotIP.dat"))) { var updated = await dbx.Files.UploadAsync(folder + @/…
-
issue while accessing folder path while downloading from folder
Hello, I am using dropbox api(v2) in my ios objective c project. I am facing issue while accessing folder named as Peter O'Brien , I tested various cases and it is only becase of having ' character in the folder name(it works fine otherwise). I have to use this folder name. I am getting following error, can anyone give me…