Comments
-
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.)
-
Dropbox does not offer testing accounts like this, but I'll pass this along as a feature request. You can use any account you register.
-
You can get the official Dropbox SDKs here: https://www.dropbox.com/developers/documentation There is no cost to use them or the Dropbox API itself.
-
We've released an optimization for this endpoint, so it should now respond quicker. You can try again now, and the `timeout=None` should no longer be necessary. Let me know if you're still running in to any issues. Thanks!
-
No, the Dropbox API property search doesn't offer a way to restrict the search to a specific path, but I'll pass this along as a feature request.
-
No, sharing_create_shared_link_with_settings does not work the same way. If you call it for a path for which there is already a shared link, it will give a CreateSharedLinkWithSettingsError.shared_link_already_exists error. In that case, you can call sharing_list_shared_links with direct_only=True to retrieve the existing…
-
Using those shared link modifications is probably the best option for this use case. The Dropbox API doesn't offer links to preview versions of images unfortunately, but I'll pass this along as a feature request.
-
1) The list_folder 'limit' parameter is not a hard limit, per the documentation. It can technically return slightly more (or even less) than the limit. You should always check 'has_more' and call back to list_folder/continue if it's true. 2) You can use the 'Dropbox-API-Path-Root' header for each list_folder call, but is…
-
This isn't about your plan level (Standard or Advanced) but rather just about whether or not the team is using the new "team space" configuration: https://www.dropbox.com/help/business/team-space-overview If the team is using the team space configuration, you should just create folders in the team space, per my earlier…
-
It sounds like you're referring to the issue you posted about here: https://www.dropboxforum.com/t5/API-Support-Feedback/Paper-delete-for-business-account/m-p/286237#M17555 Only the doc owner can perform that, regardless of plan.