Learn how to make the most out of the Dropbox Community here 💙.
apis
22 TopicsHow to filter events in dotnet SDK ?
I want to only query the team events of the event type file_download. I can't seem to figure out how I'm supposed to do it the way the developers intended. I can't find clear documentation on how to do this. GetTeamEventsResult events = await _dropbox.TeamLog.GetEventsAsync(eventType: WHAT DO I PUT HERE); I tried doing this: GetTeamEventsResult events = await _dropbox.TeamLog.GetEventsAsync(eventType: new EventTypeArg().AsFileDownload); But that just returns all events and doesn't filter them.45Views0likes2Commentssharing/remove_folder_member endpoint throwing 500 error
I've been using the api.dropboxapi.com/2/sharing/remove_folder_member endpoint for a number of years without issue. After the scheduled maintenance last night (2025-02-06) I'm receiving a 500 response from all calls to it. I'm doing a POST call with the following headers: Dropbox-API-Path-Root: {"namespace_id":"999999",".tag":"namespace_id"} Dropbox-API-Select-User: dbmid:AAAAAAAAA and the request: { "shared_folder_id":"99999999", "member":{ ".tag":"dropbox_id", "dropbox_id":"dbmid:AAAAAAAA" }, "leave_a_copy":false } (IDs all changed) Is anyone else using this endpoint in the same way? Is it still working for you? Maybe something changed as part of the maintenance? Seems too much like a coincidence that this code no longer works. Thanks for any help.Regarding the condition that "folder_id" is returned in "/sharing/list_folders".
I have a question about the "/sharing/list_folders" API. According to your API reference, the "folder_id" field in the response body is optional. Please tell me the conditions under which "folder_id" is returned. Thank you for your support.50Views0likes1CommentApp Scope Issue.
When I integrate with Dropbox OAuth, what scopes I have to set at my app permissions. When I try to connect to the dropbox it says "Authentication aborted". And I check the team_data.member scope, it go to the step to login, but when I login it says "Please sign in with a work account."How Do I Generate a Temporary Link?
Hi, I was hoping to use the /get_temporary_link endpoint to get a signed URL to access another account's file in my browser. The docs say the URL should not be used to display content directly in the browser, was wondering why and hoping for an example of what use case this endpoint would be appropriate for. Thanks!Solved104Views0likes2CommentsCan't test dropbox choser api via localhost
Currently trying to integrate dropbox into my weapp for an university project. But for some reason when clicking the implemented button to chose a file from dropbox i get this error window. And I can't add localhost as a choser domain for testing. Any ideas? Thanks in advance!SolvedAbout the "path_lower" field in the response body from Dropbox API "/create_folder"
I have a question about the "/create_folder" API. According to your API reference, the "path_lower" field in the response body is optional. Are there any situations in which the response body does not include "path_lower" even when the status code is 200? If so, could you please specify the scenarios in which this occurs? Thank you for your support.Solved92Views0likes1CommentRequests fail if client secret isn't added when using the javascript sdk
I'm implementing the pkce flow correctly, I'm creating a dropbox object and adding the app key and refresh token, but when trying to use the check app method it will throw an exception with the error "Error in call to API function "check/app": Invalid authorization value in HTTP header/URL parameter", adding the app secret will solve this issue but I can't do that because I have to ship my app to the user, trying the same app key and refresh token in the c# sdk works and according to posts on the forum this should also work with the javascript sdk, here is my code: const auth = new DropboxAuth(); auth.setRefreshToken("xxxxx"); auth.setClientId("xxxxx"); // auth.setClientSecret("xxxxx"); const dbx = new Dropbox({auth: auth}); try { const res = await dbx.checkApp({ query: "test" }); console.log(res); } catch (e) { console.log(e); }Solved50Views0likes2Comments