I have a Quarto blog hosted on Netlify.
I configured the Quarto plugin to build the website on Netlify using the source from Github.
I get the error “API rate limit exceeded” in the logs inside Netlify.
I just triggered the build twice today and got the same error. The previous attempt at building was at the beginning of December and I was getting a different error.
Can anyone point me in the right direction?
Thanks
See full logs below:
11:46:04 AM: build-image version: f40c5967c3e09a056e8b79397ce4f1c76d0df777 (focal)
11:46:04 AM: buildbot version: f40c5967c3e09a056e8b79397ce4f1c76d0df777
11:46:04 AM: Fetching cached dependencies
11:46:04 AM: Failed to fetch cache, continuing with build
11:46:04 AM: Starting to prepare the repo for build
11:46:05 AM: No cached dependencies found. Cloning fresh repo
11:46:05 AM: git clone --filter=blob:none https://github.com/zonca/zonca.dev
11:46:05 AM: Preparing Git Reference refs/heads/main
11:46:06 AM: Parsing package.json dependencies
11:46:08 AM: Starting build script
11:46:08 AM: Installing dependencies
11:46:08 AM: Python version set to 2.7
11:46:09 AM: v16.19.0 is already installed.
11:46:09 AM: Now using node v16.19.0 (npm v8.19.3)
11:46:09 AM: Enabling Node.js Corepack
11:46:09 AM: Started restoring cached build plugins
11:46:09 AM: Finished restoring cached build plugins
11:46:09 AM: Attempting Ruby version 2.7.2, read from environment
11:46:10 AM: Using Ruby version 2.7.2
11:46:10 AM: Using PHP version 8.0
11:46:10 AM: Started restoring cached corepack dependencies
11:46:10 AM: mv: cannot move '/opt/build/cache/.node/corepack' to '/opt/buildhome/.node/corepack': No such file or directory
11:46:10 AM: Finished restoring cached corepack dependencies
11:46:11 AM: No npm workspaces detected
11:46:11 AM: Started restoring cached node modules
11:46:11 AM: Finished restoring cached node modules
11:46:11 AM: Bypassing sha validation. Running pre & post install scripts
11:46:11 AM: Installing npm packages using npm version 8.19.3
11:46:14 AM: added 23 packages, and audited 24 packages in 3s
11:46:14 AM: found 0 vulnerabilities
11:46:14 AM: npm packages installed
11:46:14 AM: Started restoring cached go cache
11:46:14 AM: Finished restoring cached go cache
11:46:14 AM: Installing Go version 1.17 (requested 1.17)
11:46:19 AM: unset GOOS;
11:46:19 AM: unset GOARCH;
11:46:19 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64';
11:46:19 AM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}";
11:46:19 AM: go version >&2;
11:46:19 AM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env"
11:46:19 AM: go version go1.17 linux/amd64
11:46:19 AM: Detected 0 framework(s)
11:46:19 AM: Installing missing commands
11:46:19 AM: Verify run directory
11:46:19 AM: Section completed: initializing
11:46:21 AM:
11:46:21 AM: Netlify Build
11:46:21 AM: ────────────────────────────────────────────────────────────────
11:46:21 AM:
11:46:21 AM: ❯ Version
11:46:21 AM: @netlify/build 29.5.4
11:46:21 AM:
11:46:21 AM: ❯ Flags
11:46:21 AM: baseRelDir: true
11:46:21 AM: buildId: 63dc12f769cfb5000850ea12
11:46:21 AM: deployId: 63dc12f769cfb5000850ea14
11:46:21 AM:
11:46:21 AM: ❯ Current directory
11:46:21 AM: /opt/build/repo
11:46:21 AM:
11:46:21 AM: ❯ Config file
11:46:21 AM: /opt/build/repo/netlify.toml
11:46:21 AM:
11:46:21 AM: ❯ Context
11:46:21 AM: branch-deploy
11:46:21 AM:
11:46:21 AM: ❯ Loading plugins
11:46:21 AM: - @quarto/netlify-plugin-quarto@0.0.5 from netlify.toml and package.json
11:46:23 AM:
11:46:23 AM: 1. @quarto/netlify-plugin-quarto (onPreBuild event)
11:46:23 AM: ────────────────────────────────────────────────────────────────
11:46:23 AM:
11:46:23 AM:
11:46:23 AM: Plugin "@quarto/netlify-plugin-quarto" failed
11:46:23 AM: ────────────────────────────────────────────────────────────────
11:46:23 AM:
11:46:23 AM: Error message
11:46:23 AM: HttpError: Error message
11:46:23 AM: API rate limit exceeded for 3.13.122.118. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
11:46:23 AM: Plugin details
11:46:23 AM: Package: @quarto/netlify-plugin-quarto
11:46:23 AM: Version: 0.0.5
11:46:23 AM: Repository: git+https://github.com/quarto-dev/netlify-plugin-quarto.git
11:46:23 AM: npm link: https://www.npmjs.com/package/@quarto/netlify-plugin-quarto
11:46:23 AM: Report issues: https://github.com/quarto-dev/netlify-plugin-quarto/issues
11:46:23 AM:
11:46:23 AM: Error location
11:46:23 AM: In "onPreBuild" event in "@quarto/netlify-plugin-quarto" from netlify.toml and package.json
11:46:23 AM:
11:46:23 AM: Resolved config
11:46:23 AM: build:
11:46:23 AM: environment:
11:46:23 AM: - NETLIFY_GRAPH_TOKEN
11:46:23 AM: - ONEGRAPH_AUTHLIFY_TOKEN
11:46:23 AM: - QUARTO_VERSION
11:46:23 AM: publish: /opt/build/repo
11:46:23 AM: publishOrigin: default
11:46:23 AM: plugins:
11:46:23 AM: - inputs: {}
11:46:24 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
11:46:23 AM: origin: config
11:46:23 AM: package: '@quarto/netlify-plugin-quarto'
11:46:23 AM: Caching artifacts
11:46:23 AM: Started saving node modules
11:46:23 AM: Finished saving node modules
11:46:23 AM: Started saving build plugins
11:46:23 AM: Finished saving build plugins
11:46:23 AM: Started saving pip cache
11:46:23 AM: Finished saving pip cache
11:46:23 AM: Started saving emacs cask dependencies
11:46:23 AM: Finished saving emacs cask dependencies
11:46:23 AM: Started saving maven dependencies
11:46:23 AM: Finished saving maven dependencies
11:46:23 AM: Started saving boot dependencies
11:46:23 AM: Finished saving boot dependencies
11:46:23 AM: Started saving rust rustup cache
11:46:23 AM: Finished saving rust rustup cache
11:46:23 AM: Started saving go dependencies
11:46:23 AM: Finished saving go dependencies
11:46:24 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:46:24 AM: Failing build: Failed to build site
11:46:24 AM: Finished processing build request in 19.767s