Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
API
5756 TopicsError 500 finishing huge file upload (300GiB+)
Hello, When a huge file (300GiB+) is uploaded using the upload_session API an "Error 500 Internal Server Error" is received when the last part is uploaded (/upload_session/append with close set). I retry the request but an Error 500 raises again and again. Sometimes, after more than 1 hour retrying the file uploads successfully. I am using session_type sequential. The same code for smaller files (10GiB) works perfectly. Are you aware of the problem? Is there any workaround?1KViews0likes7CommentsEmbed a File Request On My Website
Hello! I would love the ability to embed or host a file request directly on my website. We currently share our file request link and people are directed to the Dropbox File Request site; However, I would like for people to be directed to and perform this function on my website. I have seen this accomplished with a Box.com setup at [Removed as per Community Guidelines] Thanks!Solved7.5KViews1like11CommentsHow to display folders in the file list Dropbox API (Swift 5)
I get a list of the user's files and then filter it to show only the music files. But I also want to see subfolders. How should I set up my filter for this? Could you help me. My function where I get the list of files looks like this: I also want to be able to enter a subfolder, as I understand it, for this I need to insert the path to the subfolder in path: "/ someFolder". But how can I get this path?Solved4.2KViews0likes13Commentsemail: [Final Reminder] Update your Dropbox SDK(s) to support root certificate changes
Hi, I have some Android apps live on Google Play that are using the Dropbox SDK and I received the following email from Dropbox : Hi, We're writing to you because according to our logs, you own one or more active Dropbox API apps using a version of an official Dropbox SDK with an outdated certificate trust store: ***** (hidden) On or after January 1, 2026, the Dropbox API servers will be updated to use new root certificates. After the server change, Dropbox API calls from outdated SDKs will fail. Failure to update your app(s) to the latest versions of these SDKs will result in loss of access to the Dropbox API. For more information, please refer to this blog post. Thanks, The Dropbox Team Although I am using the latest Dropbox SDK imports in my projects (for over a year now) as follows: implementation 'com.dropbox.core:dropbox-core-sdk:7.0.0' implementation 'com.dropbox.core:dropbox-android-sdk:7.0.0' What exactly do I need to change? Thank you in advance.234Views0likes3CommentsUse dropbox a file storage for my own app
I want to simply use dropbox as the file storage system for my own app. Can I create a token that gives access to my account without needing to refresh it through the Oauth protocol regularly? Ideally I would just save the token in an .env file and use it constantly. Is this possible?event_type file_edit doesn't appear in 2/team_log/get_events API
I have Business Plus Plan with this API available. I uploaded multiple docx files and edited some of them saw the event in dropbox.com/events area But, when I try to get same event with event_type file_edit using mentioned API, it doesn't appear in the response. Other events, like file_add event_type do appear. Regards, Evgeniy995Views0likes4CommentsMicrosoft Word for Web and "/get_events" endpoint
Hello, I just uploaded a word document to Dropbox and edited it using Microsoft Word for Web. Then I called the "/get_events" endpoint using the parameter "category = file_operations". No event was returned. Then I edited the same document using my local Word, saved it and the endpoint returned a "file_edit" event as expected. Why is that so? What did I miss? Pls advise. Best regards, Jan1.1KViews0likes5CommentsDropbox API Inquiry
I have to query the Dropbox Search API with a Team access token (i.e. scope team_data.member enabled). I learned that I have to include the 2 HTTP headers in the search API for my use case to work properly: Dropbox-API-Select-User: dbmid:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Dropbox-API-Path-Root: {".tag": "namespace_id", "namespace_id": "XXXXXXXXXXXX"} That implies I have to call /users/get_current_account for every search API call unless I cache those values. Is there any way I can bypass putting these headers? Why can't Dropbox API extract the user ID via the access token instead? That's an OAuth2 standard. I have to enforce the file search in both user and team folders, hence specifying Dropbox-API-Path-Root. By answering the following questions, it will help me if I can hardcode this namespace_id for my use case: Is it possible for an organization/user to have multiple Dropbox teams? Is it possible for an organization to have multiple namespace_id? How is a namespace and team correlate to each other? When two different users in the same organization logged into Dropbox, is it possible they can have different root_namespace_id when they call /users/get_current_account?219Views0likes3CommentsiOS File Provider: Never getting file updates
In my iOS app, I am using UIDocumentPickerViewController to pick a file from a Dropbox file provider. I am using startAccessingSecurityScopedResource on the url I receive and register an NSFilePresenter for this url to get change notifications. When I read the contents of the file, I am using file coordination. Reading the initial content is working fine. When now however the file is change on some other machine, I expected a change notification from the file presenter and I should be able to read the fresh data from the updated file. This however not working. I am only getting fresh data, when I terminate my app and re-pick the file with the UIDocumentPickerViewController. Is this a fundamental limitation of the Dropbox file provider under iOS or is there some secret on how to get fresh data while the app is running?175Views0likes4CommentsCan't retrieve file count or file listing
I have no problem getting a token. With that token I can submit /2/team/token/get_authenticated_admin and get the admin info. From there, I can submit /2/users/get_current_account, passing the team_member_id I got from the previous api call. One of the items passed back is: "root_info": { ".tag" : "user", "root_namespace_id" : "2617xxxxxx", "home_namespace_id" : "1787xxxxxx", "home_path" : "/Mariah" } I have no issues with this: curl -X POST https://api.dropboxapi.com/2/files/list_folder \ --header 'Authorization: Bearer <mytoken> \ --header 'Content-Type: application/json' \ --header 'Dropbox-Api-Select-User: dbmid:AACFxxxxxxxxxxxxxxxxxxxx' \ --data '{"path":"/kickee images","recursive":false,"include_media_info":true,"include_mounted_folders":true}'</mytoken> From that, one of the returned items is: { ".tag": "file", "name": "OSD78-3-K-YRC-VS-alt2-YAL.jpg", "path_lower": "/kickee images/osd78-3-k-yrc-vs-alt2-yal.jpg", "path_display": "/KICKEE IMAGES/OSD78-3-K-YRC-VS-alt2-YAL.jpg", "parent_shared_folder_id": "1798xxxxx", "id": "id:OSjWkHwnxxxxxxxxxxx", "client_modified": "2022-06-16T15:46:52Z", "server_modified": "2023-08-16T18:40:49Z", "rev": "6030ea26b853d6b372fb3", "size": 158532, "sharing_info": { "read_only": false, "parent_shared_folder_id": "1798xxxxx", "modified_by": "dbid:AABa5y4GiPxxxxxxx" }, "is_downloadable": true, "content_hash": "73021542c3f9b6e2adb7e7ac61f54d46ece0893a2f51766594b40f798efab548" } However, when I try to get a file count on the root directory using the root_namespace_id: curl -X POST https://api.dropboxapi.com/2/file_requests/count \ --header 'Authorization: Bearer <mytoken>' \ --header 'Content-Type: application/json' \ --header 'Dropbox-Api-Path-Root: {".tag":"root", "root":"2617xxxxx"}' \ --header 'Dropbox-Api-Select-User: dbmid:AACFxh5TjExxxxxxx' \ --data 'null'</mytoken> I get this: { "file_request_count": 0 } If I use the home_namespace_id in the above call, I get this: { "error": { ".tag": "invalid_root", "invalid_root": { ".tag": "team", "home_namespace_id": "1787xxxxx", "home_path": "/Mariah Nagma", "root_namespace_id": "2617xxxxx" } }, "error_summary": "invalid_root/" } All I'm trying to do, eventually, is to move/rename a file. But I can't even get a file count or a file list: { "file_requests": [], "cursor": "AACkg6FBSbDUskOcnoVpSIWAibkbgr2HGN39aJS3N_ssPfHfHs0vZ3E8QqO0n3UuCyEo2I0qXc7S2lPER8gUSEocbDLqw4aw84Zl8Rsr8K3dMuaSgtsm2jDQs6amotL-N69UJdqLLUipIrDg-8Ibx7sO79J6VbrkGr0DGzCaemCm8_eDJrEIX5bfbn4_7xAY9tTSklglnhB8O37vNnm424ZT", "has_more": false } A move requests informs me that source file doesn't exist: { "error_summary": "from_lookup/not_found/...", "error": { ".tag": "from_lookup", "from_lookup": { ".tag": "not_found" } } } What am I doing wrong? Thanks, Chris155Views0likes2Comments