What is the best way to handle https.post calls that take longer than 45 seconds?

We’re making calls to an external service with https.post and are having issues because the response is taking more than 45 seconds.

We’re getting this error:



What would be the proper way to handle a request that may take longer than 45 seconds to get a response?

Rookie Asked on July 29, 2020 in SuiteScript.
Add Comment
1 Answer(s)

You can check for the error in your error handling but you can’t change the timeout value.

Intermediate Answered on July 29, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor