I'm trying to copy list attachments to a document library. I'm using Vadim's example @ Nintex Workflow for Office 365 - Copy Attachments to Document Library - Vadim Tabakman
It is not working for me so I have emails being sent to me to try to track down the issue. I seem to never get a count on the attachments. the web response code is "OK"
I copied the exact string I'm sending to the email as well. this is it:
Solved! Go to Solution.
I was using this function today so it should work so you're almost there!
Can you check that you've definitely set the Request Headers dictionary properly.
Also, you know how you made that temp string? Did you create that as a variable and put your exact code in it? i.e the workflow context site url + org/legal/compliance etc + item ID. Log that variable and check that it creates the string exactly as you want it. e.g. check the getByTitle part doesn't have any extra spaces in it.
Hello Chris, thanks for the encouragement. Perhaps a second pair of eyes will catch what is probably a dumb mistake. The temp string I build is only for sending it to me in an email so that I could make sure I was sending the correct information in the web call. Like logging, but instant gratification through email 🙂
Here is where I build the responseHeaders. I have looked over this and it looks ok to me, but this would not be the first time someone catches a syntax mistake even after I bet my house that it was correct.