Error message dictionary · 79 errors
🚨 Error Message Dictionary
Seeing red text? Paste the error message as-is, and we'll tell you what it means, why it happened, and what to ask your AI.
🌐Browser & connection
Addresses, server responses, and blocked requests
- 🌐Page not found (404)
404 Not FoundThere's no page or file at the address you asked for. The server is up and running, but it has nothing to show at that address. - 🌐Internal server error (500)
500 Internal Server ErrorSomething went wrong while the server (backend) was running your code, so it stopped. Usually the cause is server-side code or settings, not the screen. - 🌐Authentication failed (401)
401 UnauthorizedThe request was turned away because it couldn't be confirmed who you are. You're not logged in, or the API key or token is missing or wrong. - 🌐No permission (403)
403 ForbiddenIt knows who you are, but you're not allowed to do that. If 401 means "Who are you?", 403 means "You can't come in." - 🌐Too many requests (429)
429 Too Many RequestsToo many requests were sent in a short time, so you've been blocked for a bit. It usually clears up after a while. - 🌐CORS error (cross-site request blocked)
blocked by CORS policyFor safety, the browser blocked a request going to a server at a different address. It's not so much that your code is wrong; the other server hasn't allowed your site. - 🌐Couldn't send the request (Failed to fetch)
TypeError: Failed to fetchA request was sent to the server, but no response came back at all. The server is down, the address is wrong, or something blocked it on the way. - 🌐Connection refused (localhost refused to connect)
ERR_CONNECTION_REFUSEDNo server is waiting at that address. Most of the time, the dev server isn't running or has stopped. - 🌐Mixed content (http request on an https page)
Mixed ContentA secure https site tried to load an image or API from an insecure http address, so the browser blocked it. - 🌐Request method not allowed (405)
405 Method Not AllowedThe address is right, but you asked in a way (GET, POST, etc.) that the address doesn't accept. - 🌐What you sent is too big (413)
413 Payload Too LargeThe file you uploaded or the data you sent is bigger than the server can accept, so it was turned away. - 🌐The middle server got no answer (502)
502 Bad GatewayThe server in front of your site asked the server behind it (your app), but didn't get a proper answer. - 🌐Service temporarily unavailable (503)
503 Service UnavailableThe server is too busy or under maintenance right now, so it can't take requests. It usually clears up after a while. - 🌐Redirects loop forever (too many redirects)
ERR_TOO_MANY_REDIRECTSA page sends you to another address, and that address sends you back to the first one, over and over without end. - 🌐Blocked by an ad blocker
net::ERR_BLOCKED_BY_CLIENTAn ad-blocking extension in your browser blocked that request. Your site might not be broken at all. - 🌐An image or file won't load
Failed to load resource: 404 (Not Found)The page opened, but an image, font, or file on it couldn't be found at its address.
🧩Running code
JavaScript and React errors that stop the page
- 🧩Tried to read an empty value (undefined)
Cannot read properties of undefinedThe code tried to take something out of a value that doesn't exist yet (is empty), so it stopped. The word in the parentheses (for example, 'map') is what it tried to take out. - 🧩Tried to run something that isn't a function
is not a functionThe code tried to call something like a function, but it can't be run. For example, using .map() on a value that isn't a list (array) causes this error. - 🧩Name not defined
ReferenceError: … is not definedA name (variable or function) used in the code can't be found anywhere. Usually an import is missing or there's a typo. - 🧩Response isn't JSON (Unexpected token)
Unexpected token '<' … is not valid JSONThe code expected data (JSON) but got something else. If it starts with '<', it's usually an error page (HTML) instead of data. - 🧩Server and browser screens don't match (Hydration)
Hydration failedThis error happens when the screen the server made ahead of time is different from the one the browser draws again. It's common in frameworks like Next.js. - 🧩Endless redrawing (Too many re-renders)
Too many re-rendersA value was changed while the screen was being drawn, so it kept redrawing and changing again, over and over without end. - 🧩List items have no key
Each child in a list should have a unique "key" propA warning that each item needs a name tag (key) when you draw a list. The screen won't break right away, but things can look wrong when the order changes. - 🧩Needs use client (Next.js)
Add the "use client" directiveIn Next.js, something that runs in the browser, like a button click or state (useState), was used in a server-only file. - 🧩A function keeps calling itself (call stack exceeded)
RangeError: Maximum call stack size exceededA function kept calling itself (or functions kept calling each other) until it went over the limit and stopped. - 🧩Tried to change another component while drawing
Cannot update a component while rendering a different componentReact warned you because the code tried to change another component's value while it was still drawing the screen. - 🧩Tried to show an object directly on screen
Objects are not valid as a React childThe code tried to print a bundle of data (an object) on screen instead of text or a number, so React stopped. - 🧩Browser features used on the server (window is not defined)
ReferenceError: window is not definedThis error happens when window, document, or localStorage, which only exist in the browser, are run on the server. - 🧩A client component was made async
async/await is not yet supported in Client ComponentsA component marked "use client" can't be an async function. Next.js stopped it. - 🧩Outside image address not allowed (next/image)
Invalid src prop … hostname is not configured under imagesNext.js's image component only shows images from addresses you've allowed. That address isn't in the settings. - 🧩Needs to be wrapped in Suspense (useSearchParams)
useSearchParams() should be wrapped in a suspense boundaryA Next.js build error saying that the part reading the values after ? in the address (search conditions) must be wrapped in Suspense. - 🧩Unhandled async error
Uncaught (in promise)A task that waits for a result (like fetch) failed, and there's no code to catch and handle that failure. - 🧩Couldn't read the date (Invalid Date)
Invalid DateThe value you tried to turn into a date isn't shaped like a date, so the computer couldn't read it. - 🧩NaN shows up where a number should be
NaNNaN means "Not a Number". It's the result of doing math with a value that isn't a number.
📦Install & build
Packages, the terminal, and type errors
- 📦Module not found
Module not found: Can't resolveThe code couldn't find the package or file it's trying to bring in (import). - 📦Command not found
command not foundThe terminal doesn't know that program. It isn't installed, or you didn't reopen the terminal after installing it. - 📦Package version conflict (ERESOLVE)
npm ERR! ERESOLVE unable to resolve dependency treeThe packages you're installing want different versions of each other, so npm stopped the install. - 📦Port already in use
EADDRINUSE: address already in useAnother program is already using that number (port), so the server can't start. Usually a dev server you started earlier is still running. - 📦Types don't match (TypeScript)
Type 'X' is not assignable to type 'Y'TypeScript is telling you, "This spot needs a certain kind of value, but something else came in." It's a helpful error that catches mistakes before your code runs. - 📦No permission, so install failed (EACCES)
EACCES: permission deniedInstalling stopped because you don't have permission to write files in that folder. It mostly happens with global (-g) installs. - 📦Node version doesn't match
The engine "node" is incompatible with this moduleYour computer's Node.js version is lower or higher than the one the project or package wants. - 📦Out of memory (heap out of memory)
JavaScript heap out of memoryIt used up all the memory it could while building or running, so it stopped. - 📦Can't use import statements (module settings)
SyntaxError: Cannot use import statement outside a moduleThe file uses the modern 'import' style (ES modules), but the environment running it is reading it the old way (require). - 📦Build failed on code checks (ESLint)
Failed to compile — ESLint errorsThe code runs, but the code-checking tool (ESLint) found "things to fix" and stopped the build. - 📦File or folder not found (ENOENT)
ENOENT: no such file or directoryThe file or folder the program tried to open isn't in that location.
🚀Deploy & settings
Failed deploys, environment variables, domains, API keys
- 🚀Build failed (deploy failed)
Build failedAn error happened in the "packing up" (build) step before your site goes live, so the deploy stopped. The real cause is in the log above this line. - 🚀Missing environment variable
Missing environment variableA value kept outside the code, like a secret key or database address (an environment variable), couldn't be found. - 🚀Wrong API key
Invalid API keyThe key sent to an outside service (AI, maps, payments, etc.) is wrong or can't be used. - 🚀Timed out (504 Timeout)
504 Gateway TimeoutThe server couldn't answer within the time limit, so it was cut off. Serverless functions have a limit on how long they can run. - 🚀Domain not found (DNS)
DNS_PROBE_FINISHED_NXDOMAINThe domain couldn't be found in the internet's address book (DNS). If you just connected the domain, it can take a while to spread around the world. - 🚀Secure connection error (SSL certificate)
Your connection is not privateThe browser is warning you because the site's security certificate (the https padlock) is missing or doesn't match the address. - 🚀Deployed site shows 404 (Vercel NOT_FOUND)
404: NOT_FOUND (Vercel)Vercel couldn't find a deployment or page to show at that address. - 🚀Server function failed to run (FUNCTION_INVOCATION_FAILED)
500: FUNCTION_INVOCATION_FAILEDThe deployed server code (a serverless function) hit an error while running and stopped. The real cause is in the logs. - 🚀Environment variable is undefined in the browser
process.env 값이 브라우저에서 undefinedAn environment variable that shows up on the server is empty in browser code. It's blocked on purpose, for security. - 🚀Only a white screen after deploying
배포했더니 흰 화면만 나와요The page opened, but the code that draws the screen stopped while starting, so nothing shows. The cause is in the console.
🌿Git & GitHub
Problems pushing, merging, and signing in
- 🌿Push rejected
failed to push some refs (rejected)GitHub has new changes that aren't on your computer, so you can't just upload. You need to get them and combine them first. - 🌿Merge conflict
CONFLICT (content): Merge conflictThe same part of the same file was changed differently in two places, so Git doesn't know which one to keep. - 🌿GitHub authentication failed
Permission denied (publickey)GitHub turned you away, saying, "I can't confirm you're allowed to upload to this repository." - 🌿Not a git repository
fatal: not a git repositoryThe folder your terminal is in right now isn't a project folder managed by git. - 🌿Can't combine two different histories
fatal: refusing to merge unrelated historiesThe project on your computer and the GitHub repository have different starting points, so git refused to combine them. - 🌿File too big to upload to GitHub
File exceeds GitHub's file size limit of 100.00 MBGitHub doesn't accept files over 100MB. A big file is in a commit, so it was turned away. - 🌿Push blocked because it contains a secret key
Push cannot contain secrets (GH013)The code you're uploading contains a secret value like an API key, so GitHub blocked it for you. This is a helpful error.
🗄️Data & login
Database and social login errors
- 🗄️Database connection failed
Can't reach database serverThe code couldn't connect to the database. The address (DB URL) is wrong, the database is off, or there are too many connections. - 🗄️Table doesn't exist
relation "…" does not existThe database doesn't have a table with that name yet. It's in the code, but it was never created in the database. - 🗄️Login address mismatch (redirect_uri_mismatch)
Error 400: redirect_uri_mismatchThe "return address" registered in your social login settings (like Google) doesn't match your site's real address, so login was blocked. - 🗄️Blocked by security rules (RLS), so it won't save
new row violates row-level security policyThe database's row security rules (especially in Supabase) didn't allow this save or edit. - 🗄️Tried to save a value that already exists (duplicate)
duplicate key value violates unique constraintA value that should exist only once (like an email) is already saved, and the same value was saved again. - 🗄️Login info has expired (JWT)
JWT expiredThe pass (token) you got when you logged in is past its expiry time. - 🗄️Login app info is wrong (invalid_client)
Error 401: invalid_clientThe client ID or secret in your social login settings is wrong or was deleted. - 🗄️Google login blocked (app not verified, testing mode)
Access blocked: app has not completed the Google verification processYour Google login app is still in "Testing", so only the test users you've registered can log in. - 🗄️Prisma isn't ready (prisma generate)
@prisma/client did not initialize yet. Please run "prisma generate"The connection code for the database tool (Prisma) hasn't been created yet.
💳Payments
Payment services, webhooks, declined cards
- 💳Payment info not found (test and live keys mixed up)
No such price / No such customerThe payment service has no product or customer with that ID. It usually happens when test keys and live keys get mixed up. - 💳Webhook signature doesn't match
No signatures found matching the expected signature for payloadThe signature check that confirms a notice (webhook) from the payment service is real has failed. - 💳Card payment declined
Your card was declinedThe card company or payment service didn't approve this payment. Often your site isn't broken.
📱Mobile screens
Layout problems that only happen on phones
- 📱Screen shifts sideways on phones (horizontal scroll)
휴대폰에서 화면이 옆으로 밀려요One element is wider than the screen, so the whole page shifts and wobbles sideways. - 📱iPhone zooms in when you tap an input
아이폰에서 입력창을 누르면 화면이 확대돼요Safari on iPhone automatically zooms in when you tap an input box whose text is smaller than 16px. - 📱Bottom of the screen gets cut off on phones (100vh)
휴대폰에서 화면 아래가 잘려요 (100vh)Because of the phone browser's address bar and bottom bar, the bottom of an area sized to the screen height (100vh) gets hidden. - 📱Button color stays after tapping on phones (hover)
휴대폰에서 버튼을 누른 뒤 색이 그대로 남아요The color that changes when a mouse hovers stays on touch screens even after you lift your finger. - 📱Site looks tiny on phones (viewport)
휴대폰에서 사이트가 아주 작게 보여요The phone draws the site at computer-screen size and then shrinks it down. The screen setting (viewport) is missing.