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: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
TypeError: First argument must be a string
    at HTMLReactParser (D:\inetpub\websj\sj_app\.next\server\chunks\681.js:2867:11)
    at Card (D:\inetpub\websj\sj_app\.next\server\chunks\541.js:75:114)
    at Je (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:121:272)
    at Z (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:128:91)
    at Ke (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:131:155)
    at Me (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:130:289)
    at Z (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:128:350)
    at Ke (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:131:155)
    at Je (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:122:215)
    at Z (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:128:91)
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Module.generateMetadata (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:381:22)
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Page (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:387:22)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '223520389'
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '4175012546'
}
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Page (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:387:22)
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Module.generateMetadata (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:381:22)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '4175012546'
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '223520389'
}
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Page (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:387:22)
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Module.generateMetadata (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:381:22)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '4175012546'
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '223520389'
}
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Page (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:387:22)
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (node:internal/deps/undici/undici:6160:23)
    at async Module.generateMetadata (D:\inetpub\websj\sj_app\.next\server\app\page\[slug]\page.js:381:22)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '4175012546'
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '223520389'
}
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
TypeError: First argument must be a string
    at HTMLReactParser (D:\inetpub\websj\sj_app\.next\server\chunks\681.js:2867:11)
    at Card (D:\inetpub\websj\sj_app\.next\server\chunks\541.js:75:114)
    at Je (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:121:272)
    at Z (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:128:91)
    at Ke (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:131:155)
    at Me (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:130:289)
    at Z (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:128:350)
    at Ke (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:131:155)
    at Je (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:122:215)
    at Z (D:\inetpub\websj\sj_app\node_modules\next\dist\compiled\react-dom\cjs\react-dom-server.edge.production.min.js:128:91)
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
upstream image response failed for https://public.solicitorsjournal.com/big/Ministry_of_Justice_sign_4.jpg 404
upstream image response failed for https://public.solicitorsjournal.com/big/Ministry_of_Justice_sign_4.jpg 404
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57
Error: invariant: dynamic responses cannot be unchunked. This is a bug in Next.js
    at RenderResult.toUnchunkedString (D:\inetpub\websj\sj_app\node_modules\next\dist\server\render-result.js:28:19)
    at D:\inetpub\websj\sj_app\node_modules\next\dist\server\response-cache\index.js:119:57