Skip to main content
Nintex Community Menu Bar

Hello all,

 

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)

18320i995C0B263CEE78B1.png 18327i9ED3B95D36744FA6.png

 

 

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)

18322iE6E059EEBED201F4.png 18331iCC5416D51AFD788F.png

18333i5CC414999ECB4DE9.png

 

If I run the workflow I get a workflow error with the following comments in the workflow status - 18326i5BF8E2E0DBB746CA.png

 

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,

Jordan

 

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.

Reply