I am trying to create an app in c# which will download files from a given url which looks like this
https://wixlabs---dropbox-folder.appspot.com/index?instance=UexTyTTXTALjKbz1f1P3H5nZAFTiMsLw2wWcu_0uebU.eyJpbnN0YW5jZUlkIjoiNzk4YzZlYTUtMDg5Yi00ZjFlLWI2NzMtOWYxZjA1OTU1YmQ5IiwiYXBwRGVmSWQiOiIxNDkyNDg2NC01NmQ1LWI5NGItMDYwZi1jZDU3YmQxNmNjMjYiLCJtZXRhU2l0ZUlkIjoiYmRkMzFlNjMtY2I5Ny00ZTMxLWI5NGEtMGFhNmI5MzgwYjY3Iiwic2lnbkRhdGUiOiIyMDE4LTEwLTA0VDAwOjE4OjIyLjM5MFoiLCJ1aWQiOm51bGwsInZlbmRvclByb2R1Y3RJZCI6bnVsbCwiZGVtb01vZGUiOmZhbHNlfQ&target=_top&width=576&compId=comp-jmtmo1bb&viewMode=viewer-seo
This is the code I am using:
Snippet
using (var dbx = new DropboxClient("My ACCESS TOKEN HERE"))
{
var metadata = await dbx.Sharing.GetSharedLinkMetadataAsync(url);
Console.WriteLine($"{metadata.IsFolder}, {metadata.Name}");
}And this is the exception I get:
ApiException`1: shared_link_not_found/...
Am I doing something wrong? The above link is a publicly shared link and I was able to download the files in the browser.
Thanks for the help.