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:

Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: January 12, 1931, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:324:25)
    at configFromString (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:2550:19)
    at configFromInput (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:2993:13)
    at prepareConfig (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:2976:13)
    at createFromConfig (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:2943:44)
    at createLocalOrUTC (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:3037:16)
    at createLocal (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:3041:16)
    at Object.hooks [as moment] (C:\inetpub\wwwroot\shayripoint.com\node_modules\moment\moment.js:16:29)
    at eval (eval at compile (C:\inetpub\wwwroot\shayripoint.com\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:54:26)
    at Array.forEach (<anonymous>)
Application has thrown an uncaught exception and is terminated:
TypeError: Cannot destructure property '_id' of '(intermediate value)' as it is null.
    at exports.getPostByCategory (C:\inetpub\wwwroot\shayripoint.com\controllers\memberController\post.controller.js:15:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)