Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
APIs
31 TopicsApp Scope: Individual vs Team Scope Difference
Currently, I have an app that has read scope for team member (individual scope) but not TEAM scopes. Assuming this limitation persists with my app, can team folders still be scanned just like regular folders in a member's account if my app has scope for that accountId? For example, Team ABC has 2 members, Y and Z. My app has scope access to both members' accounts. I can scan both of their accounts, including the team folder in each account - is this the correct assumption? I understand that I would have duplicates if this is the correct assumption.Solved132Views0likes1CommentDropbox Cursor Behavior
Hello, I'm trying to confirm cursor behavior. - Is it safe to assume that Cursor is an offset into a transaction log per account, which is a sequential record of changes as they occurred in the account. In other words, clients that traverse dropbox do not walk through their repository (i.e. the "tree" of content) looking for content; instead, the client enumerates changes sequentially as they occurred in Dropbox.104Views0likes5CommentsWrong Oauth2 Token
Hi there! I'm trying to connect Dropbox via FileStack to upload files. They have some recomendation for that - https://www.filestack.com/docs/uploads/storage/#dropbox I created and configured the app as described in the recommendations. I try to save the token on their side, but I get the following error. I can't figure out where the problem is, on your side or on the FileStack side?32Views0likes2Commentsplayback streaming Issue
We're currently working on an iOS app that plays .mp4 video content via Dropbox. Using the SDK’s get Temporary Link method, we pass the resulting link into AV Player(url:…). However, the playback doesn’t kick off instantly — there’s a noticeable delay based on file size (sometimes several seconds to minutes). Interestingly, this delay also appears in Safari when opening the same link, but not when streaming directly from Dropbox’s own site. We’re testing this with a multilingual streaming platform we’re developing — <<removed>> — where instant load speed really matters.80Views0likes1CommentProblem accessing Dropbox API from an embedded device
I’m using a Seeed Studio XIAO ESP32S3 board programmed with Adafruit CircuitPython 9.2.7. I have written a very lite “SDK” to be able to issue requests to Dropbox API (V2) for a limited number of operations: (re)authentication, get_user_account, list_folder, upload_file. My code is available here https://github.com/istvanzk/xiaocam_cpy The initial OAuth2 authorization works fine. I request "offline" access during the OAuth app authorization flow on a development machine, not the XIAO board. Then I use the received "refresh token" (stored in settings.toml) to programmatically get a new short-lived access token at any point in time, without further manual user interaction, in the code running on the XIAO board. Problem: I'm having a strange error when sending any POST request to Dropbox API (V2) host and route, e.g. to https://api.dropboxapi.com/2/users/get_current_account and with the headers set according to the https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account info. Authentication token is correct because it works after the below described ‘fix’ below. The error "OSError: [Errno 116] ETIMEDOUT" is thrown by a socket.recv_into(result) line (from the original adafruit_requests.py implementation code) meant to check the first character/byte of the response from the server (checked to be “H”). Strangely the only way I found to 'solve' this error here was to insert a time.sleep(0.02) before each of the corresponding request data is sent with socket.send() The observed error is described in more details in the https://github.com/istvanzk/xiaocam_cpy?tab=readme-ov-file#adafruit_requests_fix section, with additional discussions and attempts to debug it on the Adafruit_CircuitPython_Requests issue #209. The error can be reproduced using the https://github.com/istvanzk/xiaocam_cpy/blob/main/dbx_test.py code when the original adafruit_requests module is used instead of my modified https://github.com/istvanzk/xiaocam_cpy/blob/main/adafruit_requests_fix.py. Question #0: Is there a particular way the Dropbox API server handles the socket requests/connections? I could not find anything in particular when going through the official Dropbox API Python SDK code, but I might have missed it. Question #1: After applying the 'fix' described above, the image file upload times are unexpectedly very large e.g., it was approx. 20 seconds for an image of 50KB. Combined with Q#0 it seems the connection is somehow rate limited but I was not able to find the reasons for this. NOTE: I had to remove all links in this post due to theSolved117Views0likes5CommentsOAuth broken (Missing client_id) if force_reauthentication=true
Hello, Today it is not possible to authorize an application using OAuth if the parameter force_reauthentication is set to true (force_reauthentication=true) The same error is displayed with the parameter prompt=login For example this url: https://www.dropbox.com/oauth2/authorize?client_id=6m49bsosxta8vpm&state=188620817&response_type=code&force_reauthentication=true&redirect_uri=http%3a%2f%2f127.0.0.1%3a35831%2f&token_access_type=offline&code_challenge_method=S256&code_challenge=omq_TXM9aH8GIlhUx6xT9-D20Ckz6Z46LMrWU2_uOn0 shows the error Missing client_id although the client_id is included in the request. However, the same url but with force_reauthentication=false works fine: https://www.dropbox.com/oauth2/authorize?client_id=6m49bsosxta8vpm&state=188620817&response_type=code&force_reauthentication=false&redirect_uri=http%3a%2f%2f127.0.0.1%3a35831%2f&token_access_type=offline&code_challenge_method=S256&code_challenge=omq_TXM9aH8GIlhUx6xT9-D20Ckz6Z46LMrWU2_uOn0 Please check it as soon as possible as the users are not able to link their accounts with our applications.Solved140Views0likes6CommentsStyling Dropbox Embeds to Match New Website Background on Squarespace
Hi everyone! I manage a website and we’re updating the background design to better reflect our brand. We currently use Dropbox shared links and embedded folders to share brochures and project files with clients. As we change the site background (possibly using gradients or images), we want to ensure that the Dropbox embeds remain visually consistent and responsive. Does anyone have experience with styling Dropbox embeds (via CSS or custom code) so they blend well with new backgrounds on platforms like Squarespace? Any suggestions or best practices would be greatly appreciated. Thanks in advance!Create new folder in existing Team Folder
Hi, I use a web site development program called Wappler which allows for the setup of API's It has a section for the URL of the API, JSON DATA and I can add headers. I used the default: https://api.dropboxapi.com/2/files/create_folder_v2 and added the headers: "Authorization: Bearer <my token here>" \ "Content-Type: application/json" \ and in the Json Data box I put: { "autorename": false, "path": "/Homework/math/{{$_POST.foldername}}" } This works OK and creates a folder from my form input to my home folder inside a folder called Apps> Homework/math/myfoldernamefrom form I want to create the folder in the team space so I added the Dropbox-API-Path-Root header and the value {".tag": "root", "root": "7"}, along with the following in the Json Data: { "path": "{{$_POST.foldername}}" } I know the 7 is just a sample and I have the details of my user ID, at the bottom is the root_info, with .tag, the root_namespace_id, the homespace_id and my home_path. What do/would I put in the Json Data to create a folder in team space called CompanyOne>FolderOne Many thanks for your helpHow 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.72Views0likes2Comments