Question on a beforeSubmit/afterSubmit User Event ...
# suitescript
r
Question on a beforeSubmit/afterSubmit User Event script for Item Fulfillment. When fulfilling a quantity of 1, we get succession on both firing. If the quantity is 10, and we only fulfill 1. Then the afterSubmit does not execution and an error Authentication Failed is thrown. Any suggestions on digging deeper into why the authentication is failing? We call into a SuiteLet that is running in an elevated role that also does not require login.
s
Are you using the external url to talk to the Suitelet?
I'd also suggest trying to avoid any endpoints that don't require login.
r
The SuiteLet is not using "external," although it is performing an https POST to our external services.
The UE and CL are using the external links to the SuiteLet
s
sounds like a multistep process - you might want to share more about the piece of code that actually errors out with the auth issue
r
I can only chalk this up to a SAML issue, resolved it with logging in with a SAML role
I was using my Admin role and testing things