Security 401 error during Playback in Run-Time Viewer and not during manual execution
I'm getting a security error during playback of a script which doesn't appeard when I execute the script manually. I'm logged in as the user account that is required and running it as that user. This is a https Portal an nothing fancy.
You might need to look out for headers which can take your credentials. Try using web_set_user for your server with the credentials that you are providing to login to the application.
401 generally occurs when the server expects credentails which you might have failed to pass.