Netsuite error creating token file

Good afternoon everyone, I have been following a manual to perform “NetSuite RESTlet Creation – SuiteScript 2.0 with OAuth 2”, I have managed to create the ID token and the Secret token, but when using it in the downloaded code I get the following error:
“node:events:368
throw er; // Unhandled ‘error’ event
^

Error: getaddrinfo ENOTFOUND tstdrv###.restlets.api.netsuite.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
Emitted ‘error’ event on ClientRequest instance at:
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -3008,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘tstdrv###.restlets.api.netsuite.com’
}”
I would like to know if anyone has had the same error or if they know how to solve it, thanks

Rookie Asked on March 31, 2022 in Other.
Add Comment
0 Answer(s)

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