-
How to get all shared links in a folder?
For example if I have 5 files in folder /images, how list all the shared links? And I dont want to share the folder. /images 1.jpg 2.jpg ... 5.jpg I tried https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \…
-
Error while generating token
I am trying to generate access token with the api https://api.dropbox.com/oauth2/token but i m getting error like {"error": "invalid_request", "error_description": "Can't use \"Authorization\" header and \"client_secret\" arg together."}|__|0=https://api.dropbox.com/oauth2/token|__|1={"error": "invalid_request",…
-
upload file on dropbox by java
Hi all I am working on creating a simple desktop program in Java, and I want to upload files via this program to Dropbox, but the problem is that the access token has a short life (temporary), how can I make the access token have a long life, or if I can use the App key and App secret? I need a very simple solution like a…
-
Javascript responseError in call to API function "files/move:2"
I'm working on a google app script to move a pdf file from one folder in Dropbox to another. I have it working in Postman but am having trouble getting it to work in my google app script. I am getting the following error: 'responseError in call to API function "files/move:2": request body: could not decode input as JSON' I…
-
I'm struggleing to download a single file from the API
Hello there, I'm struggleing to download a single file from the API. I'm supplying the app key and secret for App Authentication but I'm getting this error: Error in call to API function "files/download": Invalid authorization value in HTTP header "Authorization": "Basic YWFhYWFhYWFhYWFhYWFhOmJiYmJiYmJiYmJiYmJiYg==".…
-
Embedder not presenting its entire content
Hello, We are facing an issue while using the Dropbox iframe resource to present user's spreadsheets in our application. There is a problem causing the bottom part of the spreadsheet (where the tabs are located) is getting hidden from the visible screen area. After trying some workarounds with no success, we realized that…
-
Problem with empty storage after upgrade drobox10 in react
After update dropbox fromV4 to V10 in my laravel-react project "const mapState = state => { return{storageEmail:state.storage.user.result.name.email} }" does not work properly. When I put console.log (stage.storage.user) inside mapState it prints 20-30 times (stage.storage.user). The first 5 6 prints object user is empty.…
-
App folder duplication
I have create an App and I can connect to it but if I use another device, raspberry pi using dropbox uploader, I use the App secret and App Key to generate a Access Code, but in my App folder another folder is created with a (1) at the end. I'm assuming permissions are wrong somehow?
-
File upload to dropbox timeout/pauses after certain time. Objective c SDK for dropbox.
Hi, We have an iOS objective c app with dropbox sdk integrated. The app uploads large number of photos/files from local app storage to dropbox folder. When we start the upload process it uploads almost 40-45 images/files for example and pauses the upload process after certain time. We need to close the app and relaunch the…
-
Event log and delete folder.
Hi All, I want to write a tool that keep track all the team members and their files on Dropbox. The information needs to be updated in 5 minutes interval. If a member adds a file, delete a file or rename the file, my tool will add/delete/update that file on the file list. Currently if the member adds a folder, my file list…
-
malformed_path error in Swift
I am attempting to upload a file in Swift. The issue I have is that when I name the file with a string that I define myself, it works. But when I extract the file from the URL the upload does not work. Here is my code: let filename = "testfile.pdf" // example that does not work: // url is .../something/testfile.pdf // let…
-
How to get the admin memberID
Hi All, I want to keep track of the admin team member ID of the person who invite or remove the new user for the team. If I got the event and I can print it as: { "timestamp" : "2022-11-03T17:17:51Z", "event_category" : "members", "event_type" : { ".tag" : "member_change_status", "description" : "Changed member status…
-
How to keep track a list of active team members.
Hi All, I have a Business Advance Account. I want to keep track a list of active members of my team. So I have the following code to list all my team members; it works fine. static public void getUsers(DbxTeamTeamRequests team) { try { MembersListResult memberList = team.membersList(); memberCursor =…
-
Can I get the list of all the shared links to the single file?
Hi, Let say our team have a shared folder and it contains a single file name test.txt. Both member A, and member B create a shared link for test.txt. And the shared link url for A is different than B; let say they are www.dropbox.com.shareA, and www.dropbox.com.shareB . I am an admin and I have the file ID for test.txt. Do…
-
Simple file name retrieving using javascript
Hello, I'm really new to working with the dropbox API and was completely lost on how to retrieve file names. My main goal is to just have a list of the files' names that are uploaded to Dropbox display on my website as simple text. I've tried using the chooser that was in the documentation but I can't seem to get the file…
-
Refresh access token throws an exception
Hi, i implemented the DropBox Java SDK 5.4.4 and authorized the client via PKCE Authentication. Credentials are stored in a file. As documented, the access token is a short living token and the refresh token is the same with every new authentication. But when client tries to refresh the token (local Spring Boot application…
-
Refresh key does not work.
Hi, I created a trial account with the Business Advance Account; this account was used to test the features of Dropbox for my team. I created an app and wrote a test program to collect user’s information and monitor the event log using the Dropbox API Java SDK. The test program worked fine. When my trial ended, my company…
-
Resfresh Token using c# code for Oauth2.0
Hi, I need assisstance in Oauth2.0 usage. After I generated token I have following properties The moment that I do not understand is how to refresh token. Here I got ExpiredAt property that shows that this token will be expired. Assuming that it is already expired, how I must refresh it ? I checked provided samples of code…
-
Is there an API like Google Drive OAuth for Limited-Input Device Applications
Hello, I am a small printer engineer. I want to connect DropBox with my printer application. But my printer UI is so poor that I can't sign up for DropBox. GoogleDrive offers a sign-up method for smaller UIs. Is there something like this in Dropbox? (HP printers uses this procedure.) "OAuth 2.0 for TV and Limited-Input…
-
missing_scope Error
Hi what does this error means ? the re is no info in details, how to fix it ?
-
How to automatically generate an access code using the Dropbox API (Python)
I am currently working on a Python program where I automatically upload generated videos to Dropbox using the API and run the program on the cloud (so it's 100% required that it's 100% automated), but I can't seem to find a way to automatically generate new access tokens when the old one expires. The only method I seem to…
-
Triggering the Embedder using JavaScript
var options = { // Shared link to Dropbox file link: "https://www.dropbox.com/sh/keptcjl08q3wsid/AACui966iXcXPbagCJ2py2L-a?dl=0", file: { // Sets the zoom mode for embedded files. Defaults to 'best'. zoom: "best" // or "fit" }, folder: { // Sets the view mode for embedded folders. Defaults to 'list'. view: "list" // or…
-
[Errno 13] Permission Denied; Download Convert to String from Bytes; Upload Bytes Not String
#Solved! #Python SDK (python package) for Dropbox #Problem dbx.files_download_to_file(download_path="/downloads", path="/fileToDownload.txt") #returns [Errno 13] Permission Denied #Solution #Omit "/" before directory path name #download_path="downloads" dbx.files_download_to_file(download_path="downloads",…
-
Python Dropbox API slow performance
Hello Im not a professional programmer..I recently built an app on python running on raspberry pi for monitoring energy usage at home. it all works fine, I was using Dropbox app to save photo images temporarily. Images are approx 1mb saved every 30 mins and deleted once I have finished with them. this worked fine for a few…
-
Re: Dropbox search may not be working as expected
Greg, It appears that basic search is now working - however #tags are not working as expected. When I search for 2 tags it automatically searches as an or function - #tag1 or #tag2. Is there a way to only search for files containing both #tag1 and #tag2? Thank you
-
I have created a new Google Sheet on Dropbox. How to get data from this sheet via API?
I have created a new Google Sheet on Dropbox and added some rows. How to get data from this sheet via API?
-
Dropbox search may not be working as expected
Hello we know that on 2022-10-18 dropbox had problems with the search function. The solution to the problem was released on 2022-10-20. However, we still have problems with the search function. We use the dropbox-core-sdk java api version 5.1.1 do we need to perform a version upgrade? thanks Ciro
-
Re: Upload PDF files/proper encoding
I need help on this too
-
Create direct file link and and quota limit
Good morning, I want to implement dropbox in a development, the idea is to provide links with direct download, that is to say that it is downloaded automatically in the browser. It's possible? What limitation does dropbox have, by requests or by GB downloaded? I really just need direct download link thanks
-
The duration of the access token
Hello, I use pure javascript call api https://content.dropboxapi.com/2/files/upload and succeeded. But I'm having problems with the expiration of the access token. I want to ask is there a way to get the access token automatically? Or is it possible to set the access token time adjustment? I am looking forward to hearing…