Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Getty I.
9 years agoNew member | Level 1
Using save_url w/out specifying folder name
Is there an equivalent to .../1/save_url/auto in v2? I noticed that when using the v2 save_url, I have to specify the default folder name whereas in v1, I could just use auto. Please advise.
Getty I.
9 years agoNew member | Level 1
Thank you Gregory. I am having some issues in regards to where the API is reading and writing to when I leave out the folder name.
For example, I have an app whose App Name is My App. The access type says "This app has read/write access only to files inside it's folder".
If I use save_url (https://api.dropboxapi.com/2/files/save_url ) and I only specify the file name (for example myfile.txt), the file gets written to Dropbox and not Dropbox->Apps->My App.
A related issue is as follows: If I do specify the folder name in save_url (/My App/myfile.txt), the file is saved to that folder (Dropbox->Apps->My App).
However, when I specify /MyFolder/myfile.txt when running get_metadata, I get a Httpstatuscode of 409. If I only request /myfile.txt (excluding the foldername), get_metadata will find the file. Please help me understand how I should be able to write a file and check for that file.
Larry
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!