I've been working on a client script that calls a ...
# suitescript
n
I've been working on a client script that calls a SuiteLet and using https.request.promise. This has worked fine until about an hour ago, I've switched out my fairly complex code for this simple version attached. the call triggers and the SL runs, I can see output in the Sl logs and I return something sensible. I tried changing my response to a simple "hi" in case that was causing an issue. I never hit the "then" or failure section??? I have switched out the promise for a simple https.request and that works perfectly. Any idea why the promise version doesn't work correctly? (sorry I know it's a bit "fuzzy" but I'm banging my head against this and would prefer to use a promise for the user experience benefit)