Has anyone worked with .promise? I was getting a "...
# suitetalkapi
m
Has anyone worked with .promise? I was getting a "SSS_REQUEST_TIME_EXCEEDED" error so I decided to implement promise as a way to prevent the error, but now I'm getting ' "Promise" is not defined '. I tried following examples from suiteanswers 50557 and 43804, with no luck. Any help or advice is appreciated.
b
SSS_REQUEST_TIME_EXCEEDED is related to the url being requested taking too long
using https.request.promise will not make that take any less time
m
I guess for some reason I thought that calling the request asynchronously would allow the script to process the response and not invoke a timed error. Thanks.