-
Uploaded Files are Currupt (Flask, Python)
Hey, guys so I'm experimenting with the Dropbox python API using Flask. I managed to upload files but all the files I've uploaded are only 16 bytes in size and are unable to be opened. here's the code I'm using. HTML Form: <div style="text-align: center" class="form"> <form class="needs-validation" novalidate…
-
Dropbox PHP, How to set a password to shared link using php_sdk
I saw when I get the shared link of the recent uploaded file or folder, it can be protected with password. But I am not sure how to do it. $response = $dropbox->postToAPI("/sharing/create_shared_link_with_settings", ["path" => "/BABERZAMAN/hello-world.txt", "settings" => ['requested_visibility' => 'public']]); $data =…
-
Can't login with C# WebBrowser
Dear support, I'm using WebBrowser control to get the token with the Uri generated by DropboxOAuth2Helper.GetAuthorizeUri method. However, when the webbrowser_Navigated event fires, it stucks at this Url…
-
Upload Images and Pdf from ReactJs Web-App
I need to upload images, voideo and Pdf from from ReactKs Web-Application using DropBox UI
-
Add custom metadata to folder
I see you can add properties to a file, is there anything availble for folders?
-
Re: Does Paper still support export as Markdown?
Okay, thanks. I'm trying to download dropbox paper file via files/export API, but arrived html is broken with images. Only 1st image file is live(embedded as base64), but others are dead, `src="https://paper.dropboxstatic.com/static/img/ace/emoji/2753.png"` is embedded. Now I only wish fix this bug, or is there any way to…
-
Can't get access token uses javascript fetch request
Hi everyone, l try to get access token uses javascript fetch in the next way: fetch('https://api.dropboxapi.com/oauth2/token', { method: 'POST', code: AUTHORIZATION_CODE, grant_type: 'authorization_code', redirect_uri: `${REDIRECT_URI}${window.location.pathname}`, headers: { 'Content-Type':…
-
Preview Mp3/Wav Files with Api
I want to preview mp3/wav files with using Api. I've read some topics but they were about doc,pdf,xls files. Can i do it?
-
Javascript Timestamp Format
Hello everyone. I'm using the Javascript SDK to create File Requests via the API. Everything was working fine, but I recently upgraded to a Dropbox Professional account and tried to add the "deadline" field. The documentation on GitHub merely says to provide a "Timestamp" but doesn't explain what format this timestamp…
-
Create shared link for each file in folder, then retrieve those links for database insertion
I'm curious how best to achieve the end-result mentioned in the title? My client has a few folders with a large number of documents that he would like to create shared links for and then insert those links into a MySQL database (rather then going through and creating each link manually, then copy and pasting into the…
-
TaskListFolderAndAccountId does not list all files in the folder
My app is using TaskListFolderAndAccountId to get the list of files and folders from the root directory. It was working fine and list all the files and folders in the root directory without any problem. But recently, without making any changes of codes in the app, it does not list all files and folders, only some are…
-
Error 400 with Download API
Hello Experts, I have a business requirement in which files could directly be uploaded from dropbox through my javascript based web application(SAPUI5). My application is SAP UI5 based web application and the files chosen from dropbox would be stored inSAP servers. To achieve this integration, I am using Dropbox chooser to…
-
Why do Digital Photo Frames requires FULL READ AND WRITE access to your entire Dropbox folder?
Digital Picture Frames like https://www.amazon.com/gp/product/B00MTWDG6W/ and https://www.amazon.com/gp/product/B012FRC3PA/ can automatically pull photos from your Dropbox folder. ...but they require FULL READ AND WRITE access to your ENTIRE Dropbox folder. (See screengrab below) They say this is a requirements from…
-
Permissions / Scopes on API (View Folder + Download Only)
Hey guys! I'm currently developing a small program for me and other users and would like know if there's a way to have an "Download Only + View Folder" API Token for my C# program? I'd like to restrict it to download-only + view folder for the app, so I can prevent people to screw around with the token if they ever would…
-
Some questions about security
Hello everyone! I have some questions about the API security. The application I am programming right now is connected to my dropbox account registered as an App that is using a different directory. The problem is the token... For now the token is in a string variable inside the code, because the app will be for other users…
-
I want to get a list of files in a shared folder using Objective-C SDK
I'm using Objective-c SDK v2. I used the initWithAccessToken method of the DBTeamClient class to get an instance of the DBUserClient class. I used the listFolders method of sharingRoutes of DBUserClient to get the shared folders that exist in the root. But, I don't know how to get the list of files that exist in the…
-
Upload a file via Dropbox API and CURL
Hi everybody, Complete newbie here, so the answer will most likely be some sort of syntax error. For work I am running scripts on a server and I would like to get the results automatically uploaded to some dropbox folder of mine. Here is what I am executing, based on some random googling: curl -X POST…
-
Is it possible to share a folder using custom extensions?
I am working on an extension for my company's app and was wondering if it is possible to share a folder using extensions? In other words, instead of specifying a specific extension (such as .jpg) and then finding a .jpg clicking share-> [extension] is it possible to share the parent folder id itself and then download the…
-
Using API to get list folder
Hi! I am trying to use Matlab to get the contents of a folder, my code is: % Generate the custom header headerFields = {'Authorization', ['Bearer ', dropboxAccessToken]}; headerFields{2,1} = 'Content-Type'; headerFields{2,2} = 'application/json'; headerFields = string(headerFields); % Set the options for WEBWRITE opt =…
-
Change "App Folder Name" on dashboard - implications?
I'm using the Dropbox API in my iOS app to allow users to sync data files to their DB account. With some lack of foresight, I chose an App Folder Name that is not conducive to future expansion, therefore I'd like to change it. What are the implications of doing so, *specifically* in regards to files that have already been…
-
Is there a JavaScript Embedding API for Paper
We used to embed Hackpads using the JavaScript Embedding API. Is there a similar thing available for Dropbox Paper and/or is it something similar coming soon? Is there an alternative way of embedding Paper Docs?
-
Embedding Dropbox Paper docs (display in iframe)- is this on the roadmap?
I'd love to be able to use Dropbox Paper for our Standard Operating Procedures, but Paper docs are isolationist in that they can't be embedded elsewhere, like Google Docs. We want to embed them in our Project Management software so the Paper doc is in context with the tasks, without forcing our admin to open up separate…
-
I only need readonly access. Why is there no such permission type?
I don't want full access to a user's dropbox. Why isn't there a read-only option? Migrating from v1 "images only" to v2 is a pain as it is.
-
Is there any way for app to have read-only permission on all dropbox files?
Hey guys, I want to develop app for embedding dropbox file previews into web pages, however it looks like my app will need 'Full Dropbox' file type permission which I don't really need. I was wondering whenever there is (even undocumented) way to have app with read-only permission to dropbox files. The closest analogy…
-
How to restrict an app to only have read access to its app folder
I'm working on an app that only needs read access to its app folder, however I only seem to have the choice of read/write access to an app folder or the whole dropbox account. How can I restrict the app to only have read access to only its app folder? If this can't be achieved with a normal Dropbox Pro account, can it be…
-
Write-only access token
I'm trying to create a web interface for users to upload files directly to a folder in my dropbox, rather than their own. I was planning on hard-coding a token that only has write permission into the web app and using the upload endpoints on the API, but the available scopes aren't what I expected. I don't seem to be able…
-
Dropbox Saver suddenly stops working
I have a membership site in which I use the Dropbox Saver alongside the Google Drive saver button to allow members to download files. It's been working great over the last few years, but today, suddenly, without me making any changes, the dropbox saver button suddenly stopped working across the site. The Google Drive…
-
restore files,but return error: invalid_revision with Picture modified a few months ago
Hi, I am confused about the correct use of the restore api. i find some pictures in my account which are upload just several days, delete it and restore,everything is ok! but, if these pictures are upload several months ago, delete it and restore,i will get an error from server:invalid_revision, if i go to…
-
Trying to Move Files Between Folders with API
I'm trying to move files between folders using the HTTP API. I used this endpoint to get all of the files inside a specific folder: https://api.dropboxapi.com/2/files/list_folder. It returns this response as expected: { "entries": [ { ".tag": "file", "name": "ui-debug.log", "path_lower": "/apps/articles/new/ui-debug.log",…
-
Re: API access token expired
Hola, estoy generando un token de acceso para Dropbox desde una cuenta en la que soy editor pero no soy propietario. Mi plan es Dropbox Basic de 2Gb. Al igual que el caso anterior, me generó en principio un Token de 142 caracteres, pero luego generé un Token de 64 caracteres pero expira igual. Que puede estar influyendo…