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:4305031)
    at SafeSubscriber.__tryOrUnsub (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1289841)
    at SafeSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1288540)
    at Subscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1287199)
    at Subscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1286961)
    at MapSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4427110)
    at MapSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1286961)
    at FilterSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4568913)
    at FilterSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1286961)
    at MergeMapSubscriber.notifyNext (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:986521)
ERROR TypeError: Cannot read properties of null (reading 'length')
    at SafeSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4629345)
    at SafeSubscriber.__tryOrUnsub (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1289841)
    at SafeSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1288540)
    at Subscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1287199)
    at Subscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1286961)
    at MapSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4427110)
    at MapSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1286961)
    at FilterSubscriber._next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:4568913)
    at FilterSubscriber.next (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:1286961)
    at MergeMapSubscriber.notifyNext (C:\inetpub\vhosts\indiantrain.in\httpdocs\main.js:1:986521)
ERROR HttpErrorResponse {
  headers: HttpHeaders {
    normalizedNames: Map(0) {},
    lazyUpdate: null,
    headers: Map(0) {}
  },
  status: 0,
  statusText: 'Unknown Error',
  url: 'https://indiantrain.irapi2.online/api/v2/livetrainstatus/apikey/c9b14556386b178bd3170c2a8d2196d7/trainnumber/02347/date/20250124/Route/3/',
  ok: false,
  name: 'HttpErrorResponse',
  message: 'Http failure response for https://indiantrain.irapi2.online/api/v2/livetrainstatus/apikey/c9b14556386b178bd3170c2a8d2196d7/trainnumber/02347/date/20250124/Route/3/: 0 Unknown Error',
  error: ProgressEvent {
    type: 'error',
    target: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    currentTarget: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    lengthComputable: false,
    loaded: 0,
    total: 0
  }
}
ERROR HttpErrorResponse {
  headers: HttpHeaders {
    normalizedNames: Map(0) {},
    lazyUpdate: null,
    headers: Map(0) {}
  },
  status: 0,
  statusText: 'Unknown Error',
  url: 'https://indiantrain.irapi2.online/api/v2/SeatAvailability/apikey/c9b14556386b178bd3170c2a8d2196d7/trainnumber/02877/From/HWH/To/ERS/Date/20250124/Quota/GN/Class/2S',
  ok: false,
  name: 'HttpErrorResponse',
  message: 'Http failure response for https://indiantrain.irapi2.online/api/v2/SeatAvailability/apikey/c9b14556386b178bd3170c2a8d2196d7/trainnumber/02877/From/HWH/To/ERS/Date/20250124/Quota/GN/Class/2S: 0 Unknown Error',
  error: ProgressEvent {
    type: 'error',
    target: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    currentTarget: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    lengthComputable: false,
    loaded: 0,
    total: 0
  }
}
ERROR HttpErrorResponse {
  headers: HttpHeaders {
    normalizedNames: Map(0) {},
    lazyUpdate: null,
    headers: Map(0) {}
  },
  status: 0,
  statusText: 'Unknown Error',
  url: 'https://indiantrain.irapi2.online/api/v2/SeatAvailability/apikey/c9b14556386b178bd3170c2a8d2196d7/trainnumber/11312/From/HAS/To/SUR/Date/20250124/Quota/GN/Class/SL',
  ok: false,
  name: 'HttpErrorResponse',
  message: 'Http failure response for https://indiantrain.irapi2.online/api/v2/SeatAvailability/apikey/c9b14556386b178bd3170c2a8d2196d7/trainnumber/11312/From/HAS/To/SUR/Date/20250124/Quota/GN/Class/SL: 0 Unknown Error',
  error: ProgressEvent {
    type: 'error',
    target: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    currentTarget: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    lengthComputable: false,
    loaded: 0,
    total: 0
  }
}
ERROR HttpErrorResponse {
  headers: HttpHeaders {
    normalizedNames: Map(0) {},
    lazyUpdate: null,
    headers: Map(0) {}
  },
  status: 0,
  statusText: 'Unknown Error',
  url: 'https://indiantrain.irapi2.online/api/v2/LiveStation/apikey/c9b14556386b178bd3170c2a8d2196d7/StationCode/rdl/hours/2/',
  ok: false,
  name: 'HttpErrorResponse',
  message: 'Http failure response for https://indiantrain.irapi2.online/api/v2/LiveStation/apikey/c9b14556386b178bd3170c2a8d2196d7/StationCode/rdl/hours/2/: 0 Unknown Error',
  error: ProgressEvent {
    type: 'error',
    target: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    currentTarget: XMLHttpRequest {
      onloadstart: null,
      onprogress: null,
      onabort: null,
      onerror: null,
      onload: null,
      ontimeout: null,
      onloadend: null,
      _listeners: [Object],
      onreadystatechange: null,
      _anonymous: undefined,
      readyState: 4,
      response: null,
      responseText: '',
      responseType: 'text',
      responseURL: '',
      status: 0,
      statusText: '',
      timeout: 0,
      upload: [XMLHttpRequestUpload],
      _method: 'GET',
      _url: [Url],
      _sync: false,
      _headers: [Object],
      _loweredHeaders: [Object],
      _mimeOverride: null,
      _request: null,
      _response: null,
      _responseParts: null,
      _responseHeaders: null,
      _aborting: null,
      _error: null,
      _loadedBytes: 0,
      _totalBytes: 0,
      _lengthComputable: false
    },
    lengthComputable: false,
    loaded: 0,
    total: 0
  }
}