One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Vesenda
8 years agoNew member | Level 2
Create Shared Link (HTTP + C#)
Hi everybody!
I'm using the HTTP Api v2 and C#
I am trying to:
- Create a folder
- Copy a file inside the folder
- Generate a shared link with settings for the folder
- Download the content of the folder using WebClient
The folder is created, the files are copied inside the folder correctly but the link generated is pointing to what seems to be another folder with the same name ( ? ) without any content so I end up downloading an empty .zip. If i copy and paste the shared link that i generate with the API in my browser's address bar I can see an empty folder. If I access my dropbox and reach said folder and manually share it via dropbox Web UI, I get a link which is different and shows the files that I have uploaded.
I am a bit puzzled by this. I'm guessing it has to do with permissions of some sort?
Thanks in advance,
Chris
- Greg-DB
Dropbox Staff
Hi Chris, is your app registered for the "app folder" permission? If so, note that everything the app can access and operate on will be inside the /Apps/<app folder name> folder inside your Dropbox.
So, for example, if the app acts on /<subfolder name>, that will actually be at /Apps/<app folder>/<subfolder name> when you browse your account on dropbox.com.
If that doesn't seem to be the issue, please share some code/output so we can offer more insight.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 hours ago
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 or Facebook.
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!