-
Help with generating access tokens in Node.js
I am new to using https in Node.js, and Dropbox API, and am not familiar with the syntax. I have had no success finding Javascript examples on how to get an access token from a refresh token, and am asking here. below is my current syntax, and i get the error: {"error": "unsupported_grant_type", "error_description":…
-
Not show folder created by another app when using API: api.dropboxapi.com/2/files/list_folder
Hi every one ! When using API: api.dropboxapi.com/2/files/list_folder with recursive = true, I can't access to folder created by another app (ex: drawio-diagrams), but recursive = false, it's work. And now, for a simple way, I won't show the folder created by another app. Can somebody help me this case. Thanks !
-
file list from shared folder dropbox rest api python
I need to create a data frame out of attributes and share URL of all the files in a directory and its sub-directories the code am using is for entry in dbx.files_list_folder('/2.info_copy',recursive=True).entries: if(str(type(dbx.files_get_metadata(entry.path_lower))) == "<class 'dropbox.files.FileMetadata'>"😞…
-
Very basic question
Hi I am trying to write a simple .Net application to use the DropBox API for csharp. I have created an Application in DropBox so I have an App key and App secret. I downloaded the dropbox-sdk-dotnet-main in a zip file. However when I try and add the package in Visual Studio using NuGet it retrun an error saying package not…
-
/add_folder_member suddenly gets a 400 response
Hey there, I have an automation where I... 1. Create a shared folder (inherited access) 2. Check if this folder was created successfully 3. Create a shared subfolder to the first folder which is shared with nobody (no_inherit) 4. Check if that folder was created successfully 5. Add the appropriate member groups to the…
-
short lived access token is invalid seconds after login
Hello everyone, a client of mine wanted to test the app that I made for them for the first time. - They were able to accept that my app is going to access their files ✔︎ - they were redirected to the web app I made for them ✔︎ - I can see the short lived access token in the url ✔︎ Yet, when they try to access a folder via…
-
How can I restrict token use to a certain domain or IP address?
I'm using an access token to make calls to a single account. How can I restrict that token, so that Dropbox only accepts API calls from a certain domain or IP address? We keep our tokens safe, but it would be good to restrict access in case the token gets stolen. This seems like a common API structure to help manage…
-
C# Get Access Token without browser interaction
I am working on .net console application to download dropbox documents i was able to do that with the generated access token from the application configuration but it gets expires i am following sample solution from github for OAuth dropbox-sdk-dotnet/Program.cs at b5dff871d353c46dcdf61f0319a10be4ed0b8c0c ·…
-
Does Changing Password to Dropbox will affect the API key or Token.
I would like to change my password to my dropbox but i not sure if my API key or Token will be reset also if i did change my password.
-
Search for files edited by a particular user
I'm trying to use the api to search for files edited by a particular user. This is possible in the web client (if you start typing a user's name it autocompletes it and lets you search for only files edited by the user) but doesn't seem to exist in the api. Am I missing something here?
-
Direct link to image file
Hi, I'd like to know if there is a way to create a direct link to a file using the API. My app requires sending an image link to a 3rd party's API for image recognition. When I test the link created using "create_shared_link_with_settings", I get something like www.dropbox.com/s/8um0tttqgbjq5c7/my_image.jpg But it is not…
-
Re: Missing scope from request
If I add permissions to my app after I had generated the access token do I need to generate a new access token? And if so, how do I do that? There does not seem to be a button to regenerate the token. Rich
-
.NET C# - Check and download/Sync missing files with local files
Hello everyone! I'm stuck for 2 days now with the API... I'm creating a game launcher where i need to download(sync), all the files for the game Client from Dropbox to the User. My goal is to check within the local files if the file from my dropbox account exists, if not, download to the specific folder. It's kinda…
-
Integrating my new App with DropBox
Currently, we are rapidly developing our next project - firmbee.com - a system for recruitment and project management. About 300 new users that are coming from all over the world register with us every day. To allow our users to operate freely within Firmbee, we would like to integrate our services with DropBox network…
-
Support the old drobox and the new under same application
Hi guys, my app is trying to support the old drobox and the new under then same client . after getting the auth tokens we are creating a new DropboxTeamClient(request.AccessToken); then when we want to call the new client we use this var account = await client.AsMember(request.AsMember).Users.GetCurrentAccountAsync(); var…
-
Token refreshing C#
I'm building an app in .net and accessing the app's folder for resources. So far everything is going smoothly, but i have no idea how to refresh the token in my app. I tried using the example code from OauthBasic from github, but i have a vague understanding of it and doesn't work for me. Would appreciate some help and…
-
expired token when set to not expire
Have read a few posts on related topics here, and something definitely not working correctly... My app was doing weird things today, and I saw a expired token exception getting thrown. This has never happened before. From reading this…
-
Re: Error in call to API function "files/upload": HTTP header "Dropbox-API-Arg":
good you are available Said so, pls let me know How to fix it. to recap: a) my ap is written in swift, NO other components (neither official dropbox library, too big and too messy) b) it did work since 2 month ago. now I got error c) if I cannot see WHAT has been broken, pls sent me HINTS about, OR let mr speak with some…
-
paper document download unspported error
hy i have paper doc in my dropbox account and when i try to download those documents using dropboxClient.Files.DownloadAsync() i am facing error System.AggregateException: One or more errors occurred. ---> Dropbox.Api.ApiException`1[Dropbox.Api.Files.DownloadError]: unsupported_file/.. at…
-
Localhost
As reported by the documentation I used http: // localhost as a redirect uri. Since my system did not allow me to access this page, I installed microsoft IIS: now http: // localhost is accessible and shows a welcome page in IIS, but it does not work as redirect uri: it does not return an authentication code in the title or…
-
ListFolderContinueAsync recursive not showing correct result
-using dropbox.net SDK -CodeSnippet ListFolderResult listFolderResult; listFolderResult = dropboxClient.Files.ListFolderAsync(controlpath,true, false, false, false, true, 200).Result; var listfoldercontinuearg = new ListFolderContinueArg(cursor); var listFolderResult =…
-
Getting invalid request for PKCEOAuthFlow.ProcessCodeFlowAsync
Hi, I'm implementing PKCE now, but getting an invalid request exception. I can't see anything that I'm doing wrong from the doco (it says everything is optional except code and appkey). This is code that was working when I was using DropboxOAuth2Helper.ProcessCodeFlowAsync (but I want to convert to not sending the secret -…
-
Error in call to API function "files/upload": HTTP header "Dropbox-API-Arg": could not decode input
I'm unable to submit Dropbox API request from YML Gitlab Pipeline using PowerShell (Windows runner). The API requires to pass a JSON as a header parameter and encoding that JSON into YML Gitlab Pipeline doesn't work: `--header "Dropbox-API-Arg:{\"path\":\"/$BUILD_FILENAME\"}" The full script step is below as it's now…
-
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.)