-
Malformed file when uploading excel file with python sdk
Hi there, I get a malformed file when I try upload a simple excel file with python sdk my code looks like: xls = 'Path\\xxxxx.xlsx' try: with open(xls, 'r') as upxls: dbx.files_upload(upxlsx.read(),'/test.xlsx', mode=dropbox.files.WriteMode("overwrite")) except Exception as e: print e Is there a bug in my code or the…
-
Folder member access level
Hi, I am using the .NET SDK and I am trying to add members to a shared folders like this: newMembers.Add(new AddMember(new MemberSelector.Email(user.Email), accessLevel2.AsEditor)); And then do the AddFolderMembersAsync. However I am unsure of how to set the accessLevel properly - as right now it is set to viewer…
-
Link to uploaded file in dropbox.com
After a dropbox App upload a file, how to get a complete URL so that user can browse the uploaded file in dropbox.com website?
-
409 error while trying to use API abroad
I've been using the Dropbox API in a desktop app in the statistical computing language R. It has worked beautifully while living in the United States. I'm staying in France for a few months, and I can no longer download files through the API. Every time I try, I get the error message: "Client error: (409) Conflict". Do I…
-
Chooser search doesn't appear to support full text search of content
I implemented the dropbox chooser in a web app. Within the chooser, I'm logged in as myself. When searching, it searches file names but not file contents. If I go directly to dropbox.com I can search file contents (using the same account). Note that my account is a business account. Can anyone confirm that the chooser does…
-
Permission Exception Thrown When Moving/Deleting
I am trying to move a file from within a Shared Dropbox Folder using the Business API. I am attempting to do this through a 'DropBoxClient' instance. I first create a 'DropBoxTeamClient' using the access token specific to my dropbox application and then I impersonate a user that has Team Admin access and convert the…
-
Dopbox API downloading xls file as pdf
I was looking at the dropbox API and I noticed that download doesn't take a file format to download as and getPreview doesn't convert .xls to .pdf , but does an html conversion. Is there another way to convert .xls to .pdf through the API even it involves multiple steps?
-
How to download a directory from shareable link using Dropbox API in Python ?
Hi folks, I want to download the directory and its files from a shareable link programmatically. I cannot find a good approach for that can anyone help me with suggestions? Thanks
-
oAuth 2.0 has stopped working since electron (Chromium client)
oAuth 2.0 has stopped working from electron client v1.8.4 (Chromium client, in Windows and Mac), for direct Dropbox accounts. Right now it only works with Google accounts. Are you experiencing troubles with this? Thank you!
-
Large Data Upload
Now have large data upload working, only 1 thing I cant do is share the folder. Errors on bold text, how do I get the parent shared folder ID after upload. Private Async Function ChunkUpload(path As [String], stream As FileStream, chunkSize As Integer, dbx As DropboxClient) As Task Dim numChunks As Integer =…
-
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…