Hi all,
I could achieve file upload from Web API. I get the posted file, and I could upload it to dropbox and get shared URL of the upped file.
However, deploying the app to Azure, I get an exception when creating the DropboxClient object, and all information is:
ErrorMessage: "shared_link_access_denied/"
ErrorResponse is a SharedLinkError.SharedLinkAccessDenied
Code is:
try
{
dropBoxClient = new DropboxClient(s, new DropboxClientConfig("Forecast5"));
remoteFilePath = String.Format("{0}/logo.jpg", formData["id"]);
var result = await dropBoxClient.Files.UploadAsync(remoteFilePath, WriteMode.Overwrite.Instance, body: fileStream);
}
No idea and what to try. Anyone with a suggestion or idea?
Thanks in advance!!