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)
9 Replies
Dj
Dj4mo ago
Hi, reposting this for visibility
Walshy
Walshy4mo ago
what's the pages.dev? This happens if you bound an R2 bucket and then deleted the bucket but not the binding
Dj
Dj4mo ago
playlessgames.pages.dev, I just had the idea to clear the build cache and run the build again.
Walshy
Walshy4mo ago
build cache doesn't impact
Dj
Dj4mo ago
There are no bindings set in the dashboard and the project doesn't have a wrangler.toml that would override the dash :<
Walshy
Walshy4mo ago
the dash can hide binding if you have no buckets at all hmm don't see an r2 bucket on our side..
Dj
Dj4mo ago
Oh? I also just found a preview binding because for some reason I didn't click the button :facepalm:
Walshy
Walshy4mo ago
ah great haha
Dj
Dj4mo ago
:blobimfine: That would do it. Thank you for checking with me lol
Want results from more Discord servers?
Add your server