-
How to upload file to dropbox using dropbox api
Hi all , i am integrating netsuite with dropbox to upload file from netsuite to dropbox . I have already done authentication and i am generating access token also . Now i am not getting proper api to upload file into dropbox . Iam just uaing post method to call drop box api. Iam not importing any dropbox library's. Can you…
-
"users/get_current_account": Invalid select user id format error.
I have a test program and it works fine in Windows 11. When I ported the code into Centos 7 and ran it, it returned an error: com.dropbox.core.BadRequestException: Error in call to API function "users/get_current_account": Invalid select user id format I am using Java 8 and Dropbox SDK version 4.0.1. This is portion of the…
-
Cannot access shared file
Hi. I try to get the temporary URL using the "get_temporary_link " with an id from a file that is shared with me and every time I got this response: 409: {"error_summary": "path/not_found/.", "error": {".tag": "path", "path": {".tag": "not_found"}}}. If I share the folder of the file, the request will be successful. Did…
-
too many requests to add members
Hi, I tried to use python to add a member to a folder. Everything worked fine at first, but unfortunately I misused the tool. Because instead of using a separate method for sending email messages, I added the same member every hour so that an email would be sent using add member and the custom message option. Now I have…
-
Rate limits are per user or per api key?
I have read about the general rate limiting system of the Dropbox API, Is this rate limiting system active on the calls to the API per user, or per app/project? Also if it is active per user, then does it mean if I use only one Dropbox account for uploading/downloading files and provide each instance of my app with the…
-
dbxClient.files().listFolder("") only returns 1 folder
I want to list all the files under my member ID. I use the following code and it only show 1 folder even though I have 8 folders starting from root. DbxClientV2 dbxClient = dbxTeamClient.asMember(teamMemberId); ListFolderResult fileRes = dbxClient.files().listFolder(""); List<Metadata> folders = fileRes.getEntries();…
-
oauth2/token endpoint not returning refresh_token
My app starts the oauth flow with a URL like this: https://www.dropbox.com/oauth2/authorize?response_type=code&client_id=<APP_CODE>&token_access_type=offline After the user authorizes the app and I get an authorization_code. And I use that code with the oath2/token endpoint, I am sending the following data: code =…
-
Does Dropbox business supports SCIM
Hii , Does dropbox supports SCIM protocol for user provisioning and deprovisioning. I checked DropBox documents, they provided http protocol based data crud operation in the site https://www.dropbox.com/developers/documentation/http/overview . Kindly, provide me doc link or details if the dropbox supports SCIM protocol.…
-
Incorrect content type returned when downloading images from dl.dropboxusercontent.com
A content-type of "application/json" is returned whenever requesting a public image hosted by dropbox. I've tested with both a png and jpg $ curl -I https://dl.dropboxusercontent.com/s/REDACTED/name.png?dl=1HTTP/2 200accept-ranges: bytescache-control: max-age=60content-disposition: attachment;…
-
Refresh token without using oauth
Dear all I am developing a web platform for managing a company file. It will mainly allow certain employees or external users to upload files on the company's dropbox account. Every actions like folder creation, file addition, etc, will be done exclusively on the company's dropbox account, so I do not need the…
-
Remove group from team folder, lack of documentation
Hi, after successfully adding a group to the team folder I've created (thanks again to Greg and Sdrawko) I also tried to remove that very group afterwards using /2/sharing/remove_folder_member with the following json parameter: { "leave_a_copy":false, "shared_folder_id":"3032413665", "member": { ".tag":"dropbox_id",…
-
Is posible upload file whit PHP and get public share link to file?
Hello, I want upload a file whit API PHP. But i want get the public link share to my users download the file from their home. Is posible?
-
Unable to update access token in postman.
-
Trouble moving individual file based on selection in listWidget: Python API
Hello, I'm struggling to interact with a file in a folder based on the selection in a listWidget. I have verified the selection works as I can remove selected items from the listWidget. I however am having difficult moving the file in dropbox to another folder. Here's my method: def archive(): itemList = [] currentIndex =…
-
Folder Issue - Path Not Found
Hi, I am trying to upload some videos to our Dropbox account and I am getting a path/not_found exception but the folder exists. The function I am using is: client.Files.GetMetadataAsync(folderId) and the NuGet version 6.13.0 Can you please help?
-
/list_folder/get_latest_cursor -> shared_link
Hello, I noticed that for get_latest_cursor you can add a shared_link parameter. If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is contained in the url. However, I have a problem with creating json with parameters in which there is a shared_link parameter. How…
-
Issue unsharing a folder using API
I have a issue related to shared folder unsharing. I gonna post the requests and corresponding results. Running 2/sharing/list_mountable_folders: curl -X POST https://api.dropboxapi.com/2/sharing/list_mountable_folders \ --header 'Authorization: Bearer sl.BQ...' \ --header 'Content-Type: application/json' \ --data '{}' ...…
-
Issue creating default specific name folder in DB teams account after authentication.
Hi, I have an iOS objective c application connected with dropbox api. It creates and access folder path "Apps/VA "after authentication. but recently when new user authenticate though the app using DB it creates a random root folder before Apps folder example : x-24a0a279/Apps/VI Is anyone else facing similar issue and is…
-
Dropbox API 409 error randomly
I am using access token to access dropbox API to `list_folder`, `download_file`, `downloadfile_zip`. And the result is 1. https://api.dropboxapi.com/2/files/list_folder api can sometimes return the results, I tried 10 times, 2 times get the results, the other 8 times with the exact same request parameters will get…
-
Dropbox Java SDK - does "listRevisions(String path)" return ordered list of revisions?
Hi, I need to know if the order of returned file versions is guaranteed for this method https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listRevisions(java.lang.String) ? I need to restore the latest previous version of a file if a version id is not provided for…
-
Creating an app that accesses a folder on my personal account
Hello, I'm having trouble getting started on this and was hoping to get some help. I want to make a photo gallery app. This app does not require end user to sign in to a dropbox account nor create one. I want the app simply to access a folder on my personal dropbox, which has the photos. Is this use case possible for me? I…
-
Error when adding team members to an initally created team folder via http endpoint
I'm making REST calls to the DBX HTTP endpoint from within SAP. My app has full dbx access and all possible rights. Creating a team folder works flawlessly but when trying to add members to that folder via the /sharing/add_folder_member API I get a strange error: Error in call to API function "sharing/add_folder_member":…
-
Dropbox list folder API not returning folder items.
Previously I have used the following API end-point to list all files in the folder https://api.dropboxapi.com/2/files/list_folder Now its not working as previous, it returns empty list Is there any new API update from Dropbox. ?
-
Access token not beeing refreshed automatically
my application support old dropbox and the new one. when creating the client i am creating it like this client = new DropboxTeamClient(request.AccessToken, request.RefreshToken,request.Expires,ClientId,ClientSecret); and then using it in this way first Way var members = await…
-
Java api : How to get already-created download link for a file?
public String uploadFile(List<File> list, String dropboxPath) throws Exception { StringBuilder sb = new StringBuilder(""); for (File f : list) { try (FileInputStream in = new FileInputStream(f)) { UploadProgress prog = new UploadProgress(f); FileMetadata metadata = client.files().uploadBuilder(dropboxPath +…
-
Listing files using Dropbox Python
I am trying to access files stored on my Dropbox using the offical Dropbox SDK for Python.. I tried a few ways of putting in the directory name whose contents I wanted to have listed based off of a script taken from this link https://practicaldatascience.co.uk/data-science/how-to-use-the-dropbox-api-with-python. Following…
-
Re: can i pass the email and password in the url of dropbox to automatically login to the dropbox
Hi, with the auth url "https://www.dropbox.com/oauth2/authorize/?client_id=<key>&token_access_type=offline&response_type=code", it require user login my dropbox account first, and then return a code. it is not make sense. If every user can login my account, why we need the secret key ?? With a request link to upload far…
-
Shared folder between two premium account
I'm using java SDK 4.0.1 and the sharing function doesn't work correctly with a premium account dropbox. From the original account, my folder is correctly shared with the user, but he can't see the folder. If i use a free account there is no problem. Any idea ?
-
API usage queries
Hello Dropbox team,We are planning to add a feature in our application where users can import the documents from dropbox. I have got the following questions. * As per the plans here https://www.dropbox.com/business/plans-comparison, the limit for API calls is only for data transport. Transfer data from your existing…
-
Getting an upload error - not sure why
I recently ran into the issue of the long lived tokens no longer working, so I needed to upgrade to the latest API and change the access. I am now running into an exception uploading content. My old upload code was this (and nested other uploads if the first was successful), but this API was no longer present.…