I am posting to a 3rd party data from Netsuite and...
# suitescript
n
I am posting to a 3rd party data from Netsuite and getting this error: The host you are trying to connect to has exceeded the maximum allowed response time Any ideas on how to fix that?
Copy code
new Promise((resolve, reject) => {
            const response = <http://https.post|https.post>({
              url  : 3rdpartyURL,
              body : claimXML
            });

            resolve(response);
          })
s
speed up the remote server
n
@Shawn Talbert are you referring to the 3rd party where I am posting to?
s
yes, NetSuite's timeouts are not configurable as far as I know
n
okay, i can look into that.
s
Or, change your request to that server so that it is able to respond in a timely manner.
of cource, a heavier option is to make that request outside of NS (i.e. with a custom app, a low-code integration tool, etc.)
n
@Shawn Talbert got ya. Thanks for the help! I'll look into those.