We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
RockwoodON
2 years agoNew member | Level 2
CURL access has recently stopped working
I have been accessing dropbox files using CURL with an access token via the follwing url: https://content.dropboxapi.com/2/files/download Recently CURL calls are timing out with 0 bytes retur...
Greg-DB
Dropbox Community Moderator
2 years agoCan you enable verbose mode (that should be "CURLOPT_VERBOSE") and share the full output so we can take a look? Be sure to redact the access token though. Thanks!
RockwoodON
2 years agoNew member | Level 2
Thanks for your quick reply. I enabled the VERBOSE option, but did not get a response. The CURL error is:
"Operation timed out after 20001 milliseconds with 0 bytes received"
On a more positive note, I can confirm that posting/uploading a file to Dropbox is working, so it is something about the download process.
- Greg-DB2 years ago
Dropbox Community Moderator
Is that the entirety of the output you get from curl? There should be more output in verbose mode. For example, when I try this code with verbose mode, I get a bunch of output starting with "* Trying"... which then shows the IP address of the server it connected to, and so on. Can you share the rest of that? It should be useful context for debugging this. Please be sure to redact the access token though. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!