I have stablished an IIS (.net) Web site to receive the Dropbox`s Webhook file change notifications and it is working now. I have a question:
I am receiving many requests, all with the same value for List_folder.Accounts and Delta.Users. I decode the Email of that account, It`s an Email for another Dropbox`s account of my own, but my tries to decode Delta.Users and finding the folder, was failed.
I have tried these .net codes:
var listFolderArg = new ListFolderArg($"ns:{NotificationJson.Delta.Users[0]}");
ListFolderResult listFolderResult = await dropboxClient.Files.ListFolderAsync(listFolderArg);
Result: ==> ListFolderError: path/not_found/
and this:
var listFolderArg = new ListFolderArg("");
PathRoot.NamespaceId pathRoot = new PathRoot.NamespaceId(NotificationJson.Delta.Users[0]);
ListFolderResult listFolderResult = await dropboxClient.Files.ListFolderAsync(listFolderArg);
Result: ==> PathRootException: no_permission/
What should I do to decode Delta.Users[0]?