50 · Error library

Error library

Search by the exact text you see. Each entry says what it means, the likely causes and what to tell your agent.

Terminal

Browser

Vercel build

Module not found: Can't resolve '…'Terminal or browserThe code imports a package or file that isn't there.Type error: Property '…' does not exist on type '…'.Vercel build logs or terminalTypeScript caught a mismatch between what a piece of data actually contains and what the code expects.Failed to compile. Error: '…' is defined but never used. (@typescript-eslint/no-unused-vars)Vercel build logs or terminalThe code quality check (ESLint) stopped the build because a leftover variable or import isn't used anywhere.npm error Missing script: "build" — Error: Command "npm run build" exited with 1Vercel build logsVercel tried to build your site, but the repo's root folder doesn't have a Next.js `package.json` with a `build` script.Error: Found invalid Node.js Version: "18.x". Please set Node.js Version to 22.x in Project Settings.Vercel build logsThe Node.js version selected in Vercel doesn't match the modern Node.js LTS version your packages require.Module not found: Error: Can't resolve './components/Button' in '/vercel/path0/app'Vercel build logs (works locally, fails on Vercel)The uppercase/lowercase letters in an `import` path don't exactly match the file's real name. Mac and Windows ignore case, but Vercel's Linux servers require an exact match.DynamicServerError: Dynamic server usage: Route /… couldn't be rendered statically because it used `cookies` or `headers`.Vercel build logs or terminalNext.js tried to pre-build a page as fixed HTML at build time, but the page reads the current visitor's session cookies or request headers.useSearchParams() should be wrapped in a suspense boundary at page "/…".Vercel build logs or `npm run build`A client component reads URL query parameters with `useSearchParams()`, and Next.js needs a `<Suspense>` wrapper around it so the rest of the page can load immediately.

Vercel runtime

504: GATEWAY_TIMEOUT — Code: FUNCTION_INVOCATION_TIMEOUTPreview or Production site on VercelA server action or API route took too long to finish, so Vercel stopped waiting and closed the request.500: INTERNAL_SERVER_ERROR — Code: FUNCTION_INVOCATION_FAILEDPreview or Production site on VercelSomething crashed on the server while handling your request. Vercel hides the raw crash from visitors and records the real cause in the runtime logs.Error: The Edge Runtime does not support Node.js '…' module.Vercel logs or terminalA route or middleware configured to run on the lightweight Edge runtime imported a package that requires full Node.js.413: FUNCTION_PAYLOAD_TOO_LARGE — Request Entity Too LargeBrowser or Vercel runtime logsThe browser tried to send a file or request body larger than the limit allowed for a single server request (4.5 MB on Vercel).Error: Missing required environment variable: TOKENTIDE_API_KEY is undefinedTerminal or Vercel runtime logsYour app looked for an environment variable slot (such as an API key or database URL), and that slot wasn't set in the environment where the app is running.BetterAuthError: BETTER_AUTH_SECRET is not set or is too shortTerminal or Vercel runtime logsBetter Auth needs a random secret string (`BETTER_AUTH_SECRET`) to sign login cookies safely, and it hasn't been generated for this environment yet.BetterAuthError: Invalid origin: https://…-git-….vercel.app is not a trusted originVercel Preview runtime logs or browserYou tried to sign in on a Vercel Preview link, and Better Auth blocked the request because it hasn't been told to trust your project's Preview URLs yet.

Git and GitHub

Database (Neon / Postgres)

AI provider (Tokentide / Gateway)

AI_APICallError: 401 invalid_api_key — Incorrect or revoked Tokentide API keyTerminal or Vercel runtime logsTokentide rejected `TOKENTIDE_API_KEY` because the key is incomplete, revoked, or missing its `tt_live_` prefix.AI_APICallError: 402 Payment Required — Insufficient balance or daily spend cap reachedTerminal or Vercel runtime logsTokentide refused the request before running it because your prepaid balance ran out or your key hit its daily spending cap.AI_APICallError: 403 model_not_allowed — Model requires privacy mode 'all' or is not in the catalogTerminal or Vercel runtime logsYour code asked Tokentide for a model that your key's privacy setting doesn't allow, or used a misspelled model ID. Unlike 503 or 429, 403 `model_not_allowed` should be fixed in configuration, not sent to the fallback.AI_APICallError: 429 Too Many Requests — Rate limit exceeded (Retry-After: …)Terminal or Vercel runtime logsToo many AI requests were sent in a short burst. Tokentide refused the extra request without charging and included a `Retry-After` header saying how many seconds to use the backup.AI_APICallError: 503 Service Unavailable — No discounted capacity available right nowTerminal or Vercel runtime logsTokentide's discounted capacity for that model is temporarily full. You are never charged for a 503, and your app should immediately answer using the Vercel AI Gateway backup.AI_NoObjectGeneratedError: No object generated: could not parse or validate the response against schema.Terminal or Vercel runtime logsYour app asked the AI model for structured data matching a schema, and the model's answer was cut off mid-sentence or didn't match the required fields.

50 common error entries across terminal, browser, Vercel, GitHub, database and AI.

Last reviewed Nov 8, 2026