Comments
-
L'importation de Node dont je parle est la `require ('dropbox')` dans votre code, et l'importation JavaScript à laquelle je fais référence est le `<script src=... `dans votre code. --- The Node import I'm referring to is the `require('dropbox')` in your code, and the JavaScript import I'm referring to is the `<script…
-
Cela dépend de l'environnement dans lequel vous exécutez et de la manière dont vous importez la bibliothèque. Il y a quelques fils connexes: https://www.dropboxforum.com/t5/API-support/Installations/m-p/263451#M15391 https://github.com/dropbox/dropbox-sdk-js/issues/172 https://github.com/dropbox/dropbox-sdk-js/issues/178…
-
What version of the JavaScript SDK are you using? There was a binary formatting issue in v3.x, fixed in v4. Please upgrade to v4 if you aren't using that already and let me know if that doesn't help.
-
No, I don't believe there's an equivalent global in the SwiftyDropbox SDK, but I'll pass this along as a feature request.
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-python/issues/142 ] I can only offer help with the API, so any questions about the Paper product itself would be better served in Find answers > Dropbox Paper or Share an idea > Dropbox Paper.
-
It sounds like your Business team is using the new team space and member folders configuration that some teams have access to. You can find information on interacting with this configuration in the Namespace Guide. The Objective-C SDK hasn't been updated with support for the "Dropbox-API-Path-Root" header yet though. I…
-
Apologies for the delay. This should be fixed in v3.6.0.
-
Unfortunately, this caused a different issue. Please upgrade to v4.0.0 and use the Buffer workaround again. Apologies for the bother.
-
The 200 or 409 are just some possible status codes, and only indicate success/failure at a high level. The response body would contain more specific success or error information, but your screenshot doesn't include it unfortunately. The SDK reads the response body and converts it to the native return type or exception,…
-
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…