Good afternoon everyone! We recently implemented I...
# general
j
Good afternoon everyone! We recently implemented Item Groups but they've affected a Sales Order User Event Script in a weird way. The script sends an HTTPS request when the order is edited, but if the order has one of a few of our Item Groups, the request is not sent even though the script finishes and even does a log.debug after the request is supposed to have been sent. Has anyone encountered anything like that before? Thanks!
j
The ”end of group” item (the one that lacks item number) often causes errors in script since developers are unaware of all item types. Try exclude it in your script
j
Thanks for the response, J! I think the problem was the request body was too big; I finally thought to log the request's response and found a 413 error. I thought that would've thrown an error on the SuiteScript side, but guess not.
👍 1