-
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…
-
Script Copy Dropbox Link to Apple Mail
Dear All I want to do a script on my os x sierra which copy the "Copy Dropbox Link" of a file in a new apple mail from the default mail account. Also, in the file name there is an email address - this email address should be placed automaticaly in the "TO" field in apple mail. I am not sure which programming language I…
-
Problem sharing folders and adding team members
I am exploring Dropbox Business API. I am trying to create a shared folder programmatically from a web application and then share it with bonafide team members. My First Business Trial App is created with access type : "Team member file access". FolderMetadata foldermetadata =…
-
Uploading Ignored Files
According to https://www.dropbox.com/help/syncing-uploads/files-not-syncing, Dropbox will not allow certain names: * desktop.ini * thumbs.db * .ds_store * icon\r * .dropbox * .dropbox.attr * Files that start with "~$" or ".~" * Files that start with "~" and end with ".tmp" I understand the Dropbox desktop application not…
-
Upload cuts sometimes the file - corrupted files on DropBox
Hello, i have a problem with uploads on Android apps. I use the c# v2 DropBox api. Sometimes the uploaded file are cutted at the end of a chunk (128*1024) on DropBox drive and no error appears in the code. So at the end there are some corrupted files on DropBox and the Android client has no error state. What can i do? I…
-
[API] Can't download or overwrite a file after uploading it 1 time(android) (have to reload the app)
I'm not able to download or overwrite a file after uploading it 1 time. However when I kill the app and reload it it is ok, I can read it (download the string) but then I upload it and again I'm not able to interact with the file. Here is the code of my function : My functionTo get the string I tried using the download…