API
Discussion List
-
Dropbox API 409 "not_allowed" error on get_temporary_link
Hi, I’m using the Dropbox API to list all files in a shared folder and generate downloadable links for them. This was working fine yesterday, but today I’m getting a 409 error (not_allowed) only on the get_temporary_link API call. However, I can still list the files and retrieve their metadata. Here are the details: * I…
-
WebHOOk
I created App and setup webhook but it's not triggered. I uploaded and updated files in dropBox but webHook doesn't trigger. I don't know what the issue. {lease help to resolve this issue
-
Creating an integration for both Regular and Business users
I created a Dropbox app that allows users to upload files into my app. All was well until I realized, that users with Dropbox for Business can't import files, because I needed different scopes for them, and a different flow in my backend code (endpoints, headers etc). Currently, to the best of my knowledge after…
-
Dropbox Transfer Workarounds for Lack of API
Dear Dropbox Community, Here is my current manual workflow that I wish to be able to automate. Via the Dropbox website I create transfers to send documents securely to our faculty and I set both a password and an expiration date for the access. Which I then send to the instructors a separate email with the password. Since…
-
The API key I created yesterday has expired today
Hello everyone. Yesterday I created an API key to use in my Python bot. I also made this bot run every day with Cron Job, but when I looked at the logs today, I saw that the API key has expired. I wonder if the API key needs to be regenerated every day? log output: [2024-08-29 05:34:42.655247] - ERROR: Error uploading…
-
Video file uploaded via api doesn't play on DropBox.
I wrote lib on C# using DropBox API for upload videofiles, I can upload video files correct, but these files doesn't play on DropBox. I saw this answer https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-uploaded-via-api-cant-be-played/m-p/287701#M17592 but I don't understand how it's help me find specific…
-
Offline files not downloaded when accessed programmatically (macOS)
Not sure where best to address this question, but it would appear to be API-related... We've got an existing app which has been working OK until recently on both Windows and Mac platforms, which accesses XML files stored in the user's local Dropbox folder. (The app is mainly cross-platform C++ with a thin layer of…
-
The system account was not connected for offline access error when connecting Dropbox OAuth 2 Moodle
I was trying to connect Dropbox to the Moodle LMS. When I try to connect to a system account icon, I get this error. The system account was not connected for offline access I have added the API key, Secret, redirect links and also configured endpoints and user field mappings. Is this linked to Moodle or Dropbox API? I am…
-
Dropbox API Problems
Hi, so I am using Node.js and I realized that I need to refresh the access_token since it expires every so often. I got a refresh token and am trying to get an access token and set it as a variable in the class but I keep on getting a 400 error code with the message "The request parameters do not match any of the supported…
-
Search v2 Modifcation date filter
Does the `/files/search_v2` support filtering by date (modifed or created)?
-
Bearer Token
I have a Bearer Token that I got (I don't remember how) a few years ago, a Token that I would now like to change for security reasons. In the web interface, I can't find anywhere to generate a new Token (I don't have any app created and I have a token that currently works). Can I create a new Token and deactivate the old…
-
Python SDK Set Custom Quota
We have working version of our code using Python SDK but having trouble testing. What do I put for 20GB of data for custom_quota Just want to confirm do I put 20 or 20 * 1024 * 1024 * 1024 for custom_quota and can I user user email instead of member_id try: response = dbx.team_member_space_limits_set_custom_quota(…
-
api
the api does not work for me to delete data on the team account, please help, does not see the folder space, just empty import dropbox from datetime import datetime, timedelta import time # Замените 'YOUR_TEAM_ACCESS_TOKEN' на ваш реальный токен доступа к командному Dropbox ACCESS_TOKEN = '' team_dbx =…
-
Missing Apps folder for some users on our Dropbox team
Some users within our organization do not seem to have an Apps folder created for them within their user folder. Our dropbox application relies on this location as a common repository of files that are used as part of a content creation process, but the app will fail for all of the users who do not have this folder. As of…
-
Error reading file async
I had a problem to download a file ( an Image ) and someone recommended to me to do asynchronously. I changed my code so : Async Function _take_file(ByVal _file As String) As Task .... Dim client As HttpClient = New HttpClient() Dim _Request As HttpRequestMessage = New HttpRequestMessage(HttpMethod.Post,…
-
Strange work of API method /files/search_v2
I want to search for files by name in the path `/first/folder/print` using the API `/files/search_v2`, but the API returns files from another folder `/first/folder/print-source`. Is this a bug or a feature?
-
No way to disconnect the OAuth2 integration app from Dropbox via an API call
As there is no way to totally disconnect the OAuth2 integration app via an API call, what best can be done to not to get hit by webhooks for users who have disconnected our Dropbox integration. I am looking for a work around, or what can be next best possible steps. I understand we can revoke the tokens and delete the same…
-
How to programmatically disconnect the Dropbox integration OAuth2 app on behalf of my user?
Hi there, I have developed an OAuth2 integration of our app with Dropbox. I would like to know what is the API endpoint for disconnecting the integration on behalf of our app's user, who say wants to disconnect the 2 way communication between our app and Dropbox. I could find the /token/revoke endpoint but same is just…
-
filesGetTemporaryUploadLink - 404
Hi! I'm user of dropbox basic and I'm generating upload link but the link following to 404 page. I have one folder /home/products and one app /Apps/****** with folder /products I did try every combination to get proper link but its impossible for me. here is list of paths witch I did provide - /products -…
-
generation of preview for business user
Hello, i developed an integration for our applications that allows user to create a sharing link using dropbox api method "sharingCreateSharedLink". I tested it using some personal account and had no problem, but it does not work with a business account of a colleague. this method takes two params: short_url and path…
-
app without permission for contact into
We want our app to just have read/write permission to the app folder for backing up some important data for our app users. We don't care to know personal information like username, email and location of the user but it seems like we cannot unselect the account_info.read permission forcing us to have access to personal…
-
App Folders and Business access
I am hoping someone can help with this as I am not getting anywhere and am being past from pillar to post between support desks! Previously I have a variety of 3rd party apps intergrated with my personal dropbox - one being Zapier for example. Since upgrading to Business Zapier and every other 3rd party app can only see my…
-
Download file by Api ( Files/download ) , no error no file
I try to dowload a file by a Api . I have no error and a response with "OK" but i don't see the file. Have i donwloaded it ? where ? can i set up the local directory where save it ? This is my code : ( a big doubt is in content-Type ) Dim _command As String _command = "https://content.dropboxapi.com/2/files/download" Dim…
-
Drop box js sdk
this.dbxAuth = new DropboxAuth({clientId: dropboxConfig.clientId,clientSecret: dropboxConfig.clientSecret,}) i am stroing the refreshToken from const tokenResponse = await this.dbxAuth.getAccessTokenFromCode( dropboxConfig.redirectUri, code,) this method . const scopes =…
-
Property 'auth' does not exist on type 'Dropbox'
auth export class DropboxService {private dbx: Dropbox constructor() {this.dbx = new Dropbox({fetch,clientId: dropboxConfig.clientId,clientSecret: dropboxConfig.clientSecret,})} generateAuthUrl() {const authUrl = this.dbx.auth.getAuthenticationUrl(dropboxConfig.redirectUri,undefined,'code',)return authUrl} shows error auth…
-
Type 'DropboxClientsManager' has no member 'setupWithAppKey'
I'm running SwiftyDropbox version 10.1.0 on XCode 15.4 with a MacOS deployment target of 14.5. When i copy and paste the code in the tutorial here: https://dropbox.github.io/SwiftyDropbox/api-docs/latest/ I get an error: SwiftyDropbox/DropboxClientsManager.swift:53: Precondition failed: Only call…
-
Inconsistent Content Hash Values from Dropbox Endpoints
Hello, I hope you're all doing well. I've come across an issue while working with the Dropbox API, specifically related to content hash values, and I'd like to seek your insights on this matter. * List Folder and Thumbnail Batch Endpoints: When using the "List Folder" and "Thumbnail Batch" endpoints, I observed that the…
-
Error 404 Server remote no found
I have an expired token so to get a new one. I try with this code but i have the error Error 404 Server remote no found. I use https://api.dropbox.com and https://api.dropboxapi.com with the same result. Dim _command As String _command = "https://api.dropboxapi.com/oauth2/token " _command += " -d grant_type=refresh_token "…
-
route_access_denied
Hi, Would someone be able to help with the following error 401 route_access_denied. I've encountered the above a couple of times now and would like some advice on best to handle it? We use refresh tokens to obtain new access tokens, which appears to be working fine (did encounter and issue with tokens previously - tokens…
-
Questions using chooser
I encountered several questions when using the js of chooser. I would like to ask for advice.Thanks~ 1. How do I mount the chooser into a specified container as an iframe? 2. How do I configure frame-ancestors 3.Can the login page also be in an iframe instead of a pop-up window when not logged in?