system There's another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes. https://community.vercel.com/t/debugging-404-errors/437 A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.
Amy Egan Did you try the debugging tips linked above? I'd recommend checking the build settings and output to figure out why the page is missing
Mathieucrcs You're clearly not the only ones... https://community.vercel.com/t/unexpected-build-cpu-charges-without-advance-spending-alerts/50206#post_1
airstairjp I’m the author of the related post linked above. My Build CPU charges also spiked in September: USD 0.58 in May, USD 28.66 in June, USD 1.93 in July, USD 8.19 in August, and USD 402.18 in September (before credits). I haven’t established that unwanted branch builds caused my charges, but I also received no advance warning before they accumulated. I hope Vercel reviews the builds you tried to prevent and gives both cases a path to manual billing review.
Pixelfoundry yeah, we are using vercel since 2023.... once upon a time the story was different.... and we tried to disable the automatic builds, then it kicked back in again... this is very frustrating
Patrick Donahue This is the filesystem check. With `cleanUrls: true`, `/about` maps to `about.html` and `/` maps to `index.html`, and the vercel.json docs say rewrites only run after the filesystem: "The source property should NOT be a file because precedence is given to the filesystem prior to rewrites being applied." So for any path that has a real HTML file, the rewrite never fires. Your `headers` rule still matches though, which is why you can end up with HTML in the body and a markdown content type on top. What worked for me is moving the Accept-header rule into `routes`, which is evaluated before the filesystem. I reproduced your setup on a throwaway project (index.html, about.html, `_markdown/index.md`, `_markdown/about.md`, cleanUrls on). With your rewrites, `curl -H 'Accept: text/markdown'` on `/` and `/about` both returned the HTML. With this, they returned the markdown, and a normal browser request still got HTML: ```json { "cleanUrls": true, "routes": [ { "src": "/", "has": [{ "type": "header", "key": "accept", "value": ".*text/markdown.*" }], "dest": "/_markdown/index.md", "headers": { "Content-Type": "text/markdown; charset=utf-8", "Vary": "Accept" } }, { "src": "/((?!_markdown/).+)", "has": [{ "type": "header", "key": "accept", "value": ".*text/markdown.*" }], "dest": "/_markdown/$1.md", "headers": { "Content-Type": "text/markdown; charset=utf-8", "Vary": "Accept" } } ] } ``` The negative lookahead stops a request for `/_markdown/...` from being rewritten into `/_markdown/_markdown/...`. You can keep your other `headers` block alongside it; the docs say `routes` can now be combined with `headers`, `rewrites` and `cleanUrls`. I also requested `/` with `Accept: text/html` and then `Accept: text/markdown` a few times, and the cached HTML was not handed to the markdown requests.
Izumie Thanks, yeah I've changed rewrite into route and it worked. but agents are accessing different markdown paths like for about.html(with clean url 'about') getting the request at about/_markdown/about.md instead of accessing the page itself.
system The domain troubleshooting guide can help with most custom domain configuration issues. You might be able to use that guide to solve it before a human is available to help you. Then you can come back here and share the answer for bonus points. https://vercel.com/docs/domains/troubleshooting
Hali Is anyone there
Amy Egan Hey, James. Appreciate you reaching out about this. The team shipped an update yesterday so your dashboard now reflects each day's deployment storage amount instead of the billing period maximum. I'm linking some Deployment Storage optimization tips in case you still need help reducing the amount of storage used https://vercel.com/docs/deployment-storage/optimize
James Singleton Hi Amy. Yea after doing some Googling I was able to find stuff about it. It's a little concerning that this was pushed out without an email letting users know. All of a sudden I was getting emails saying that I was using 40 GB of the 10 GB of deployment storage with a single deployment taking up like 30 GB. I started to panic! One issue I ran into is that retention policies were defaulted to 30 days for everything. Even after setting some to 1 week and in some cases 1 day, I wasn't seeing deployments being removed. I had to go through and manually delete deployments. I basically had to delete all by 6 deployments for my major project with 5 of those being production deploys and one being a preview. I am down to 11 GB now out of 10... I was below 10 earlier today but then opening a PR to a repo pushed me up to 11 GB. So I have gone through and done what the docs say to do, yet it seemed that Vercel was not going and removing the old deploys after I saved the changes, even days after updating.
James Singleton To add to this, there are projects where the retention is 30 days and I have deployments from January still in my Deployments tab. This project was defaulted to 30 days and I have deployments from Jan-May still there.
system There's another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes. https://community.vercel.com/t/debugging-404-errors/437 A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.
Amy Egan Thanks for sharing the project name. That helped me find the deployment. It looks like the 404 error has code `NOT_FOUND` rather than `DEPLOYMENT_NOT_FOUND`. That means the index/home page of your project doesn't exist where it was expected. The debugging tips linked above have more info about how to check the deployment output and solve the issue
system While a member of our team prepares to jump in, you might find your answer even faster in our community resources. - Official Documentation: https://v0.app/docs - The v0 expert walkthrough: https://community.vercel.com/t/become-a-v0-expert/5981 - Watch v0 in Action: https://community.vercel.com/live#v0
Ro84833 https://study-dashboard-two-pied.vercel.app/ this is the app if you want to see the problem yourself the data and the hours are added before my actions