I've created a workflow that copies the items list attachments with a reference ID to an Attachments Library using a Call web service - GetAttachmentsCollection Web method - This works fine (example below)
The issue is, in the same workflow I try to delete the List Attachments after copying them somewhere else, as I don't need them in two different spots.
To do this I use the Call web service - DeleteAttachments Web method.
Every time I run the DeleteAttachments web method I get a error.
If I click "Execute" I get the error error "The remote server returned an error: (401) Unauthorized."(Example Below)
If I click "Test connection" I get the error error "Request failed with status: Unauthorized."(Example Below)
If I run the workflow I get a workflow error with the following comments in the workflow status -
If anyone has any idea or suggestion why I'm receiving this error on the DeleteAttachments method but not the GetAttachmentsCollection method I'm all ears.
If you need screenshots of the workflow please let me know.
If anyone needs extra info on the workflow please let me know and thank you for taking the time to look at my post / give me a hand,
Ps. I'm using Nintex 2016 on SharePoint so I'm not at all sure what I should have put the label on this post.
Solved! Go to Solution.