We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Amicao
4 years agoExplorer | Level 3
File temporary link generation doesn't work
I am trying to generate a temporary link from test file with curl command, but this doesn't work and return this following error:
curl: (92) HTTP/2 stream 1 was not closed cleanly be...
Greg-DB
Dropbox Community Moderator
4 years agoI just replicated this setup and ran this code using my own test file/folder/access token, but the issue didn't reproduce for me. I received a successful reply from the API with the expected temporary link.
Are you still seeing this issue? If so, is there anything on the network connection, such as a proxy, firewall, VPN, anti-virus, etc., that may be interfering with your connections to api.dropboxapi.com? You may need to contact your network admin for help with that.
You may also want to try this on another device/network connection and see if it reproduces there.
Otherwise, you may want to update your curl version, in case you're running in to a bug in the version of curl you're using. And to help debug this, you can enable verbose output with "-v".
Alternatively, since this seems to be related to HTTP/2, you may be able to work around this by downgrading to HTTP/1.1 using "--http1.1", though that's not recommended.
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!