We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
nethaji r.
10 years agoNew member | Level 1
save_url error
https://api.dropboxapi.com/1/save_url/auto/Parts Information Database/2.0 Parts Books/BACKHOE MANUALS/ALLIS CHALMERS BACKHOE MANUALS/615 PM #1008928.PDF?access_token=***&url=http://www.minnpar.com/pa...
Greg-DB
Dropbox Community Moderator
10 years agoYou need to URI escape your parameters. In your sample, you're not escaping the whitespace in the destination, which is breaking up the pieces you're giving to curl, corrupting the command. That is, curl thinks you mean "PM" is another host you want to connect to.
Your curl command should probably look something like:
curl "https://api.dropbox.com/1/save_url/auto/615%20PM%20%231008928.PDF" \
-H "Authorization: Bearer auth_token_key" \
-d url="http%3A%2F%2Fwww.minnpar.com%2Fpartbooks%2FBACKHOE%2520MANUALS%2FALLIS%2520CHALMERS%2520BACKHOE%2520MANUALS%2F615%2520PM%2520%25231008928.PDF"
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!