Comments
-
Les noms d'application API Dropbox doivent être uniques sur l'ensemble de Dropbox. Par conséquent, si un nom d'application est déjà enregistré, vous ne pourrez pas l'utiliser. Cette erreur indique que quelqu'un d'autre a déjà enregistré le nom de l'application "telebox", vous devrez donc utiliser autre chose. --- S'il vous…
-
1) It looks like there are two issues with this one: a) You should be supplying the API call parameters as JSON in the body. So, instead of: $curl_fields = http_build_query($fields); curl_setopt($ch, CURLOPT_POSTFIELDS,$curl_fields); You would do something like: curl_setopt($ch, CURLOPT_POSTFIELDS,json_encode($fields)); b)…
-
There is a limit to how many Paper documents you can create per day via the API. There isn't a way around this, so you'll need to throttle your calls accordingly. Check the RateLimitError.retry_after value for how long to wait:…
-
This should be fixed now.
-
I don't see any obvious issues with that. Can you add some logging or connect a debugger to check the actual return value from getTemporaryLink, or any raised exception?
-
No, unfortunately there isn't a way to programmatically retrieve this information, either via server API or locally, but I'll pass this along as a feature request.
-
I'm afraid I don't follow. The method would either return a result or raise an exception. Please double check the actual result. Also, can you share the relevant code and steps to reproduce the issue?
-
It looks like there are some issues that would prevent this code from running properly. You should be getting some error output. When I run this, setting my own $auth_token, I get: Warning: curl_setopt() expects parameter 1 to be resource, null given in ...test_266674.php on line 9 That's because you're using an undefined…
-
For .NET, we recommend using the official Dropbox API v2 .NET SDK if possible: https://github.com/dropbox/dropbox-sdk-dotnet There examples included with that here: https://github.com/dropbox/dropbox-sdk-dotnet/tree/master/dropbox-sdk-dotnet/Examples
-
The "-X" flag takes a parameter for the HTTP method to use, which should be "POST". In your code though, you've put the flag "-O" directly after that, so curl will send that as the method, which isn't valid. You would just need to move that out of that spot, e.g.,: curl -O -X POST…
-
What error are you getting specifically? Please share the full output.
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-java/issues/180 ] It looks like you also posted this on GitHub. I answered there, but feel free to follow up in whichever location is more convenient for you.
-
Thanks for the report! We'll look into it.
-
Your code seems to be missing the part where you supply the file data for upload. You can find a sample of what the upload API call should look like in the documentation here: https://www.dropbox.com/developers/documentation/http/documentation#files-upload Likewise, the download call has documentation and a sample here:…
-
@"areich" The Dropbox API does offer the ability to upload files programmatically. For smaller files: https://www.dropbox.com/developers/documentation/http/documentation#files-upload For larger files: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start…
-
The /2/files/upload endpoint expects one of the cited "Content-Type" request headers, ideally "Content-Type: application/octet-stream". Based on the error message though, it appears your client is overriding your header setting and sending something else ("multipart/form-data; boundary..."). I can't offer support on…
-
I'm not aware of any plans right now, but I'll pass this along as a feature request.
-
Are you the developer of the site? If so, please use the `error` callback to get the error message. It should indicate what the issue is. If you aren't the developer, please contact them to have them do so in order to see what the issue is.
-
[Cross-linking for reference: https://stackoverflow.com/questions/48970161/pdf-encoding-to-upload-to-dropbox-api ] Using `open`, `read`, and `files_upload` is the right way to upload files like this. The Dropbox API will just accept whatever data you send it. I just tried this and it's working properly for me. I can upload…
-
Obrigado! Que tudo parece razoável, então precisamos de uma amostra que reproduza isso para investigar. Abra um ticket alguns valores de exemplo e código que reproduz isto: https://www.dropbox.com/developers/contact Desde já, obrigado! --- Thanks! That all looks reasonable, so we'll need a sample that reproduces this to…
-
O tamanho de 150 MB é um limite superior de quanto você deve enviar por solicitação. Na prática, geralmente é mais seguro usar um tamanho menor. Você pode tentar mudar para algo menor para ver se isso ajuda? Existem outras maneiras de corromper a solicitação HTTP. Ficarei feliz em analisar isso, mas precisarei de mais…
-
HTTPS connections can time out, so to download large files, I recommend using "Range Retrieval Requests" to download in pieces. For example, issuing such a request to download the first 1000 bytes of a file using /2/files/download would look like: curl -X POST https://content.dropboxapi.com/2/files/download \ --header…
-
It looks like you're using a third party library. I'm afraid I can't offer support for that, as it's not made by Dropbox. As far as Dropbox itself is concerned, there is no "access token secret" for OAuth 2 access tokens. Dropbox API v2 only supports OAuth 2, and Dropbox API OAuth 2 access tokens only consist of one piece,…
-
Isso pode acontecer quando o pedido HTTP é mangled e não é reconhecido como uma chamada de API. Uma maneira para isso acontecer é se o token de acesso contém valores inesperados. Certifique-se de que o token de acesso para este usuário é válido e, por exemplo, não contém acidentalmente o espaço em branco principal ou…
-
The error 'too_many_write_operations', indicates that the operation failed due to "lock contention". This isn't explicit rate limiting, but rather an inability to perform multiple state modifications in the same account at the same time. This can vary over time, based on how much activity is occurring in the account. Note…
-
That is a script for building/installing the SDK locally. It's not necessary if you switch to using a packaged version as above.
-
That's correct, the "DBRoulette" example and the dropbox-android-sdk-1.6.3 SDK are for API v1, and should no longer be used. Anyway, these are commands that should be run in a terminal if you want to build the SDK from source. If you don't need to edit the source (you generally shouldn't), I recommend just changing the…
-
That SDK does use API v2, and it is the recommended way to use API v2 from Java. The Android example itself is included with the SDK download. If you've already downloaded the SDK, as it sounds like you have, you already have the Android example. In your case, you mentioned having it…
-
@"mms" No, I don't have an update on this unfortunately.
-
The API unfortunately doesn't offer write mode options, e.g., to overwrite, for the copy endpoints. I'll pass this along as a feature request.