---
title: "My v0 app deployed but the buttons do nothing"
description: "Your v0 app deployed fine but its server routes say page not found. Three checks, four common causes, and what to paste back into v0."
url: https://www.fomio.ai/blog/my-v0-app-deployed-but-the-buttons-do-nothing
published: 2026-10-18T18:00:00.154+00:00
updated: 2026-10-18T18:00:00.154+00:00
topic: breakage-by-platform
words: 1987
---

# My v0 app deployed but the buttons do nothing

The pages load, the design is right, and every server route says the page can't be found — here's the two-minute test that finds the cause before you change a line of code.

**In short:**

- A "page could not be found" response on your server routes almost never means the file is missing from your project.
- A deployment marked Ready only means the build finished, not that requests reach anything.
- Check the Functions tab, the automatic .vercel.app address and the Runtime Logs before touching code.
- The four usual causes: wrong framework setting, a static-only build, a server crash dressed up as not-found, and keys that never made the trip.
- The pages keep loading the whole time, which is why nobody notices until a customer says something.

### Why do my v0 API routes say the page cannot be found?

Usually because the half of your app that does things never got built and published, even though the half that shows things did. The file is still in your project. Vercel decides where requests go using a map made at build time, so a request can be turned away before anything looks for your file.

Your app went live. The pages load. The design is exactly what you asked for. Then you click the button that saves a thing, or signs someone in, or sends the email — and nothing happens. A spinner that never stops, a red box, or silence.

If you type your site's address followed by `/api/` and the name of whatever broke, you will probably see a short page saying the page could not be found. That is the message a server sends when it went looking for the thing you asked for and there was nothing there.

Here is the first thing worth knowing, because it changes how the next twenty minutes feel: this almost never means your code is missing. The file is in your project. v0 wrote it. It works when you test it inside v0. The two halves of the app get published by two different mechanisms, and one of them quietly didn't happen.

Vercel's own support documentation is blunt about this. A deployment marked "Ready" only confirms the build finished and the deployment exists — it does not confirm that requests actually reach anything.[^1] Which is why your file sitting right there, visible and correct, is not the comfort it feels like it should be.

## What should I check before I change anything?

Three checks, in this order, and none of them touch your code. They tell you whether the problem is your build, your domain, or the platform itself.

1. **Try the automatic address** — Open your app at its long automatic `.vercel.app` address rather than your custom domain, and try the same broken thing. If it works there and fails on your real domain, the app is fine and the problem is in how the domain points at it. Vercel recommends this as the fastest first move, because people's instinct is to go hunting through files instead.[^1]
2. **Open the Functions tab** — In your Vercel dashboard, open the project, open the most recent deployment, and find the Functions tab. That is the list of server-side pieces that actually got published. If it is empty, you have your answer: the working half of your app was never built.
3. **Watch the Runtime Logs** — Open the Runtime Logs for that deployment, then trigger the broken button again. Nothing in the logs means the request never reached your app. Something ugly in the logs means it did reach your app and your app fell over — a different problem with a different fix.

Someone debugging exactly this in Vercel's community forum described a build that completed successfully in 47 milliseconds, with the Functions tab completely empty and no logs of anything running.[^3] A 47-millisecond build is not a build. It is a build that found nothing to do.

- **47 ms** — Length of a "successful" build that produced no server-side pieces at all, reported in Vercel's community forum [^3]
- **Zero** — Log entries recorded for a project where every single path, including a plain image file, returned not-found [^4]

## Why does this keep happening to v0 apps?

There are four usual causes, and three of them are settings rather than code. Work through them in order; the first one catches most v0 users.

### The project is set to the wrong framework

In your Vercel project settings there is a Framework Preset, and it needs to say Next.js. If it says "Other", Vercel does not know what it is looking at, never builds the routing map, and turns away requests for things that plainly exist.

A v0 user reported exactly this in June 2025 — the preview inside v0 worked perfectly, the deployed version did not — and Vercel's own team narrowed it to the framework preset. A staff member in that thread said it should work out of the box and flagged it internally as a bug.[^2] If this is you, you did not do it. Set the preset and redeploy.

### The app was built as a frozen site

There is a setting that tells Next.js to produce a server-free version of your site: every page pre-made, nothing running. Fine for a brochure site. It also strips every server-side route out of the build, because those need something running to answer them.

Sanity's documentation describes this as a classic deployment trap. It works on your own machine because local development always runs a real server, and fails once deployed because the route is simply not in what got shipped.[^7] If `output: 'export'` is in your Next.js config file, or a build step ends in `next export`, that is your culprit.

### It isn't missing — it's crashing

In a long-running Next.js discussion, the person who opened it came back to report his routes had been fine all along: Vercel was turning an unhandled error on the server into a not-found page.[^5] Another developer confirmed the same in March 2024, where a missing setting was making the server fail at something that worked locally; fixing the real failure made the not-found page disappear on its own.

So "not found" can also mean "found it, ran it, it died." The Runtime Logs are how you tell those two apart, which is the whole reason the third check above exists.

### A key never made the trip

v0 apps lean on connected services — a database, a sign-in provider, a mail sender — and each needs a key. Those keys live in different places for the v0 preview and for the deployed app, and they fall out of sync constantly.

One builder found his app worked inside v0 but not when opened in a new tab, and a Vercel team member confirmed those values do not carry over that way.[^9] In November 2025 a group of v0 users found their saved values had vanished from every project at once, and one reported that re-adding them did not stick.[^8] The lesson is not "check your keys" — it is that the keys are a separate system from your code.

## When is it not my fault at all?

When even a plain image file comes back as not found. In mid-2026 someone documented a project where every preview deployment built successfully and then refused every single path, including the little browser icon file, which touches no code at all.[^4]

They had tested with and without their own routing file, cleared the build cache, and turned off access protection. The logs stayed empty. At that point no amount of re-prompting will help: check Vercel's status page and open a support thread.

## What should I paste into v0?

Give v0 the diagnosis, not the symptom. The failure mode of describing a symptom to an AI tool is that it confidently rewrites five files and now you have two problems.

**Paste this into v0**

```text
My deployed app returns a not-found response on all server routes, but pages load fine. The Functions tab in Vercel is empty for the latest deployment. Check whether the project is configured for static export, and check next.config for anything that disables server routes. Show me the config files before changing them.
```

The "show me before changing" part is the important half. You want to see what it found, then decide, rather than discover later that three unrelated files moved.

## Why didn't I notice sooner?

Every story above has the same opening line, and it is not technical. It is how the person found out. Someone emailed them. A customer gave up. They opened their own app on a Sunday evening and clicked a button out of habit.

The pages loaded the whole time. That is what makes this break so expensive — the half of your app that proves it is alive is the half that was never broken. Anything that only checks whether your site loads will keep saying everything is fine.

This is the gap [Fomio](https://fomio.ai) was built for. You paste a link, it works out what to watch, and it tells you in plain English when your app stops working — a sentence, not a code. It reports one of three things: Working, Having trouble, or Down.

The free plan watches one app from outside every five minutes, emails you when it breaks, keeps seven days of history and needs no card. The Builder plan watches three apps, checks every minute, keeps thirty days of history, and when something goes wrong it writes the prompt for you to paste straight back into v0. Current prices are on fomio.ai/pricing.

> **First things first** — If your routes are failing right now, go back to the top and do the three checks: the automatic address, the Functions tab, the Runtime Logs. That is today's problem and it has an answer. Watching is for the next one.

## Questions people also ask


### My app works inside v0 but not after deploying. Why?

The preview inside v0 and the deployed app are two different environments with two different sets of settings. The most common split is the framework setting on the Vercel project, which has to say Next.js for the server routes to be built at all — a v0 user hit exactly that in June 2025, and Vercel's team confirmed it as the cause and flagged it as a bug. The second most common is connected-service keys, which do not automatically follow your code across.

### The deployment says Ready. Doesn't that mean it worked?

No. Vercel's support documentation says a Ready status confirms the build finished and the deployment exists, nothing more. It does not promise that incoming requests reach anything. Requests are matched against a map built during the build, so if that map was never produced, requests get turned away before anything goes looking for your files. That is why a deployment can look perfect in the dashboard while every button in your app does nothing.

### How do I tell a missing route from a crashing one?

Open the Runtime Logs for the deployment and trigger the broken action while watching. If nothing appears, the request never arrived and your problem is in the build or the routing. If something appears and it looks like an error, your code ran and failed — fix that failure and the not-found page usually disappears by itself. Developers in a Next.js discussion traced exactly this pattern: a server error that was being presented as a missing page.

### Could it be Vercel rather than me?

Occasionally, yes, and there is a clean test. If a file that involves no code of yours — a plain image, the little browser icon — also comes back as not found, the problem is upstream of your project. One documented case in 2026 had successful builds, every path refused, and not a single log entry recorded. At that point stop editing, check Vercel's status page and open a support thread rather than re-prompting your way through it.

### What should I do so I find out before a customer does?

Pick something that checks the action, not just the homepage, because the page loading is exactly the part that keeps working while everything else fails. Then make sure the result reaches you somewhere you actually look. Fomio's free plan watches one app from outside every five minutes and emails you when it breaks, with seven days of history and no card required; the Builder plan checks every minute and writes the fix prompt for you.


## Sources

[^1]: Why is my deployed project giving a 404? — Vercel Knowledge Base. https://vercel.com/kb/guide/why-is-my-deployed-project-giving-404
[^2]: I did deploy correctly, but it tells me error 404 not found — Vercel Community (2025-06-01). https://community.vercel.com/t/i-did-deploy-correctly-but-it-tells-me-error-404-not-found/14462
[^3]: Fixing serverless functions 404 errors in Vercel monorepo deployments — Vercel Community (2026-01-01). https://community.vercel.com/t/fixing-serverless-functions-404-errors-in-vercel-monorepo-deployments/31936
[^4]: Preview deployments return 404 on every path (including static assets) despite successful builds — Vercel Community (2026-07-01). https://community.vercel.com/t/preview-deployments-return-404-on-every-path-including-static-assets-despite-successful-builds/46808
[^5]: Deployed NextJS app's API returns 404 — Next.js Discussions, GitHub (2022-10-25). https://github.com/vercel/next.js/discussions/41781
[^6]: Next Application Api Routes return 404 — Vercel Discussions, GitHub (2021-01-12). https://github.com/vercel/vercel/discussions/5686
[^7]: Sanity preview API returns 404 on Vercel but works locally — Sanity Answers (2025-11-01). https://www.sanity.io/answers/issue-with-next-js-preview-api-route-not-working-on-vercel-deployment
[^8]: Missing environment variables in v0 — Vercel Community (2025-11-21). https://community.vercel.com/t/missing-environment-variables-in-v0/28197
[^9]: Environment variables not accessible in staging — Vercel Community (2025-02-13). https://community.vercel.com/t/environment-variables-not-accessible-in-staging/5839
