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