I am using the SaveToSharePoint command to save files to the site. That is working fine. I then tried to use DeleteFromSharePoint using the filename URL created during the save. When I do that I receive the following error:
Action: DeleteFromSharePoint. Arguments: url:
https://cclhomes2.sharepoint.com/aspenlakes/OTP Attachments/1 Adina Close/1
Adina Close - Offer to Purchase.pdf . Details: The remote server returned an
error: (403) Forbidden.. Stack: at System.Net.HttpWebRequest.GetResponse() at
Qdabra.Tools.RulesLibrary.Commands.DeleteFromSharePoint_Client(String url) at
Qdabra.Tools.RulesLibrary.Commands.DeleteFromSharePoint() at
Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()
Any thoughts on how to fix or what I am doing wrong? The command is simple, concat("DeleteFromSharePoint /url=", DL1) where DL1 is the URL created when running the SaveToSharePoint command.
Thanks,