Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Developers
756 TopicsTeam Folder API access in a Standard plan
Forgive me if this information is already available, but I haven't immediately been able to find it. I'm in a scenario where I would like to sync data from a third-party application to team folders in dropbox. My organization is currently operating under a Standard license. I know team folders are a concept in a Standard plan, because I can create them. However, my understanding is that to use the API to send files to them specifically, I need to make use of team folder namespace Ids in my headers. And from what I can tell, there are several API endpoints to retrieve the namespace ID of a given folder, such as team/team_folder/get_info and files/get_metadata. However, while I can hit these endpoints, they do not retrieve any information about folder namepace Ids, and I think what I am now reading is that that information simply isn't available unless you are operating under a Business or Enterprise license. Is this conclusion accurate? Is there a way to retrieve / use team folder namespace Ids under a Standard license, to sync files to specific team folders? If so, how? Thanks in advance for your help, and sorry again if this information is already available and I'm just missing it.Team access not permitted
I have created an app with team scopes, and used a Team admin account to authorize and generate access tokens, following the Oauth guide. I am still hit with errors for multiple business API end points. I even registered this account for a 'Dropbox Business Development' account which was supposed to allow 'testing' for business endpoints but I am met with the same errors. I am referencing the Business and User Endpoint documentation here. For example; '2/sharing/mount_folder' leads to "Unexpected select user header. Your app does not have permission to use this feature" '2/team/members/get_info' leads to 'This token is not associated with a team" error_type:USER_AUTH_NOT_ALLOWED' I am running out of workaround and tests, what am I missing? How do I use my Team account to authorize a 'team' token/app so that I can act on behalf of my team members?Search API not returning deleted files
Hi everyone, I'm using the Search API files/search_v2 and wanted to search for deleted files. The documentation claims that `file_status` can be used to restrict the search to the given file status. I'm doing a simple search as below, but I don't get the expected results: { "options": { "file_status": "deleted" }, "query": "deleted_file" } I've tried all kinds of combinations, but I'm still not getting correct results. Has anyone been able to make this work, or am I doing something wrong?/files/list_folder do not return entries correctly when filtering
I'm developer of an app that uses Dropbox API to fetch folders from the root of user's account. For most users the request works just fine, but there are some scenarios where a user have a lot of deleted files and folders in the root, in this scenario the API is not returning the entries correctly when filtering using `include_deleted=true` and `limit=100`, instead of excluding the deleted and returning the remaining entires up to the limit it returns only 1 entry, that is exactly the one that is not deleted from the first page of the request done with `include_deleted=false`, even using without limit it still fail to return all non-deleted entries in the first call, the user that raised this issue have 26 non-deleted folders in the root and 1 file, so it should be returned in just one page regardless of the limit, but the API apply the limit before the filterring. Am I doing something wrong or is there a way to fix this?173Views0likes3CommentsWhich is the java version supported by dbx sdk 7.0.0
Hi, I would like to upgrade dropbox-core-sdk from version 4.0.1 to 7.0.0. Currently, I'm using Java JDK 8. According to the Dropbox documentation, this SDK appears to be compatible with JDK 8. However, version 7.0.0 has a dependency on jakarta.servlet-api 6.0.0, which is based on JDK 11. I'm a bit confused: can I update the code without upgrading my JDK, or is it necessary to switch to Java 11? Alternatively, is it possible to compile the code using JDK 11 but still run it on JDK 8?SolvedDropbox download via API unstable under Pyodide (xlwings lite)
I am using the Python dropbox module to download files in pyodide (actually xlwings lite). I see that quite often a file is not downloaded completely, without even raising an error. Is there a workaround or patch or ... ? Uploading files seems to work as expected.Getting {"error": "invalid_grant", "error_description": "invalid code verifier"}
I'm using PKCE flow https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token in my react native expo app for generating the token. I'm able to generate code & state value successfully after hitting this url https://www.dropbox.com/oauth2/authorize But when i trying to get the access token using below ``` const params = new URLSearchParams({ code, grant_type: "authorization_code", client_id: DROPBOX_CLIENT_ID, code_verifier: codeVerifier, redirect_uri: redirectUri, }); console.log("PKCE params", params.toString()); const response = await fetch("https://api.dropboxapi.com/oauth2/token", { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded", }, body: params.toString(), }); ``` I'm getting this error {"error": "invalid_grant", "error_description": "invalid code verifier"} I've verified that the code challenge and code verifier are correct and are passed correctly into the request. Stuck on this for hours now, need help. ThanksProblem with list_revisions and revision download of very old files
I have an old file that is over a year old. When I call list_revisions on this file, all the history is displayed. All revisions have is_downloadable set to true. However, when I actually download the revision, it returns an error saying not found. When I call restore, it returns an invalid_revision error. When I look at the history on the web page, only the current revision is displayed, and past revisions are not displayed. I can't find the difference in information between the old file and the new file's revision list on the API. Is it possible to filter out revisions that cannot be downloaded or rolled back from the old file's revision list?258Views0likes4CommentsHow to download .paper and .papert shared file using APIs
I want to download the shared files having paper and papert extension but since shared files, I list the files using sharing/list_received_files and in this I get the preview_url for the shared file, I use the preview_url to download to the content using sharing/get_shared_link_file but I get unsupported_link_type error in the API response. I tried using the files/export API using id in the headers to export html but then I get path/not_found/ error in the API response. How can I download paper and papert file content for a shared file.