© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
12 replies
Dj

Next on Pages failing due to R2

Howdy,

My next on pages app is not building due to a bucket not found error - however this app doesn't have any bindings both in the dashboard and in wrangler.toml (it's a pages app it doesn't have a wrangler.toml). Was hoping I could get a little insight on how to fix this or if I should contact support.

The exact error is:
Error: Failed to publish your Function. Got error: Your R2 bucket does not exist (workers.api.error.bucket_not_found)
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deployments failing using NextJS and next-on-pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago
Issue with Next.js (next-on-pages), API route and R2
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Pages Build Failing due to 404 package not found
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago
next-on-pages question on next/dynamic
Cloudflare DevelopersCDCloudflare Developers / pages-help
12mo ago