Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello,
I have the dropbox picker on my page and I can select a file and get the filelink and name. Now I would pass this info to my c#api to read the content. However, it seem that I am missing the credential
Here c# snippet
var webClient = new WebClient();
byte[] arr;
arr = webClient.DownloadData(dropboxFileData.Link);// the link I got from the client js
The arr contain the login html instead of file content. What credential do I need and how I get it.
Thanks
Take a look at my library: https://github.com/saguiitay/DropboxRestAPI
It should allow you to do everything you want in Dropbox, using a simple API...
Basically, your problem is authentication - the URL that you're using assumes that you will make requests that include your Access Token... Without that, it would have been possible to download files of other users, by just knowing the URL...
Hi there!
If you need more help you can view your support options (expected response time for a 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!