Loop Issue 401 No records match the request

Discussion created by JulioSandoval on Apr 7, 2017
Latest reply on Apr 7, 2017 by philmodjunk

So I am trying to figure out why this error is popping up. I have set up a loop that first checks if a record has been processed (value 1),

if it has been processed, it got to the next record and exits after last




it proceeds with the script.


And the script is behaving as followed. It runs through, and the moment it finds a processed value of 0, performs the script normal, BUT it does not continue. It stops with the error 401.


This is happening Server Side via a Scheduled Script that I am manually running for this test.


Any ideas?


Image of my script is below.


Screen Shot 2017-04-07 at 3.07.05 PM.pngScreen Shot 2017-04-07 at 3.07.18 PM.png


Thank you all for your help. Appreciate it.