-
Internal sever error
Hi, for the past few days I've been trying to call the sharing_list_folders() and every time I run my script I get this error: raise InternalServerError(request_id, res.status_code, res.text) dropbox.exceptions.InternalServerError: InternalServerError('3c12bb105da24fee92554229b050a6db', 500, ''). I'm not sure why that is,…
-
Download files as blob using dropbox chooser
So I have integrated dropbox into my react app and my app successfully opens a dropbox dialog box, signs in users and list their files and folders. I am facing issues with the downloading of the selected files as blobs. Here is my code which handles the listing of files. case 'DROPBOX': const successCb = async ( files:…
-
2 console application 1 account -
if i have a user the authenticate in one application get access refresh tokens. then authenticate in another application is the old token will stop working or every authentication can exist no matter what. i am asking this because my company toll doing a migration many for each user , if during the migration the user will…
-
Shared link to folder from another Dropbox account
Hey I'm working with getting contents from shared link provided from another dropbox account. I know that I can get list of content using `2/files/list_folder` endpoint with the `shared_link` argument then I can use `2/sharing/get_shared_link_metadata` to get downloadable links. I have 2 questions: - may be you can advice…
-
In Dropbox file name is too long . Please Help
When using laravel 7 and file upload to dropbox app dropbox file name is " 1Dyv2RterdsPcu1GvzBJ90gSE2rwZYyrfDBMtOII " .. Why ??? Please Reply Someone Please. I use Laravel spatie/flysystem-dropbox package . My Codes >>> public function uploaddrop(Request $request) { $request->validate([ 'email'=>'required',…
-
Login to Dropbox from browser extension on Firefox
Turns out the browser extensions on Firefox don't have permanent URLs [1]. This means that there is no single URL to whitelist on the developer page for the app. Is there a way to make OAuth work with browser extensions on Firefox? Thanks. [1] Mentioned on a forum here, for example:…
-
Folder not returned in through search API
Are there any cases where a team folder would not be returned through the search API (filesSearchV2), but the same folder would be listed in the search results on Dropbox web? (When searching by the same query.)
-
Exception in 2/files/download: "unsupported_file"
We are trying read content of paper file, getting below exception com.dropbox.core.v2.files.DownloadErrorException: Exception in 2/files/download: "unsupported_file" at com.dropbox.core.v2.files.DbxUserFilesRequests.download(DbxUserFilesRequests.java:1278) at…
-
Access ****** - after using the refresh token method how can i get the new access token
i am using the offline long token i have an access token ****** and refresh token YYY I used the token until it expired then I used the refresh token method with null to refresh all my scopes. how can i extract the new access token from the client in order to save it?
-
List files for a user
Hi, I need to list all files stored in my company's Dropbox. I wanted to call the list_folder endpoint as each user, but I'm not sure if that will be enough. Is that the best way of getting the information? Thank you in advance!
-
Android Java Api Single pre-defined Account
Is it possible to get Access token to upload files into Single pre-defined Account without requesting from the user any interaction in android java api? thanks
-
Check if user shared any links
Hello, I need to check how many links user has shared and how many of them are public links. Is this possible using the Dropbox API? I'm using the get_shared_links endpoint at the moment, but I'm not sure if that returns the shared links of that user or their team space. Thanks in advance for all your help.
-
Re: Tokens only valid for 4 hours from app console
Dear greg-DB, sorry, but I have to come back to this topic again, since I couldn't solve it in the recent weeks despite all these valuable hints in this forum and the description for the Swift SDK. I'm writing an app with Swift and I originally set it up with a long-term token, which was changed by Dropbox in the meantime.…
-
Check if user has access to any shared folders
Hi, I'm trying to check if a user has access to any folders. My code at the moment is printing 'User has at least one shared folder' for everyone, but I'm not sure if that's correct. Could someone point me in the right direction please? I'm using Python, and this is my code: dbx =…
-
using php to get list of shared folders
I'm the new admin for our org's dropbox, and I'm trying to get my arms around everything that's been created in the last 10 years. In particular, I'm trying to get some details on shared folders. My understanding is I need to use the API to get the info I need. There are at least 500 shared folders, so going through them…
-
Using Refresh Token
Currently I am trying to migrate our application to the new refresh token system I am getting my Refresh token and my ExpiresAt values, and saving that data on the database, if the ExpiresAt value has already pass I am creating my object this way: dbx = new DropboxClient(settings.RefreshToken, appKey, appSecret); and using…
-
com.dropbox.core.NetworkIOException: connect timed out
I am uploading & downloading files from dropbox using Java SDK. It is working properly from localhost. But when running from EC2 ubuntu 20 server, it is showing error i.e. com.dropbox.core.NetworkIOException: connect timed out Please help me to fix this. ASAP
-
access token don't work
The access token generated in the app console does not work. The access token obtained from the call to / oauth2 / token does not work either. Instead, the access token generated in Dropbox API Explorer works great. Do you have any explanation and how do i get a valid access token?
-
Get ACCESS TOKEN for android app java
I am trying to upload file from the android app to my DropBox account , I don't want the file to be uploaded on the user account ... I just need to upload files to single pre-defined account from the android app without Showing or requesting Auth.
-
Code is stuck on await Methods
I am trying to implement a Dropbox support in my Maui application on Windows and Android. I have set everything up according to the documentation and basic stuff like getting the email address of my account works well. Sadly, anything related to the data on my drive doesn't work. For example, when I call this task from the…
-
2/files/get_metadata 409 with ID path
We are trying to access a file metadata using the above endpoint with the following request: ``` "request": { "url": "https://api.dropboxapi.com/2/files/get_metadata ", "body": { "include_deleted": false, "include_has_explicit_shared_members": false, "include_media_info": false, "path": "id:1tGO8wuhnv8AAAAAAAAAGQ" },…
-
Refresh token not working
Currently I am trying to migrate our application to the new refresh token system I am getting my Refresh token and my ExpiresAt values, and saving that data on the database, if the ExpiresAt value has already pass I am creating my object this way: dbx = new DropboxClient(settings.RefreshToken, appKey, appSecret); and using…
-
Unclear about PKCE and .NET SDK
Hi, Firstly, I'm getting 404's on all your documentation at the moment, so I'm unable to look it up. e.g. the link https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadSessionFinishBatchCheckAsync_1.htm is giving me 404. So, having got all the time-sensitive stuff dealt with, I…
-
Add shared folder Python SDK Equivalent
What is the python sdk equivalent for: https://help.dropbox.com/files-folders/share/add-shared-folder In browser I can look at a folder shared link, and I can click the "add folder to account" from the shared link provided. This makes the shared link available within the account I'm logged into. I would like to do the same…
-
Dropbox Embedder problem
Hello, I have searched the internet in hopes of finding an answer, but there is no quide or earlier discussion that solves my problem. I am trying to embed a folder/pdf to a website. When I try to follow along with the documentation of the embedder, I always get the same error as shown below. In the console i get the…
-
Return {"path/not_found/..."}
HI All I have an issue in C# dbx.Files.GetTemporaryLinkAsync method when I pass a root folder it generates the URL and works like a charm but when you send the sub-folder path it returns {"path/not_found/..."} Any idea, please public static string GetTempDropboxImageUrl(string File,string token) { var dbx = new…
-
Re: can't use javascript SDK with Chooser
How can use dropbox chooser by auth token. there are different user can login and authorized after that will open file dropbox file chooser window. Want to download the files authorized by loggedin user files. Suggest me the way to do it. Thanks, Abhi
-
When using the .net sdk with out user interaction, do i need to implement the refresh token method
When using the .net sdk without user interaction, do i need to implement the refresh token method? or the sdk will refresh it automatically. i know it depend on the request in the auth "offline" or i want that the sdk will handle the refresh token. what happened if i use the token and then not using it for a while and then…
-
can i implement the Dropbox .Net SDK and use only ID and not use PATH at all ?
today I am using the path when using the .Net SDK when communicate with Dropbox, can I switch to use only the id and not use the path at all, or I will need the path for some scenarios?
-
View File Content through API
I want to access the contents of a private file in my Dropbox account so I can display the contents on my website. I am using the files/download method and receiving the expected response outline in the documentation. However, I can't seem to find the actual content of the file in text form so I can display it on my…