API
Discussion List
-
Replicate Dropbox Transfer Functionality VIA API
I really enjoy the use of the Dropbox Transfer functionality to send copies of files to end users that may or may not have a Dropbox account, require that the use a password, be notified that the file was downloaded and have the access to the files deactivated after a deadline. My understanding is that there is currently…
-
Javascript SDK on Next JS Server Components / Routes
Hi, I am trying to use the dropbox sdk in a next js 14 application. I want to download files on the server and pass them to the client. const dbx = new Dropbox({ accessToken });const response = await dbx.filesDownload({ path: "file/path"}) However when fetching files on the server I am getting an error: Error fetching file…
-
Error 410 thumbnailUrl
I am using the dropbox chooser to save file ids from dropbox to my backend. The thumbnailUrl generated by dropbox works for sometime but then starts throwing a 410. The file was not moved. Separate question: how can I generate a persistent thumbnail url that is not affected when the file is moved?
-
pkce web auth does not work
I have app and want to authorize using this url: https://www.dropbox.com/oauth2/authorize?token_access_type=offline&response_type=code&code_challenge_method=S256&client_id=up9dc6vspz96ghi&code_challenge=_6rj6cf1qTS7Ia6slqNF9hjQnynzBuITIyKJ8K-lVUc After that I chose "sign in with google", chose my google account, enter…
-
API access with refresh_token in python
I have an app that I built in python and I'm trying to have sustained access to read from files in a folder I've gone through the entire process of getting the user (myself) to sign in and get an initial refresh_token and access_token (described here ). When I use this initial access_token to do things, it works fine…
-
Open Dropbox Desktop App from Web Links
I am currently developing a web application using Next.js where users can access files stored in Dropbox through links. My goal is to enhance the user experience by allowing links clicked within my app to open directly in the Dropbox desktop app if it is installed on the user's computer. If the desktop app is not…
-
Extract storage usage via API
Hello, I want to extract the same data for members and storage users that can be extracted using the platform, but instead of doing it manually, it should be done through the API. I couldn’t find any information on this topic in the community or the documentation.
-
Create App
I was able to create an app last week. Now my App and i am unable to create apps now. I had a Python program accessing my folders. Now the app is gone. Shat happened i need to create an app Thanks, Kristine M.
-
Using API in Salesforce with Named and External Credentials and OAuth2 upload OK but call to file sh
I have setup OAuth2 in Salesforce along with Named Credentials and External Credentials. I am calling the File Upload API in the code..that works fine with all the above. I setup a second Named Credential that uses the shared External Credentials that the Upload API uses. The only real reason for this is the accomodate the…
-
App created and showing in App Console not displaying its folder in home screen
I have created an app under the developer mode, and I see it under the App Console, but when I navigate to my home screen, I cannot see the folder. The app permissions seems to be fine: Status: Development Permission type: Scoped App (App Folder)
-
"Couldn't resolve host name" error
I made app with visual studio 2015 and used libcurl. but this shows error "Couldn't resolve host name" CURL *curl; CURLcode res; std::string readBuffer; // Your Dropbox access token std::string accessToken = "****"; // File to upload std::string filePath = "D://test.txt"; std::string fileName = "file.txt"; // Name of the…
-
API upload corrupted
Hi, I'm a novice coder. Can someone take a look at the following method and tell me if I'm doing something wrong? Sometimes the files I upload to dropbox are corrupts. I'm working with large audiovisual files. This doesn't always happen. Only occasionally. # Uploads file to dropbox def upload_file_to_dropbox(self,…
-
Why is my local DropBox folder not readable with java?
I am trying to read files in DropBox folders on my Mac with java. The following code: String dir = "/Users/brucewilcox/Library/CloudStorage/Dropbox/Apps/Form8949DotCom/taxdochub-forms-pdf/XXXX"; File directory = new File( dir ); boolean canRead = directory.canRead( ); String message = String.format( "canRead is: %s",…
-
Dropbox generate Auth Token thru java
Hi, I am able to generate Access Token manually thru the dropbox website which is working fine. But expires after a few hours, Is there any method in Java that can generate access token programmatically? I would like to test this out so that we can start doing uploads and downloads by generating access tokens.
-
How to determine admin user to be used in select_admin for team folders?
I am using below api to get the list of all users. How to determine the admin from these users I need to use his/her id for select_admin: in subsequent calls for listing team folders const url = 'https://api.dropboxapi.com/2/team/members/list_v2';const headers = {Authorization: `Bearer ${accessToken}`,'Content-Type':…
-
Downloading A file from a shared link using the API
Hello, I've tried downloading an Audio File from a share link using the suggested method on dropbox-sdk-js but I keep getting an error: Error downloading file: DropboxResponseError: Response failed with a 401 code Here's my code: import { Dropbox } from "dropbox"; // Inside the component: // Download function const…
-
API Rate Limits and Restrictions for Dropbox Plans
I am currently integrating Dropbox with a software solution for my customers and would like to better understand the API rate limits and usage restrictions for different Dropbox plans. While I have reviewed the documentation, I found that the specific limitations and restrictions for each plan, including Dropbox Business…
-
File Download API Exception
Hello @Greg-DB Recently, there were changes made in the code related to Dropbox Teamspaces. We are now facing errors sometimes when we download files that were notified with file paths by webhooks. Using webhooks, we obtain the path of the recently added file in the account and then download using Dropbox APIs. In the…
-
Connecting a Seeed ESP32C3 to DropBox [Arduino]
I am trying to figure out how to upload a file on an ESP32C3 [which uses the Arduino IDE] to Dropbox. I am using the generic HTTP API as a basis for doing so. I am effectively converting "curl" commands to Arduino code. But sods law, I was stopped at the last post. I have list files working, and I have download files…
-
Chunky Comic Reader only shows certain Dropbox folders
I've used Chunky Comic reader for years because it's got a great Dropbox integration- I can browse my whole Dropbox hierarchy and import comics I've bought. But, after getting a new iPad recently, Dropbox has stopped working. Nothing's changed on the app side (it hasn't been updated in years). When I load Dropbox on the…
-
(Beginner) API to create file requests
Good afternoon, I am working on a project that uses Qualtrics (a web-based survey/forms) platform to create Dropbox file requests to allow the user to securely upload files to go along with their form submission to my Dropbox folder. All file requests would be from my account. While I have gotten the basics working,…
-
My app has lost access to our team's shared files suddenly after ~10 years
Hello, On the 20th of September, my app that responds to webhook events by using a cursor to synchronize a local database with a list of share links for various files and folders of importance suddenly lost access to the shared folder. The first thing that started happening was a 409 error with a path not found item in the…
-
Getting a list of files using HTTP API in shell with Curl
I run this and get empty response, despite having created a /Homework/math curl -X POST https://api.dropboxapi.com/2/files/list_folder \ --header "Authorization: Basic <token>" \ --header "Content-Type: application/json" \ --data…
-
Getting not_allowed error when requesting temporary_link
Hi, I am trying to fetch the temporary link of a file in my dropbox. I created a scoped app and the file is inside the application folder. I am able to list the files in the folder and sub folders but not able to get the temporary link Please help
-
Dropbox support SFTP uploads and downloads
Hi, Currently does dropbox support SFTP thru api's in java(JSch) , c# etc?
-
Upload Interface
Hi there. We're a major national wedding photography studio. We currently use File Requests for photographers to upload their RAW images. This process is slow for some users, and doesn't provide a great UI. I stumbled across this developer area. I'm wondering if it's possible to build a custom UI for File Requests that…
-
Handling download_failed Errors in Dropbox API Jobs
I have a cron script that fetches PDF URLs and saves them to our Dropbox. Sometimes, I encounter a download_failed error for some files. When using the save_url endpoint, I receive an asyn_job_id, which I then use to check the job status via the check_job_status endpoint. The response I get looks like this: { ".tag":…
-
hls video streaming - m3u access?
Hi, I’m creating a Python API using FastAPI and Dropbox SDK. I’m trying to get a streamable video link similar to what Dropbox uses in their player (https://previews.dropbox.com/p/hls_master_playlist/...), but Dropbox's files_get_temporary_link method refuses to stream video directly in the web browser (it triggers a…
-
How can I figure out the path?
I have a directory called App and inside it there is another directory crowpro (App/crowpro). But when I try to test dbx.filesListFolder({path: ''}) .then(function(response) { console.log(response); }) .catch(function(error) { console.log(error); }); I get error: { error_summary: 'path/not_found/...', error: { '.tag':…
-
API detects of wrong/non-existing content change
Hello, I have an issue with calling /2/files/list_folder/longpoll. For whatever reason, this endpoint activates from and detects changes that are not on the observed folder, but outside it. Something that according documentation shouldn't happen, but it happens. This disturbs application workflow and significantly decrease…