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:

(node:7376) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)
AxiosError: socket hang up
    at AxiosError.from (file:///C:/Websites/www.havetiskolan.se/node_modules/axios/lib/core/AxiosError.js:92:14)
    at RedirectableRequest.handleRequestError (file:///C:/Websites/www.havetiskolan.se/node_modules/axios/lib/adapters/http.js:620:25)
    at RedirectableRequest.emit (node:events:518:28)
    at eventHandlers.<computed> (C:\Websites\www.havetiskolan.se\node_modules\follow-redirects\index.js:49:24)
    at ClientRequest.emit (node:events:518:28)
    at emitErrorEvent (node:_http_client:101:11)
    at TLSSocket.socketCloseListener (node:_http_client:477:7)
    at TLSSocket.emit (node:events:530:35)
    at node:net:343:12
    at TCP.done (node:_tls_wrap:648:7)
    at Axios.request (file:///C:/Websites/www.havetiskolan.se/node_modules/axios/lib/core/Axios.js:45:41)
    at async load (file:///C:/Websites/www.havetiskolan.se/server/chunks/11-C15oVm9n.js:24:23)
    at async load_data (file:///C:/Websites/www.havetiskolan.se/server/index.js:1990:18)
    at async file:///C:/Websites/www.havetiskolan.se/server/index.js:3412:18 {
  code: 'ECONNRESET',
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [ 'xhr', 'http', 'fetch' ],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: { FormData: [Function], Blob: [class Blob] },
    validateStatus: [Function: validateStatus],
    headers: Object [AxiosHeaders] {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': undefined,
      'User-Agent': 'axios/1.7.8',
      'Accept-Encoding': 'gzip, compress, deflate, br'
    },
    method: 'get',
    url: 'https://www.havetiskolan.se/api/filter/bild+historia+idrott+kemi+matematik+naturkunskap+naturvetenskap-och-teknik+samhallskunskap+svenska+samhalle-ekonomi+vaxt-djurliv?take=20&page=1',
    data: undefined
  },
  request: <ref *1> Writable {
    _events: {
      close: undefined,
      error: [Function: handleRequestError],
      prefinish: undefined,
      finish: undefined,
      drain: undefined,
      response: [Function: handleResponse],
      socket: [Function: handleRequestSocket]
    },
    _writableState: WritableState {
      highWaterMark: 16384,
      length: 0,
      corked: 0,
      onwrite: [Function: bound onwrite],
      writelen: 0,
      bufferedIndex: 0,
      pendingcb: 0,
      [Symbol(kState)]: 17580812,
      [Symbol(kBufferedValue)]: null
    },
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: Infinity,
      protocol: 'https:',
      path: '/api/filter/bild+historia+idrott+kemi+matematik+naturkunskap+naturvetenskap-och-teknik+samhallskunskap+svenska+samhalle-ekonomi+vaxt-djurliv?take=20&page=1',
      method: 'GET',
      headers: [Object: null prototype],
      agents: [Object],
      auth: undefined,
      family: undefined,
      beforeRedirect: [Function: dispatchBeforeRedirect],
      beforeRedirects: [Object],
      hostname: 'www.havetiskolan.se',
      port: '',
      agent: undefined,
      nativeProtocols: [Object],
      pathname: '/api/filter/bild+historia+idrott+kemi+matematik+naturkunskap+naturvetenskap-och-teknik+samhallskunskap+svenska+samhalle-ekonomi+vaxt-djurliv',
      search: '?take=20&page=1'
    },
    _ended: true,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _eventsCount: 3,
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 337,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      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: true,
      socket: [TLSSocket],
      _header: 'GET /api/filter/bild+historia+idrott+kemi+matematik+naturkunskap+naturvetenskap-och-teknik+samhallskunskap+svenska+samhalle-ekonomi+vaxt-djurliv?take=20&page=1 HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/1.7.8\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'Host: www.havetiskolan.se\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/api/filter/bild+historia+idrott+kemi+matematik+naturkunskap+naturvetenskap-och-teknik+samhallskunskap+svenska+samhalle-ekonomi+vaxt-djurliv?take=20&page=1',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: [Function: emitRequestTimeout],
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: true,
      host: 'www.havetiskolan.se',
      protocol: 'https:',
      _redirectable: [Circular *1],
      [Symbol(shapeMode)]: false,
      [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
    },
    _currentUrl: 'https://www.havetiskolan.se/api/filter/bild+historia+idrott+kemi+matematik+naturkunskap+naturvetenskap-och-teknik+samhallskunskap+svenska+samhalle-ekonomi+vaxt-djurliv?take=20&page=1',
    [Symbol(shapeMode)]: true,
    [Symbol(kCapture)]: false
  },
  cause: Error: socket hang up
      at TLSSocket.socketCloseListener (node:_http_client:477:27)
      at TLSSocket.emit (node:events:530:35)
      at node:net:343:12
      at TCP.done (node:_tls_wrap:648:7) {
    code: 'ECONNRESET'
  }
}
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)
TypeError: Cannot read properties of undefined (reading 'all')
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:52
    at Array.map (<anonymous>)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_page.svelte-BGSgov2I.js:320:23
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.default (file:///C:/Websites/www.havetiskolan.se/server/index.js:70:98)
    at file:///C:/Websites/www.havetiskolan.se/server/chunks/_layout.svelte-CoZ5nmz8.js:363:284
    at Object.$$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at file:///C:/Websites/www.havetiskolan.se/server/index.js:59:121
    at $$render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:71:18)
    at Object.render (file:///C:/Websites/www.havetiskolan.se/server/chunks/exports-D--tUtbK.js:79:20)