Greg-DB Dropbox Community Moderator

Comments

  • It is possible to list and download files from Dropbox Backup using the Dropbox API, the same way you would any other files in a Dropbox account. For instance, you can use /2/files/list_folder and /2/files/list_folder/continue to list files/folders, /2/files/download to download specific files, and /2/files/download_zip to…
  • @"Minecraft Demon" That URL and corresponding scope are not part of the public Dropbox API and so are not available for use by third party apps. I'll pass this along as a feature request for functionality like this on the public API, but I can't promise if or when that might be offered. You can find all of the…
  • @"mittinga" You can get the metadata for a file/folder based on its shared link using /2/sharing/get_shared_link_metadata. Refer to the "path_lower" field documentation for information on if/when the path will be returned. The /2/files/move_v2 endpoint does support file IDs though; you can supply a file ID in the…
  • @"ABDUL Salam" Thanks for sharing the sample. It looks like this is hitting an internal constraint. We'll look into what we may be able do about that. In the meantime, to work around this, you may want to add an automatic retry or two (i.e., starting at save_url again for the relevant URL) when this occurs.
  • @"santosh33" As Здравко asked, is that the actual path you're calling with? Using an empty string "" as the path shouldn't result in a "path/not_found" error. For reference though, a "path/not_found" Dropbox API error indicates that the API call failed because there was nothing currently found at the specified path in the…
  • A "path/not_found" Dropbox API error indicates that the API call failed because there was nothing currently found at the specified path in the connected account under the relevant root. For example, this can happen if there's a mistake or typo in the path value the app supplies, if the file/folder has been renamed, moved,…
  • @"IvanIgorevich" When you get a 400 error like that, inspect the error object, as it should contain a more useful error message indicating more specifically why the call failed. In any case though, as Здравко said, there are other options for listing files and monitoring for changes that may be helpful. Check out the…
  • @"ABDUL Salam" A 'download_failed' error from /2/files/save_url/check_job_status should indicate that the save job failed because the supplied URL wasn't accessible. So as Здравко said, check out the code supplying the URL, as well as the URL itself, to make sure it's sending a working URL. If you've done so and you're…
  • Thanks for the detailed report. This is a known issue with the /2/files/list_folder/longpoll functionality; it currently does not restrict its change detection to the specific path set for the supplied cursor. This is open with the team, but I don't have a timeline for a resolution. I'll follow up here with any news.
  • [Cross-linking for reference: https://stackoverflow.com/questions/78980867/issue-listing-team-folders-with-dropbox-javascript-sdk ] I see Здравко already helpfully offered some guidance here. The following resources may also serve as useful references: *…
  • If you're currently unable to use the standard support page, use this API support form and reference this forum thread; we'll redirect your ticket accordingly.
  • I suggest contacting support to check on the state of your account, to see if/why your account's links are currently banned.
  • Based on the information you've shared, I understand you are getting a not_allowed error from the /2/files/get_temporary_link API endpoint. That error from that endpoint means: <STRONG>not_allowed</STRONG>Void The user is not allowed to request a temporary link to the specified file. For example, this can occur if the file…
  • An 'expired_access_token' indicates that the API call failed because it was made with a short-lived access token that has expired. Please note that Dropbox issues short-lived access tokens which automatically expire after a few hours. Apps can get long-term access by requesting "offline" access though, in which case the…
  • Yes, that's correct. Using the 'pathRoot' property sets the "Dropbox-API-Path-Root" header; if you use the "root" mode like that and set it to the account's root_namespace_id that would set the call to operate in the root for the account (such as the team space, if any).
  • @"JimmyMcnulty" To confirm, Здравко is correct; you can and should use the same user scopes on a single app with the same files endpoints to work with files in both business and non-business accounts. You don't need team scopes to work with files in accounts that happen to be on business teams. For example, to upload…
  • @"Rede Inspire" From the configuration in the UI in your screenshot, it looks like your client may be trying to parse the response as JSON, but the response isn't guaranteed to be JSON, so as Здравко said, please check the raw response. If the raw response is empty though, please check and share the headers as they may…
  • @"pp111" Thanks for the samples! We'll look into it and follow up here once we have any updates on this for you.
  • @"GaryH_BAR01" Dropbox does not offer an API for Dropbox Transfer, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. As Здравко said though, the Dropbox API does offer the ability to create folders, upload files, and create shared links with specific access…
  • @"cankayaalperen" Could you elaborate on what specifically you're stuck on? For example though, using the Python SDK, uploading a file like this would by default go to the member folder: res = dbx.files_upload(f=data, path="/some folder/file.ext") but if you instead wanted to upload into a team folder inside the team space…
  • @"Jon B.1" 1. This is more of a local filesystem interaction, so I can't offer much guidance here unfortunately, as I can only offer help with the Dropbox API itself. If you want to open a ticket though and reference this thread, we can direct your ticket to the relevant department to see if they can offer some guidance on…
  • As Здравко said, this error message does not come from Dropbox itself. This sounds like something the Moodle software should configure, so I suggest reaching out to the makers of Moodle for help.
  • An app's development/production status does not depend on the app owner's trial status. The app will remain in production status and continue working if/when the app owner's trial expires. Note though that the app owner's account does need to be active for the app to be operational. If the app owner's account is disabled,…
  • Please share the actual API call request and response so we can take a look at the particular parameters you're using and the exact error you're getting. Be sure to redact your access token though. From the description however, it sounds similar to this thread, so I suggest taking a look at that.
  • @"K2R400" Здравко is correct; you can revoke an existing access token. One way to do so is to call /2/auth/token/revoke using the access token. (You can use the API v2 Explorer to make the call if you want.) Note that this can't be undone. And as they said, Dropbox now issues short-lived access tokens, not long-lived…
  • The SDK methods should always either return or throw some error, but if it's blocking for a long time, it may be helpful to inspect the requests/responses directly as Здравко said. We're also happy to take a look on our side if you'd like. Feel free to open an API ticket here at your convenience. If you do so, please share…
  • @"JohnAdam_CUNY" Здравко is correct. For more information on using team_member_space_limits_set_custom_quota, please refer to the documentation. So, for example, setting a custom quota for a single member by specifying an email address would look like: users_and_quotas =…
  • Yes, if you're using the official Dropbox Android SDK, you should use the functionality provided by the SDK as shown in the example that Здравко linked to. If you're not using the official Dropbox Android SDK, you should refer to your platform's documentation.
  • No, you don't need a paid plan to apply for or receive production status for an API app.
  • It sounds like your team may have migrated to the updated team space configuration. I see you were accessing a specific namespace ID, though that may be out of date. There a number of different ways of using this functionality depending on what you want to do, but if you want to operate in your team space, I suggest using…