For reference, here is the pertinent portion of the script in question:
Enter Find Mode [ ]
Go to Object [ Some object]
Set Field By name [ Some Field ]
Commit Record/Request [ No dialogue ]
Perform Find [ ]
If [ Get(LastError) = 401 ]
When I run this script on the server, the 401 error is triggered. When I run the script locally (pause on error), the 401 error is triggered. When I step through the script in script debugger, there is no 401 error trigger. What am I missing?