iisnode encountered an error when processing the request.
HRESULT: 0x2 HTTP status: 500 HTTP subStatus: 1002 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:
{"timestamp":"2026-07-02T13:09:49.468Z","level":"warn","context":"Bootstrap","message":"API_KEY_PEPPER is not set in production: stored API-key hashes use plain SHA-256. Set API_KEY_PEPPER and re-issue keys to enable HMAC hashing."}
(node:12980) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
at showFlaggedDeprecation (node:buffer:222:11)
at new Buffer (node:buffer:305:3)
at ensureBuffer (C:\Program Files (x86)\iisnode\interceptor.js:169:24)
at stream.write.stream.end (C:\Program Files (x86)\iisnode\interceptor.js:174:26)
at console.value (node:internal/console/constructor:313:16)
at console.log (node:internal/console/constructor:416:26)
at Object.<anonymous> (C:\Inetpub\vhosts\zoud.sa\wa.zoud.sa\dist\main.js:78:13)
at Module._compile (node:internal/modules/cjs/loader:1854:14)
at Object..js (node:internal/modules/cjs/loader:1985:10)
at Module.load (node:internal/modules/cjs/loader:1577:32)
at Module._load (node:internal/modules/cjs/loader:1379:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1600:12)
at require (node:internal/modules/helpers:153:16)
at Object.<anonymous> (C:\Program Files (x86)\iisnode\interceptor.js:210:1)
at Module._compile (node:internal/modules/cjs/loader:1854:14)
[x1B][31m[Nest] 12980 - [x1B][39m07/02/2026, 4:09:49 PM [x1B][31m ERROR[x1B][39m [x1B][38;5;3m[ExceptionHandler] [x1B][39mError: Invalid environment configuration:
- PORT must be an integer port in [1, 65535] (got "\\.\pipe\1e54cc55-8284-4090-a2da-d2c4d70b2cf7")
at Object.validateEnv [as validate] [x1B][90m(C:\Inetpub\vhosts\zoud.sa\wa.zoud.sa\dist\[x1B][39mconfig\env.validation.js:73:15[x1B][90m)[x1B][39m
at ConfigModule.forRoot (C:\Inetpub\vhosts\zoud.sa\wa.zoud.sa\node_modules\[x1B][4m@nestjs\config[x1B][24m\dist\config.module.js:88:45)
at Object.<anonymous> [x1B][90m(C:\Inetpub\vhosts\zoud.sa\wa.zoud.sa\dist\[x1B][39mapp.module.js:111:35[x1B][90m)[x1B][39m
[x1B][90m at Module._compile (node:internal/modules/cjs/loader:1854:14)[x1B][39m
[x1B][90m at Object..js (node:internal/modules/cjs/loader:1985:10)[x1B][39m
[x1B][90m at Module.load (node:internal/modules/cjs/loader:1577:32)[x1B][39m
[x1B][90m at Module._load (node:internal/modules/cjs/loader:1379:12)[x1B][39m
[x1B][90m at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)[x1B][39m
[x1B][90m at Module.require (node:internal/modules/cjs/loader:1600:12)[x1B][39m
[x1B][90m at require (node:internal/modules/helpers:153:16)[x1B][39m
at Object.<anonymous> [x1B][90m(C:\Inetpub\vhosts\zoud.sa\wa.zoud.sa\dist\[x1B][39mmain.js:44:22[x1B][90m)[x1B][39m
[x1B][90m at Module._compile (node:internal/modules/cjs/loader:1854:14)[x1B][39m
[x1B][90m at Object..js (node:internal/modules/cjs/loader:1985:10)[x1B][39m
[x1B][90m at Module.load (node:internal/modules/cjs/loader:1577:32)[x1B][39m
[x1B][90m at Module._load (node:internal/modules/cjs/loader:1379:12)[x1B][39m
[x1B][90m at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)[x1B][39m