-
Error in call to API function ""users/get_current_account"":
after getting a token using this method. client = new DropboxTeamClient(request.AccessToken, request.RefreshToken, request.Expires, ClientIdBusiness, ClientSecretBusiness); then i am trying to get the account using var account = await client.AsMember(request.AsMember).Users.GetCurrentAccountAsync(); but then i am getting…
-
Bash Upload Script
Hello, I'm trying to create a script to for each over a folder, and upload to the API but I cannot figure out where I'm going wrong. This is the script I have so far, any help would be appreciated 🙂 Spoiler #!/bin/bashUPLOAD_PATH="Backups"if [[ -f '/root/dropbox.cfg' ]]; then echo 'It appears you have set an API Key for…
-
Exchanging code for token
I already have a topic, but I asked the wrong question and messed everything up. I think me need to create the right thread for the right question here is the code taken from the official dropbox source. I just tried to figure it out by pulling it into an empty project in parts, but when I gave up. turned to the original…
-
Use javascript to create and write file csv by api
Hello, I want to use Javascript call API to create csv file (with data) on Dropbox. I have read the API https://content.dropboxapi.com/2/files/upload As I understand it, is this API used to upload files from local? But that's not the direction I want. Because I'm using a system called Adaptive, that system uses pure…
-
Long-lived access token deprecation
Hi 👋 , I know Dropbox announced to gradually drop support for long-lived access tokens without using refresh_token in 2021. I still have some applications that use the legacy long-lived tokens with no issues at all. I'm able to use existing tokens and even create long-lived tokens without using refresh_tokens, so my…
-
Does refresh token don't expire? Oct. 2022
Hi. Just wanted a confirmation that as of this day Oct, 18. Refresh token still don't expires. Thanks so much in advance.
-
Getting Conflict 409 after successful attempts to access pwd-protected shared link
Hi, I'm using get_shared_link_metadata API with the same shared link and the correct "link_password" parameter and after multiple successful requests I start getting 409 Conflict response status and this response body: {"error_summary": "shared_link_access_denied/..", "error": {".tag": "shared_link_access_denied"}} Is this…
-
It must exactly match one of the redirect URIs you've pre-configured for your app (including the pat
I'm completely confused. I do it according to the documentation, if I make a link with my hands in my browser and insert the AppiKey, then everything works, if I try to do it through the code, I get this Invalid redirect_uri message. It must exactly match one of the redirect URIs you've pre-configured for your app…
-
API Lock Files Batch works for some files and then stops working
Hi, we have build a script which locks files in the dropbox. For a big amount of roughly 100.000 files it works great. We have split the data in chunks of 2500 files, so that the API works. Doing an API Call for each 2500 files. After that we get an error 5xx. Restarting the script leads to another working 100.000 files.…
-
`BadInputError: "No auth function for given request"` ...but I did.... So, what is happening?
It was working when I used the straight access token, but having to approve a new token every time the script was run was infeasible and irritating. So, I have migrated over to using a refresh_token, which has been successfully acquired and saved. Now I am attempting to test uploading file contents to a designated file in…
-
#tags in the Python API
Hey! Is it possible to add #tags to files and/or folders using the API? I had a quick scan of the docs but couldn’t find it and the search function doesn’t work. Anyone know?
-
API Copy Folder Error
Hi, i succesfuly copy files from one folder to another with the copy_v2, but when I try to copy a whole folder, it throws me an error: {"error_summary": "from_lookup/malformed_path/.", "error": {".tag": "from_lookup", "from_lookup": {".tag": "malformed_path"}}} Let's say that I want to copy the folder "content" from…
-
Calculate folder size to identify empty/0 bytes folders using python API
Am trying to implement an API automation process to identify empty/0 bytes folders so I can delete them, similar to what was asked here. I can't find 'size' attribute for folders in my requests response, my code is:- import requestsimport jsonurl = "https://api.dropboxapi.com/2/files/list_folder"headers = {"Authorization":…
-
Error 403 When tring to create a Folder through the API
Hello, I keep receiving this same error when I try to create a folder or perform any other action with the Dropbox API. As the connection is valid and I already try to give every scope access, Is there anything I am missing to perform any action with the dropbox API? Thank you very much for the support.
-
files_copy_batch_v2 api seems extremely slow
Hi, I've written a python script which handles merging updates from a patch directory into the main data directory. Simply it takes a list of files from the patch directory, copies them into the build dir and tags the patch directory as closed. If I do this manually and let the Dropbox client handle it, it takes about 5-10…
-
Dropbox API v2 listFolder sort files by creation time
Hi I am using Java SDK of Dropbox API v2 in my Android app. I use listFolder() to list the contents of the folder. This folder only has files in it, no sub folders. ListFolderResult result = mDbxClient.files().listFolder(somePath); I want 'result' to contain files ordered by: 1. Creation time on server 2. Name of file How…
-
Intermittent error malformed path
Submitting via Zoho Flow interittently we get a failure stating malformed path. As this works 99% of the time I am at a loss as to what to do about it. In this example yesterday we received: An error occurred in 's servers.Number of reruns completed: 7 Number of reruns remaining: 1 Last rerun at: 3:19 AM, Today Next rerun…
-
How to get the file type of a file in Dropbox account.
I need to get the detail information of a file in the Dropbox account. There are 2 fields I could not find in the file metadata are: - File version number. - File type. For the file version, I can have the revision number on that filed, even though it is kind of strange because it a string of letters not a string of…
-
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?