Comments
-
Is it possible that there's an issue with where the file is being hosted? If the provided URL for the file is failing (e.g., it's returning an error status code), Dropbox won't be able to save the file. Otherwise, can you provide steps for us to reproduce the issue? We'll be happy to look into it. Thanks in advance!
-
Just to be clear, I've sent this along as a feature request, but I can't promise if or when it would be added.
-
For these calls with the parameters in the header, you need to escape these characters. That is, when you use the “Dropbox-API-Arg” header, you need to make it “HTTP header safe”. This means using JSON-style “\uXXXX” escape codes for the character 0x7F and all non-ASCII characters. Some, but not all, languages/libraries do…
-
The response body you get from a successful /2/files/download API call is the actual file data for that file as synced on Dropbox. You're currently printing out the raw data, which won't be very helpful, since the Excel format is not a plain text format. Exactly what you should actually do with it is up to you and will…
-
It's not possible to download multiple specific files at once like this, but I'll pass this along as a feature request. You can either download them file by file, or download entire folders as zips, as you mentioned.
-
@"Nouredin" The general Dropbox API rate limiting system applies to all account types, including both free and paid. If you hit the limit, the API call(s) will fail with a 429 or 503 as described earlier. There isn't a warning ahead of when you hit the limit, but the period for which you are blocked is generally relatively…
-
The DownloadAsync method offers a way to download files from Dropbox, but it does not save the file to the local filesystem for you. It returns an IDownloadResponse which has a few options to accessing the file data. Specifically, you can get the data as a byte array, stream, or string. Please refer to the documentation…
-
No, webhooks would only notify of filesystem changes, i.e., like /list_folder/continue would report, not sharing changes. (There is technically some additional functionality for Business apps/teams, but it sounds like you're not referring to a Business app/team, so that wouldn't apply. Let me know if not though.)
-
There may be some processing time/lag involved in getting events in the log, but we don't document/guarantee exactly what that would be. I don't expect it to be more than a few seconds, but that may vary.
-
There isn't a way to get notified of sharing actions like this unfortunately, but I'll pass this along as a feature request. As you found, /list_folder/continue is only for actual file/folder changes, which doesn't include sharing activity, and the list_received_files interface doesn't work the same way as list_folder.
-
It looks like CodePen serves on just codepen.io, not www.codepen.io, so you need to register codepen.io (without the 'www') for your app's 'Chooser/Saver domains' on the app's page on the App Console.
-
Dropbox doesn't offer an FTP interface, but it does offer an API over HTTPS that you can use to upload and download files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers For example, to…
-
I've already sent this along internally, so you don't need to do anything else. Thanks!
-
From the error output you shared, I see that you're getting a NetworkOnMainThreadException. You can find an answer about this here: https://www.dropboxforum.com/t5/API-Support-Feedback/NetworkOnMainThreadException-connecting-to-Dropbox-account/m-p/195874/highlight/true#M17988
-
It sounds like you're using two different apps; one for the source account, and one for the destination account. In order to use a copy reference between two accounts, they'll both need to be connected to the same app. So, you should create an app on just one account, and then get an access token for that same app for each…
-
The Dropbox API is returning the original file data, which is what you're seeing above. Exactly what/how you use that data is up to you. How to parse or read Excel files is outside what Dropbox API support can help with unfortunately. You may wish to refer to documentation for the Excel file format for information on how…
-
The Dropbox Paper API doesn't offer the ability to programmatically embed media like that, but I'll pass this along as a feature request.
-
Using the temporary links returned by /2/files/get_temporary_link would be the closest thing to what you're looking for. I believe that should technically work for embedding images, e.g., using the link the 'src' for an <img> tag. In what way did that not work? An alternative would be to make the API calls in JavaScript…
-
I'll be sure to follow up here once I have an update on this issue.
-
To get the original file data, you should use the /2/files/download endpoint: https://www.dropbox.com/developers/documentation/http/documentation#files-download
-
@"Abhishek3881000" Here's an example of how you might do this in Java, using Jackson: JsonFactory f = ... JsonGenerator g = f.createGenerator(...); g.setHighestNonEscapedChar(0x7E);
-
Yes, Dropbox offers the ability to programmtically copy files between accounts without downloading and re-uploading them via the use of "copy references". You can find the documentation for it at the following links: https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-get…
-
Gracias por el informe! Esto parece ser un problema cuando se utiliza el SDK de Dropbox Python con Python 3. Estamos investigando. Como solución temporal, intente establecer un tiempo de espera ilimitado al construir su cliente de Dropbox, así: dropbox.Dropbox(TOKEN, timeout=None) --- Disculpe nuestras traducciones…
-
There can be a delay on changes being reflected in search. If you're still seeing the issue after waiting a little while, please open an API ticket with more details so we can investigate: https://www.dropbox.com/developers/contact
-
The 'limit' parameter for TeamLogGetTeamEvents is not required. If not specified, it will default to 1000. The maximum allowed 'limit' is also 1000.
-
No, unfortunately Dropbox doesn't offer a way to check the client status programmatically, but I'll pass this along as a feature request.
-
First, for reference, unless there is a particular reason you need to process the authorization every time, you can store and re-use access tokens, e.g., as done in the example here. Anyway, are you using Android Studio? If so, there's a "Logcat" tab where you can selected the relevant device and thread (though they should…
-
What exception/output are you getting with the crash?
-
It sounds like you have the right idea, and your code looks fine. For reference though, you don't need a Dropbox Business API app to perform these operations. You can also list and upload files using just a Dropbox API app (i.e., non-Business). The choice of what kind of app depends on your use case and requirements and is…
-
For integrating with the Dropbox API in .NET, we recommend using the official Dropbox API v2 .NET SDK: https://github.com/dropbox/dropbox-sdk-dotnet There are instructions there for installing the library, and examples on how to use it. There's also documentation for all of the methods. For instance, it sounds like you may…