-
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 Toke - 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 XXX 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…
-
Asp.net Web Forms obtain access token in ReturnURI page
I'm trying to use Dropbox .Net from an asp.net Web Forms application. I'm successfully able to get control in my ReturnURI web page. But I can't find any sample code on how to proceed further to obtain the AccessToken in Page_Load of that page. Please help or at least give a pointer to the sample code. The examples are not…
-
Re: Dot Net SDK provided by Dropbox is not updated with TLS 1.2
Hi, I am trying to take the dropbox V2 code here (the official Dropbox API v2 .NET SDK) to work in a website. I was able to make it work locally (localhost), with small changes. However, when uploaded the website to production server, it seems to me that http://127.0.0.1:52475/ does not work anymore. The git-hub code…
-
API DownloadZipAsync, can I get all file, folder in Dropbox/ ?
To download multiple files, with API ListFolderAsync, I can put path " " or string.empty to get all file from my Dropbox and foreach to download them. But In API DownloadZipAsync require Path:String(pattern="(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"). To download all file, folder as zip…
-
responseUri C# problem
I am trying to set my dropbox configuration to TokenAccessType Offline on my page, but I am getting erros on the "DropboxOAuth2Helper.ProcessCodeFlowAsync" I get: Dropbox.Api.OAuth2Exception: 'invalid_grant' for error description I got: redirect_uri mismatch after I got the page to enter my credentials I call this method:…
-
Each OAuth 2.0 re-authentication asks for user's permission
Hello, I'm developing JS SPA which uses Dropbox as a storage. It has no backend, thus I'm using OAuth 2.0 code flow with PKCE. According to the documentation https://developers.dropbox.com/oauth-guide: If the token expires - throwing a 401 error - your application may simply re-authenticate as described above. If your…
-
Logged out from dropbox and login again. It is allowing me to access files without asking credential
I am using ObjectiveDropboxOfficial for my ios objective c project. Everything is working fine except logout. Here is the problem, Step 1: Logged into dropbox. Step 2: Logged out from dropbox. Step 3: Trying to login again. It should ask me for login credentials because, i already logged out from dropbox which is not…
-
Create empty file without uploading
Is it possible to create an empty file without having to upload a local file? I'm trying to make `/file/upload` endpoint work with .docx files but when i'm trying to check the file on the web, it says it is unsupported.