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