Site: toolsbible.netlify.app
We’ve been deploying successfully now for several months with this repo, but suddenly as of today we’re getting build errors with reqs we haven’t touched. Pre-rendering is failing because of data fetching in getStaticProps failing (and thus not sending expected props through, so this is really a fetch issue.
Build works fine locally with same node/npm versioning, fetch urls have been tested in various clients and are not blocked.
We also tried rebuilding on netlify using the last successful build commit, and it’s also failing now, so it seems pretty certain it’s an issue on netlify’s server.
User agent is specified in the fetch options (just in case – it isn’t a requirement for the api endpoint). Here’s an example of the fetch options from one of the failing requests:
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
'User-Agent': '*',
},
}
See build logs below. I cancelled the build after a couple of the errors because several hundred of the same will appear before it completes which didn’t seem necessary to display.
1:29:44 PM: build-image version: 596993885fcc8df0dd6d507c57c5c9cb7c3a8576 (focal)
1:29:44 PM: buildbot version: 1d276bd25f4562243b697f80623a3bf6b0e1dfbd
1:29:44 PM: Fetching cached dependencies
1:29:44 PM: Starting to download cache of 520.4MB
1:29:48 PM: Finished downloading cache in 4.621s
1:29:48 PM: Starting to extract cache
1:29:51 PM: Finished extracting cache in 3.045s
1:29:51 PM: Finished fetching cache in 7.765s
1:29:51 PM: Starting to prepare the repo for build
1:29:52 PM: Preparing Git Reference refs/heads/master
1:29:55 PM: Parsing package.json dependencies
1:29:56 PM: Starting to install dependencies
1:29:56 PM: Using PHP version 8.0
1:29:56 PM: Python version set to 3.8
1:29:56 PM: Attempting Ruby version 2.7.2, read from environment
1:29:57 PM: Using Ruby version 2.7.2
1:29:58 PM: Started restoring cached go cache
1:29:58 PM: Finished restoring cached go cache
1:29:58 PM: Installing Go version 1.19.5 (requested 1.19.5)
1:30:02 PM: go version go1.19.5 linux/amd64
1:30:03 PM: Started restoring cached Node.js version
1:30:04 PM: Finished restoring cached Node.js version
1:30:04 PM: Downloading and installing node v16.20.0...
1:30:04 PM: Downloading https://nodejs.org/dist/v16.20.0/node-v16.20.0-linux-x64.tar.xz...
1:30:04 PM: Computing checksum with sha256sum
1:30:04 PM: Checksums matched!
1:30:06 PM: Enabling Node.js Corepack
1:30:06 PM: Started restoring cached build plugins
1:30:06 PM: Finished restoring cached build plugins
1:30:06 PM: Started restoring cached corepack dependencies
1:30:06 PM: Finished restoring cached corepack dependencies
1:30:06 PM: No npm workspaces detected
1:30:06 PM: Started restoring cached node modules
1:30:06 PM: Finished restoring cached node modules
1:30:07 PM: Installing npm packages using npm version 8.19.4
1:30:10 PM: added 187 packages, removed 4 packages, changed 3 packages, and audited 495 packages in 3s
1:30:10 PM: 98 packages are looking for funding
1:30:10 PM: run `npm fund` for details
1:30:10 PM: 1 high severity vulnerability
1:30:10 PM: To address all issues, run:
1:30:10 PM: npm audit fix
1:30:10 PM: Run `npm audit` for details.
1:30:10 PM: npm packages installed
1:30:10 PM: Install dependencies script success
1:30:10 PM: Starting build script
1:30:11 PM: Detected 1 framework(s)
1:30:11 PM: "next" at version "12.3.0"
1:30:11 PM: Section completed: initializing
1:30:12 PM:
1:30:12 PM: Netlify Build
1:30:12 PM: ────────────────────────────────────────────────────────────────
1:30:12 PM:
1:30:12 PM: ❯ Version
1:30:12 PM: @netlify/build 29.9.0
1:30:12 PM:
1:30:12 PM: ❯ Flags
1:30:12 PM: baseRelDir: true
1:30:12 PM: buildId: 642f0f93c7a53100a875fa86
1:30:12 PM: deployId: 642f0f93c7a53100a875fa88
1:30:12 PM:
1:30:12 PM: ❯ Current directory
1:30:12 PM: /opt/build/repo
1:30:12 PM:
1:30:12 PM: ❯ Config file
1:30:12 PM: No config file was defined: using default values.
1:30:12 PM:
1:30:12 PM: ❯ Context
1:30:12 PM: production
1:30:13 PM:
1:30:13 PM: ❯ Installing plugins
1:30:13 PM: - @netlify/plugin-nextjs@4.33.0
1:30:13 PM:
1:30:13 PM: ❯ Using Next.js Runtime - v4.33.0
1:30:15 PM:
1:30:15 PM: 1. @netlify/plugin-nextjs (onPreBuild event)
1:30:15 PM: ────────────────────────────────────────────────────────────────
1:30:15 PM:
1:30:15 PM: Next.js cache restored.
1:30:15 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
1:30:15 PM:
1:30:15 PM: (@netlify/plugin-nextjs onPreBuild completed in 137ms)
1:30:15 PM:
1:30:15 PM: 2. Build command from Netlify app
1:30:15 PM: ────────────────────────────────────────────────────────────────
1:30:15 PM:
1:30:15 PM: $ npm run build
1:30:16 PM: > tools-bible@0.1.0 build
1:30:16 PM: > next build
1:30:16 PM: info - Linting and checking validity of types...
1:30:17 PM: info - Creating an optimized production build...
1:30:32 PM: info - Compiled successfully
1:30:32 PM: info - Collecting page data...
1:30:40 PM: info - Generating static pages (0/60)
1:30:41 PM: Error occurred prerendering page "/tools/chameleon". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/translationcore". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/multilingualism-assessment-tool". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/sign-language-translation-tool". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/era-enter-retrieve-anywhere". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/wp/v2/license?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async /opt/build/repo/.next/server/chunks/562.js:47:22
1:30:41 PM: at async Promise.all (index 10)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:34:24)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/connect-by-avodah". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/the-scripture-engagement-guide". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/fieldworks-2". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/progressbible". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/language-forge". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:45 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/publishing-assistant". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/wesay". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/dictionary-app-builder". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: info - Generating static pages (15/60)
1:30:41 PM: Error occurred prerendering page "/tools/the-bible-translators-assistant-tbta". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/flextrans-2". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/keyman". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/marble". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/audio-project-manager". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/wp/v2/taxonomies?type=tools&per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:32:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/scripture-forge-2". Read more: https://nextjs.org/docs/messages/prerender-error
1:30:41 PM: FetchError: invalid json response body at ****/wp-json/acf/v3/options/options?per_page=100 reason: Unexpected token < in JSON at position 0
1:30:41 PM: at /opt/build/repo/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
1:30:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
1:30:41 PM: at async fetchCategories (/opt/build/repo/.next/server/chunks/562.js:22:27)
1:30:41 PM: at async getStaticProps (/opt/build/repo/.next/server/pages/tools/[slug].js:594:24)
1:30:41 PM: at async renderToHTML (/opt/build/repo/node_modules/next/dist/server/render.js:390:20)
1:30:41 PM: at async /opt/build/repo/node_modules/next/dist/export/worker.js:260:36
1:30:41 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
1:30:41 PM: Error occurred prerendering page "/tools/cog". Read more: https://nextjs.org/docs/messages/prerender-error