iisnode encountered an error when processing the request.

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:

react-i18next:: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
ReferenceError: id is not defined
    at redirect (\\ihhweb.portal\SharedConfig\WebData\CreaWeb\next-web\o-94PWyC\0\yunuses\ihhweb\.next\server\chunks\4823.js:176:32)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Function.Single.getInitialProps (\\ihhweb.portal\SharedConfig\WebData\CreaWeb\next-web\o-94PWyC\0\yunuses\ihhweb\.next\server\pages\[...id].js:527:22)
    at async Object.loadGetInitialProps (\\ihhweb.portal\SharedConfig\WebData\CreaWeb\next-web\o-94PWyC\0\yunuses\ihhweb\node_modules\next\dist\shared\lib\utils.js:69:19)