-
Getting refreshed access token from Generated access tokem
Hi, I have an iOS objective c application connected with dropbox SDK. We are using generated access token to access apps folder from my BD account. client = [[DBUserClient alloc] initWithAccessToken:@"sl.BThRWss....."]; But this Generated access token expires after sometime. What is the possible solution so that it doesnt…
-
Using Powershell to get a token
I'm trying to make a simple powershell script to upload a file to a shared folder, then automatically generate a view only sharing link with a specified expiration time and a password. I made a dropbox app, set the permissions, generated a token, used the token and the REST api endpoints to upload the file, and then…
-
Access to file meta data on drop box
I have an application that needs to be able to walk through all the files on dropbox to gather the file meta data related to the files. I currently accomplish this in Python by walking down the drive/path and reading the file labels for the meta data. the code I use is: * target = input("Enter the Directory you want,…
-
Can't Access Business Account Root Folders from Dropbox Client App
Hello, Our company has a business advanced account, with members managed through Azure AD. At the root are two folders: one for my account, "Faulk", and another intended to house externally managed documents, call it "Work". Our intention is to manage the contents of Work externally through the API, uploading, downloading,…
-
Dropbox API, I can't upload a file to Dropbox (err. 401 Unauthorized)
Please, help: I can't upload a file to Dropbox (err. 401 Unauthorized) I am using Delphi XE3, Indy THttp component. Please, can you look at the header and body of the message being sent to see if there is an error? I got AccessToken on https://dropbox.github.io/dropbox-api-v2-explorer/#auth_token/from_oauth1 I assume it's…
-
I want to get shared_folder_id.
Hi, developpers! I have some shared-folders which is created by GUI. I want to manipulate these folders via API. How do I get these folder’s shared_folder_id of these folders. If I can get those, I want to operate those folders by Python.
-
How to create refresh token automatically?
Hi All, I am using the refresh token for my web application and it works fine. However, the process of generating a refresh token offline that the user has to run the java app is not user friendly; the user has to run the app, clicks the output link, and then hits an Allow button; after that the user needs to copy the…
-
Can I download an anti malware test file (eicar_com.zip) ?
Hi All, I am developing a tool that get all the files from users in my company and then scan them for viruses and malwares. I plan to use the eicar_com.zip from this testing site: https://www.eicar.org/download-anti-malware-testfile/ My question is can I upload that file and then download it using the Dropbox API SDK? Does…
-
Re: Help embedding a folder in my site
Is it possible to provide the complete HTML code for a web page like the one in this tutorial? I am a novice but need this capability exactly. If I could edit an existing sample that would be great. Thanks in advance, StanR
-
Embedder Create/Delete Files
can you use the Embedder option to delete or create folders im your account or is only to show the folders that you have?
-
Finding specific changes in file
Hello, I am working with the dropbox api on python. The files_list_folder_continue method returns all files that have been updated. However, I would like to extract the specific changes to these files in my code. Is there any way to do this? Thank you
-
Can I create a shared link for a file that containing virus?
I use the below code to create a shared link of my files. In case if the file containing virus, is the Dropbox API stop it or it is continue to create a share link for that file? listSharedLinksResult = dbxClient.sharing() .listSharedLinksBuilder() .withPath(fileId) .withDirectOnly(true) .start(); fileUrl =…
-
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…