Greg-DB Dropbox Community Moderator

Comments

  • It sounds like you're referring to the 'does_not_fit_template' error, which is documented as: "One or more of the supplied property fields does not conform to the template specifications." That means that the property fields that you're attempting to set for that file do not match the template you are using. You'll need to…
  • That behavior is correct. The `media_info` isn't available in FilesFileMetadata in FilesSearchMatch, as retrieved by filesSearch, unfortunately, but I'll pass this along as a feature request. If you want the `media_info`, you should retrieve the metadata using filesGetMetadata or filesListFolder/filesListFolderContinue,…
  • That is the raw data for the thumbnail itself. Exactly what you do with that is up to you. For example, you may wish to save that somewhere, or display it to the user, etc.
  • A "team" refers to a Dropbox Business level collection of accounts. If you're interested, you can find more information here: https://www.dropbox.com/business Note that you don't need a Dropbox Business team to use the file properties functionality on the Dropbox API though:…
  • That error message indicates that the app is at its user limit and can't be linked to more accounts. The solution to that is to increase the limit or apply for production: https://www.dropbox.com/developers/reference/developer-guide#production-approval The first screenshot you provided doesn't look like an app at its user…
  • It sounds like you're looking at the old landing page for the Python SDK for API v1, which is now retired. (There's a deprecation warning at the top of that page with a link to more information.) You can find the current page for the current version of the Python SDK here.
  • A 'path/conflict/file' error indicates that the upload failed because there is already a file at the specified path. You should instead specify a different path, or supply a different WriteMode to to files_upload_session_finish in the CommitInfo to automatically handle the conflict.
  • Thanks! We're looking into it.
  • Thanks! We'll keep investigating. I'll let you know if there's anything else that would be helpful.
  • There isn't a way to get the metadata for the app folder itself like this, but I'll pass this along as a feature request.
  • That's correct, there isn't a way to upload many files with a single call, but I'll pass this along as a feature request.
  • What version of the JavaScript SDK are you using? If you're using the latest version, you should get this error: Uncaught TypeError: Dropbox is not a constructor from this line: var dbx = new Dropbox({ accessToken: ACCESS_TOKEN }); If you're not using the latest version, please do upgrade and switch to using this…
  • You should not include "/2/" as part of the path value. That's just part of the API endpoint URL itself. A valid path would be "/Files/SharedPath/Uploads/UPLOADME.txt" for instance, but it depends on what folders you have in your account of course. Here's an example of how you would upload a file name "resume.docx" to a…
  • [Cross-linking for reference: https://stackoverflow.com/questions/51614378/error-in-call-to-api-function-files-get-thumbnail-http-header-dropbox-api-ar ] This error is indicating that the value you're sending in the "Dropbox-API-Arg" header isn't valid JSON. In your code, you're setting "Dropbox-API-Arg" to…
  • [Cross-linking for reference: https://stackoverflow.com/questions/51606801/python3-dropbox-uploading-error-using-api-v2 ] That error indicates that you're supplying an incorrect offset value for this upload session when uploading a chunk of data. The error includes the correct value, but you'll need to debug your code to…
  • We've had our engineers working on this and the good news is the problem has been fixed. Please try again and you should find that this functionality works correctly. Apologies for any inconvenience this caused.
  • When uploading a file via API v2, the path generally should be the desired destination path for the file, relative to the app's root, using "/"s. E.g., in your case, it sounds like you'd want to supply "/Files/SharedPath/Uploads/UPLOADME.txt", or whatever you want the name to be. You can get the paths for existing items…
  • To download a file using /2/files/download by specifying a file ID, the access token you're using needs to be for an account that has that file. If you want to download a file from a different account using the shared link, you should use /2/sharing/get_shared_link_file to do so:…
  • [Cross-linking for reference: https://stackoverflow.com/questions/51578432/python3how-to-keep-alive-dropbox-files-upload-so-to-download-and-upload-at ] The 'files_upload' method will take and upload whatever data you give it. If you're unexpectedly getting a 0 byte file, the first step in debugging this would be to check…
  • The /2/files/list_folder endpoint expects an object for 'shared_link', with a key 'url' and optionally a key 'password'. So, it should look like this: curl -X POST https://api.dropboxapi.com/2/files/list_folder \ --header "Authorization: Bearer <<my_app_token>>" \ --header "Content-Type: application/json" \ --data…
  • @"saifnirob" Using /2/files/download, there isn't any file size limit for downloading individual files. (It also supports Range retrieval requests.) The /2/files/download_zip endpoint, for downloading entires folders as zips, however, does have some limitations. You can find information on those in the documentation.
  • The Dropbox API does have a rate limiting system, but we don't have any specific numbers for the allowed rates available. Note that not all responses with a 429 and 503 status code indicate explicit rate limiting, but in any case that you get a 429 or 503 the best practice is to retry the request, respecting the…
  • Can you share the code and output for these calls so we can look into it? (Just make sure to redact your access token of course.) If you'd prefer to share privately, you can do so here: https://www.dropbox.com/developers/contact Thanks in advance!
  • @"Tanny" This 'path/not_found' error just means there is currently nothing at the specified path ("/neges" in your code) in the linked account. A good way to check what is currently in the account is by listing the root, by using the path "" (an empty string).
  • A good first step for debugging this is to check if the file was uploaded correctly (e.g., to check if there were any bugs in the upload session implementation, for instance, if the pieces were upload out of order or anything like that). Does the uploaded file have the exact correct file size? You can also try to verify it…
  • The Dropbox API doesn't offer a way to list/retrieve events like this unfortunately, but I'll pass this along as a feature request.
  • Un jeton d'accès peut être révoqué à distance à tout moment, vous devez donc effectuer un appel API réel pour vérifier s'il est toujours valide. Je recommande d'utiliser usersGetCurrentAccount pour cela, car il n'a aucun effet secondaire. --- S'il vous plaît excusez nos traductions. Nos traductions ont été créées en…
  • For integrating with Dropbox on iOS in Swift, we recommend using the official Dropbox API v2 Swift SDK, called "SwiftyDropbox". You can find instructions for getting started with it here: https://github.com/dropbox/SwiftyDropbox
  • @"Tanny" De acuerdo con su captura de pantalla, también está usando una versión anterior del SDK (1.8.2). Actualice a la última versión (actualmente 3.0.8). Como referencia, el reemplazo de getAccountInfo es getCurrentAccount. --- Disculpe nuestras traducciones Nuestras traducciones fueron creadas usando un traductor en…
  • The Dropbox Java SDK does not support the "token" flow unfortunately (only the "code" flow), but I'll pass this along as a feature request. (There is a special flow built for Android though, in case you're running on Android.)