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:12752) [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)
Thu, 16 May 2024 21:15:56 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at server.js:25:16
Thu, 16 May 2024 21:15:56 GMT body-parser deprecated undefined extended: provide extended option at node_modules\body-parser\index.js:105:29
Application has thrown an uncaught exception and is terminated:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (D:\vhosts\data.centerforilpolitics.org\httpdocs\node_modules\express\lib\response.js:767:10)
    at ServerResponse.append (D:\vhosts\data.centerforilpolitics.org\httpdocs\node_modules\express\lib\response.js:728:15)
    at ServerResponse.res.cookie (D:\vhosts\data.centerforilpolitics.org\httpdocs\node_modules\express\lib\response.js:853:8)
    at _callee7$ (D:\vhosts\data.centerforilpolitics.org\httpdocs\src\.next\server\static\QyaWwX~47OLNw1CduRTNE\pages\committees\details.js:7793:21)
    at tryCatch (D:\vhosts\data.centerforilpolitics.org\httpdocs\node_modules\regenerator-runtime\runtime.js:62:40)
    at Generator.invoke [as _invoke] (D:\vhosts\data.centerforilpolitics.org\httpdocs\node_modules\regenerator-runtime\runtime.js:288:22)
    at Generator.prototype.<computed> [as next] (D:\vhosts\data.centerforilpolitics.org\httpdocs\node_modules\regenerator-runtime\runtime.js:114:21)
    at asyncGeneratorStep (D:\vhosts\data.centerforilpolitics.org\httpdocs\src\.next\server\static\QyaWwX~47OLNw1CduRTNE\pages\committees\details.js:7462:103)