iisnode encountered an error when processing the request.
HRESULT: 0x6d HTTP status: 500 HTTP subStatus: 1013 HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
(node:9484) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `node --trace-deprecation ...` to show where the warning was created) (node:9484) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version. Application has thrown an uncaught exception and is terminated: RequestError: Validation failed for parameter 'id'. Invalid number. at C:\GUNNYPC\web-new-gun\node_modules\mssql\lib\tedious\request.js:449:19 at Array.forEach (<anonymous>) at Request.userCallback (C:\GUNNYPC\web-new-gun\node_modules\mssql\lib\tedious\request.js:446:46) at Request.callback (C:\GUNNYPC\web-new-gun\node_modules\tedious\lib\request.js:239:14) at C:\GUNNYPC\web-new-gun\node_modules\tedious\lib\connection.js:1634:17 at process.processTicksAndRejections (node:internal/process/task_queues:85:11)