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:

ERROR TypeError: Cannot read properties of undefined (reading '0')
    at SafeSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4322966)
    at SafeSubscriber.__tryOrUnsub (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1293742)
    at SafeSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1292441)
    at Subscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1291100)
    at Subscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1290862)
    at MapSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4448400)
    at MapSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1290862)
    at FilterSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4592410)
    at FilterSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1290862)
    at MergeMapSubscriber.notifyNext (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:988903)
ERROR HttpErrorResponse {
  headers: HttpHeaders {
    normalizedNames: Map(0) {},
    lazyUpdate: null,
    lazyInit: [Function (anonymous)]
  },
  status: 500,
  statusText: 'Internal Server Error',
  url: 'https://api.indiantrain.in/trains/20847.json',
  ok: false,
  name: 'HttpErrorResponse',
  message: 'Http failure response for https://api.indiantrain.in/trains/20847.json: 500 Internal Server Error',
  error: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> \n' +
    '<html xmlns="http://www.w3.org/1999/xhtml"> \n' +
    '<head> \n' +
    '<title>IIS 10.0 Detailed Error - 500.19 - Internal Server Error</title> \n' +
    '<style type="text/css"> \n' +
    '<!-- \n' +
    'body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;} \n' +
    'code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} \n' +
    '.config_source code{font-size:.8em;color:#000000;} \n' +
    'pre{margin:0;font-size:1.4em;word-wrap:break-word;} \n' +
    'ul,ol{margin:10px 0 10px 5px;} \n' +
    'ul.first,ol.first{margin-top:5px;} \n' +
    'fieldset{padding:0 15px 10px 15px;word-break:break-all;} \n' +
    '.summary-container fieldset{padding-bottom:5px;margin-top:4px;} \n' +
    'legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} \n' +
    'legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; \n' +
    'font-weight:bold;font-size:1em;} \n' +
    'a:link,a:visited{color:#007EFF;font-weight:bold;} \n' +
    'a:hover{text-decoration:none;} \n' +
    'h1{font-size:2.4em;margin:0;color:#FFF;} \n' +
    'h2{font-size:1.7em;margin:0;color:#CC0000;} \n' +
    'h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;} \n' +
    'h4{font-size:1.2em;margin:10px 0 5px 0; \n' +
    '}#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS",Verdana,sans-serif; \n' +
    ' color:#FFF;background-color:#5C87B2; \n' +
    '}#content{margin:0 0 0 2%;position:relative;} \n' +
    '.summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} \n' +
    '.content-container p{margin:0 0 10px 0; \n' +
    '}#details-left{width:35%;float:left;margin-right:2%; \n' +
    '}#details-right{width:63%;float:left;overflow:hidden; \n' +
    '}#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF; \n' +
    ' background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal; \n' +
    ' font-size:1em;color:#FFF;text-align:right; \n' +
    '}#server_version p{margin:5px 0;} \n' +
    'table{margin:4px 0 4px 0;width:100%;border:none;} \n' +
    'td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:normal;border:none;} \n' +
    'th{width:30%;text-align:right;padding-right:2%;font-weight:bold;} \n' +
    'thead th{background-color:#ebebeb;width:25%; \n' +
    '}#details-right th{width:20%;} \n' +
    'table tr.alt td,table tr.alt th{} \n' +
    '.highlight-code{color:#CC0000;font-weight:bold;font-style:italic;} \n' +
    '.clear{clear:both;} \n' +
    '.preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;} \n' +
    '--> \n' +
    '</style> \n' +
    ' \n' +
    '</head> \n' +
    '<body> \n' +
    '<div id="content"> \n' +
    '<div class="content-container"> \n' +
    '  <h3>HTTP Error 500.19 - Internal Server Error</h3> \n' +
    '  <h4>Absolute physical path &quot;C:\\Inetpub\\vhosts\\bookdeft.com\\error_docs\\unauthorized.html&quot; is not allowed in system.webServer/httpErrors section in web.config file.  Use relative path instead.</h4> \n' +
    '</div> \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>Most likely causes:</h4> \n' +
    '  <ul> \t<li>The worker process is unable to read the applicationhost.config or web.config file.</li> \t<li>There is malformed XML in the applicationhost.config or web.config file.</li> \t<li>The server cannot access the applicationhost.config or web.config file because of incorrect NTFS permissions.</li> </ul> \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>Things you can try:</h4> \n' +
    '  <ul> \t<li>Look in the event logs for information about why the configuration files are not readable.</li> \t<li>Make sure the user identity specified for the application pool, or the authenticated user, has the required permissions to access the web.config file.</li> </ul> \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    ' \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>Detailed Error Information:</h4> \n' +
    '  <div id="details-left"> \n' +
    '   <table border="0" cellpadding="0" cellspacing="0"> \n' +
    '    <tr class="alt"><th>Module</th><td>&nbsp;&nbsp;&nbsp;CustomErrorModule</td></tr> \n' +
    '    <tr><th>Notification</th><td>&nbsp;&nbsp;&nbsp;SendResponse</td></tr> \n' +
    '    <tr class="alt"><th>Handler</th><td>&nbsp;&nbsp;&nbsp;StaticFile</td></tr> \n' +
    '    <tr><th>Error Code</th><td>&nbsp;&nbsp;&nbsp;0x8007000d</td></tr> \n' +
    '     \n' +
    '   </table> \n' +
    '  </div> \n' +
    '  <div id="details-right"> \n' +
    '   <table border="0" cellpadding="0" cellspacing="0"> \n' +
    '    <tr class="alt"><th>Requested URL</th><td>&nbsp;&nbsp;&nbsp;https://api.indiantrain.in:443/trains/20847.json</td></tr> \n' +
    '    <tr><th>Physical Path</th><td>&nbsp;&nbsp;&nbsp;C:\\inetpub\\vhosts\\indiantrain.in\\api.indiantrain.in\\trains\\20847.json</td></tr> \n' +
    '    <tr class="alt"><th>Logon Method</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> \n' +
    '    <tr><th>Logon User</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> \n' +
    '     \n' +
    '   </table> \n' +
    '   <div class="clear"></div> \n' +
    '  </div> \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    ' \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>More Information:</h4> \n' +
    '  This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error. \n' +
    '  <p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,19,0x8007000d,14393">View more information &raquo;</a></p> \n' +
    '   \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    '</div> \n' +
    '</body> \n' +
    '</html> \n'
}
ERROR HttpErrorResponse {
  headers: HttpHeaders {
    normalizedNames: Map(0) {},
    lazyUpdate: null,
    lazyInit: [Function (anonymous)]
  },
  status: 500,
  statusText: 'Internal Server Error',
  url: 'https://api.indiantrain.in/trains/18257.json',
  ok: false,
  name: 'HttpErrorResponse',
  message: 'Http failure response for https://api.indiantrain.in/trains/18257.json: 500 Internal Server Error',
  error: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> \n' +
    '<html xmlns="http://www.w3.org/1999/xhtml"> \n' +
    '<head> \n' +
    '<title>IIS 10.0 Detailed Error - 500.19 - Internal Server Error</title> \n' +
    '<style type="text/css"> \n' +
    '<!-- \n' +
    'body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;} \n' +
    'code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} \n' +
    '.config_source code{font-size:.8em;color:#000000;} \n' +
    'pre{margin:0;font-size:1.4em;word-wrap:break-word;} \n' +
    'ul,ol{margin:10px 0 10px 5px;} \n' +
    'ul.first,ol.first{margin-top:5px;} \n' +
    'fieldset{padding:0 15px 10px 15px;word-break:break-all;} \n' +
    '.summary-container fieldset{padding-bottom:5px;margin-top:4px;} \n' +
    'legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} \n' +
    'legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; \n' +
    'font-weight:bold;font-size:1em;} \n' +
    'a:link,a:visited{color:#007EFF;font-weight:bold;} \n' +
    'a:hover{text-decoration:none;} \n' +
    'h1{font-size:2.4em;margin:0;color:#FFF;} \n' +
    'h2{font-size:1.7em;margin:0;color:#CC0000;} \n' +
    'h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;} \n' +
    'h4{font-size:1.2em;margin:10px 0 5px 0; \n' +
    '}#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS",Verdana,sans-serif; \n' +
    ' color:#FFF;background-color:#5C87B2; \n' +
    '}#content{margin:0 0 0 2%;position:relative;} \n' +
    '.summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} \n' +
    '.content-container p{margin:0 0 10px 0; \n' +
    '}#details-left{width:35%;float:left;margin-right:2%; \n' +
    '}#details-right{width:63%;float:left;overflow:hidden; \n' +
    '}#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF; \n' +
    ' background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal; \n' +
    ' font-size:1em;color:#FFF;text-align:right; \n' +
    '}#server_version p{margin:5px 0;} \n' +
    'table{margin:4px 0 4px 0;width:100%;border:none;} \n' +
    'td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:normal;border:none;} \n' +
    'th{width:30%;text-align:right;padding-right:2%;font-weight:bold;} \n' +
    'thead th{background-color:#ebebeb;width:25%; \n' +
    '}#details-right th{width:20%;} \n' +
    'table tr.alt td,table tr.alt th{} \n' +
    '.highlight-code{color:#CC0000;font-weight:bold;font-style:italic;} \n' +
    '.clear{clear:both;} \n' +
    '.preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;} \n' +
    '--> \n' +
    '</style> \n' +
    ' \n' +
    '</head> \n' +
    '<body> \n' +
    '<div id="content"> \n' +
    '<div class="content-container"> \n' +
    '  <h3>HTTP Error 500.19 - Internal Server Error</h3> \n' +
    '  <h4>Absolute physical path &quot;C:\\Inetpub\\vhosts\\bookdeft.com\\error_docs\\unauthorized.html&quot; is not allowed in system.webServer/httpErrors section in web.config file.  Use relative path instead.</h4> \n' +
    '</div> \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>Most likely causes:</h4> \n' +
    '  <ul> \t<li>The worker process is unable to read the applicationhost.config or web.config file.</li> \t<li>There is malformed XML in the applicationhost.config or web.config file.</li> \t<li>The server cannot access the applicationhost.config or web.config file because of incorrect NTFS permissions.</li> </ul> \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>Things you can try:</h4> \n' +
    '  <ul> \t<li>Look in the event logs for information about why the configuration files are not readable.</li> \t<li>Make sure the user identity specified for the application pool, or the authenticated user, has the required permissions to access the web.config file.</li> </ul> \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    ' \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>Detailed Error Information:</h4> \n' +
    '  <div id="details-left"> \n' +
    '   <table border="0" cellpadding="0" cellspacing="0"> \n' +
    '    <tr class="alt"><th>Module</th><td>&nbsp;&nbsp;&nbsp;CustomErrorModule</td></tr> \n' +
    '    <tr><th>Notification</th><td>&nbsp;&nbsp;&nbsp;SendResponse</td></tr> \n' +
    '    <tr class="alt"><th>Handler</th><td>&nbsp;&nbsp;&nbsp;StaticFile</td></tr> \n' +
    '    <tr><th>Error Code</th><td>&nbsp;&nbsp;&nbsp;0x8007000d</td></tr> \n' +
    '     \n' +
    '   </table> \n' +
    '  </div> \n' +
    '  <div id="details-right"> \n' +
    '   <table border="0" cellpadding="0" cellspacing="0"> \n' +
    '    <tr class="alt"><th>Requested URL</th><td>&nbsp;&nbsp;&nbsp;https://api.indiantrain.in:443/trains/18257.json</td></tr> \n' +
    '    <tr><th>Physical Path</th><td>&nbsp;&nbsp;&nbsp;C:\\inetpub\\vhosts\\indiantrain.in\\api.indiantrain.in\\trains\\18257.json</td></tr> \n' +
    '    <tr class="alt"><th>Logon Method</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> \n' +
    '    <tr><th>Logon User</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> \n' +
    '     \n' +
    '   </table> \n' +
    '   <div class="clear"></div> \n' +
    '  </div> \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    ' \n' +
    '<div class="content-container"> \n' +
    ' <fieldset><h4>More Information:</h4> \n' +
    '  This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error. \n' +
    '  <p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,19,0x8007000d,14393">View more information &raquo;</a></p> \n' +
    '   \n' +
    ' </fieldset> \n' +
    '</div> \n' +
    '</div> \n' +
    '</body> \n' +
    '</html> \n'
}