© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
6 replies
Manuel Ogomigo

Cannot Interact with D1 Locally on Cloudflare Pages

Hi I'm currently facing an issue, i'm getting an error D1_ERROR: no such table:

But if I publish the project and access it, it works.
I don't know if I'm missing something.

I have a wrangler.toml file in my pages, that connect the D1.

Would appreciate if anyone could share how to fix it!
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

Error with @cloudflare/next-on-pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago
Working with D1 Remote DB locally with nextjs
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
How can I access my d1 database in next on pages edge LOCALLY?
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Subdomains with Cloudflare Pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago