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:

Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Failed to update prerender cache for /404 [Error: EPERM: operation not permitted, open 'D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\.next\server\pages\404.html'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'D:\\inetpub\\www.trihealth.com\\wwwroot\\2024.03.22.39\\.next\\server\\pages\\404.html'
}
Warning: data for page "/[[...path]]" (path "/research-and-education/graduate-medical-education/residency-programs/obstetrics-and-gynecology-residency/research-and-publications") is 131 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Error: Request failed with status code 500
    at createError (D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\node_modules\axios\lib\core\createError.js:16:15)
    at settle (D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (D:\inetpub\www.trihealth.com\wwwroot\2024.03.22.39\node_modules\axios\lib\adapters\http.js:269:11)
    at IncomingMessage.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1368:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  config: {
    url: 'https://cd.trihealth.com/sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true',
    method: 'get',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'user-agent': 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)'
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    withCredentials: true,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      finish: [Function: requestOnFinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    strictContentLength: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      secureConnecting: false,
      _SNICallback: null,
      servername: 'cd.trihealth.com',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 10,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'cd.trihealth.com',
      _closeAfterHandlingError: false,
      _readableState: [ReadableState],
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: [TLSWrap],
      _requestCert: true,
      _rejectUnauthorized: true,
      parser: null,
      _httpMessage: [Circular *1],
      [Symbol(res)]: [TLSWrap],
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 408563,
      [Symbol(kHandle)]: [TLSWrap],
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(kSetKeepAlive)]: false,
      [Symbol(kSetKeepAliveInitialDelay)]: 0,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(connect-options)]: [Object]
    },
    _header: 'GET /sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'user-agent: facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)\r\n' +
      'Host: cd.trihealth.com\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 443,
      protocol: 'https:',
      options: [Object: null prototype],
      requests: [Object: null prototype] {},
      sockets: [Object: null prototype],
      freeSockets: [Object: null prototype] {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 2,
      maxCachedSessions: 100,
      _sessionCache: [Object],
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    joinDuplicateHeaders: undefined,
    path: '/sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [TLSSocket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      rawHeaders: [Array],
      rawTrailers: [],
      joinDuplicateHeaders: undefined,
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 500,
      statusMessage: "Exception of type 'System.OutOfMemoryException' was thrown.",
      client: [TLSSocket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'https://cd.trihealth.com/sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: [Object],
      [Symbol(kHeadersCount)]: 34,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'cd.trihealth.com',
    protocol: 'https:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'https://cd.trihealth.com/sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kBytesWritten)]: 0,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'user-agent': [Array],
      host: [Array]
    },
    [Symbol(errored)]: null,
    [Symbol(kHighWaterMark)]: 16384,
    [Symbol(kRejectNonStandardBodyWrites)]: false,
    [Symbol(kUniqueHeaders)]: null
  },
  response: {
    status: 500,
    statusText: "Exception of type 'System.OutOfMemoryException' was thrown.",
    headers: {
      'cache-control': 'no-cache, no-store',
      pragma: 'no-cache',
      expires: '-1',
      server: '',
      'x-frame-options': 'SAMEORIGIN',
      'set-cookie': [Array],
      'content-security-policy': "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' 'unsafe-inline' https://fonts.gstatic.com; upgrade-insecure-requests; block-all-mixed-content;",
      'strict-transport-security': 'max-age=600; includeSubDomains',
      'x-th-server': 'G',
      'x-sitecore': 'v10.2',
      'x-xss-protection': '1; mode=block',
      'x-content-type-options': 'nosniff',
      date: 'Fri, 29 Mar 2024 09:38:24 GMT',
      connection: 'close',
      'content-length': '0'
    },
    config: {
      url: 'https://cd.trihealth.com/sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true',
      method: 'get',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      withCredentials: true,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      transitional: [Object],
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'GET /sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'user-agent: facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)\r\n' +
        'Host: cd.trihealth.com\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/sitecore/api/layout/render/default?item=%2Fhospitals-and-practices%2Ftrihealth-weight-management%2Fnon-surgical-weight-loss&sc_apikey=%7B27BF3517-71CB-4ACE-B21F-81939A2EF76A%7D&sc_site=trihealth-jss&sc_lang=en&tracking=true',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'cd.trihealth.com',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    data: ''
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}