Need help with r2 in pages
I am trying to follow https://developers.cloudflare.com/pages/tutorials/use-r2-as-static-asset-storage-for-pages/ and it doesn't seem to be working.
I would expect such an asset to show up here: https://c4f64a53.sqm-website.pages.dev/tutorials/rig/v4/BPS_Rig_v4.zip
However I am getting this error in my build log.
I would expect such an asset to show up here: https://c4f64a53.sqm-website.pages.dev/tutorials/rig/v4/BPS_Rig_v4.zip
However I am getting this error in my build log.
2025-08-06T23:34:44.154089Z Cloning repository...
2025-08-06T23:34:47.709651Z From https://github.com/Squared-Media/website
2025-08-06T23:34:47.710498Z * branch 98027eb7fd111a7015cdb445ee3723bc8ef8676e -> FETCH_HEAD
2025-08-06T23:34:47.71066Z
2025-08-06T23:34:47.803916Z HEAD is now at 98027eb Create wrangler.toml
2025-08-06T23:34:47.804633Z
2025-08-06T23:34:47.886021Z
2025-08-06T23:34:47.886499Z Using v2 root directory strategy
2025-08-06T23:34:47.911563Z Success: Finished cloning repository files
2025-08-06T23:34:48.662064Z No build output detected to cache. Skipping.
2025-08-06T23:34:48.662797Z No dependencies detected to cache. Skipping.
2025-08-06T23:34:49.721169Z Checking for configuration in a Wrangler configuration file (BETA)
2025-08-06T23:34:49.721778Z
2025-08-06T23:34:49.723225Z Found wrangler.toml file. Reading build configuration...
2025-08-06T23:34:50.825582Z A wrangler.toml file was found but it does not appear to be valid. Did you mean to use wrangler.toml to configure Pages? If so, then make sure the file is valid and contains the `pages_build_output_dir` property. Skipping file and continuing.
2025-08-06T23:34:50.825998Z No build command specified. Skipping build step.
2025-08-06T23:34:50.826693Z Found Functions directory at /functions. Uploading.
2025-08-06T23:34:50.833382Z ⛅️ wrangler 3.101.0
2025-08-06T23:34:50.833711Z -------------------
2025-08-06T23:34:51.795127Z ✨ Compiled Worker successfully
2025-08-06T23:34:52.872987Z Validating asset output directory
2025-08-06T23:34:55.737482Z Deploying your site to Cloudflare's global network...
2025-08-06T23:34:59.160765Z Uploading... (71/72)
2025-08-06T23:34:59.672236Z Uploading... (72/72)
2025-08-06T23:34:59.672592Z ✨ Success! Uploaded 1 files (71 already uploaded) (0.93 sec)
2025-08-06T23:34:59.673279Z
2025-08-06T23:35:00.070271Z ✨ Upload complete!
2025-08-06T23:35:05.981435Z Success: Assets published!
2025-08-06T23:35:08.175947Z Success: Your site was deployed!2025-08-06T23:34:44.154089Z Cloning repository...
2025-08-06T23:34:47.709651Z From https://github.com/Squared-Media/website
2025-08-06T23:34:47.710498Z * branch 98027eb7fd111a7015cdb445ee3723bc8ef8676e -> FETCH_HEAD
2025-08-06T23:34:47.71066Z
2025-08-06T23:34:47.803916Z HEAD is now at 98027eb Create wrangler.toml
2025-08-06T23:34:47.804633Z
2025-08-06T23:34:47.886021Z
2025-08-06T23:34:47.886499Z Using v2 root directory strategy
2025-08-06T23:34:47.911563Z Success: Finished cloning repository files
2025-08-06T23:34:48.662064Z No build output detected to cache. Skipping.
2025-08-06T23:34:48.662797Z No dependencies detected to cache. Skipping.
2025-08-06T23:34:49.721169Z Checking for configuration in a Wrangler configuration file (BETA)
2025-08-06T23:34:49.721778Z
2025-08-06T23:34:49.723225Z Found wrangler.toml file. Reading build configuration...
2025-08-06T23:34:50.825582Z A wrangler.toml file was found but it does not appear to be valid. Did you mean to use wrangler.toml to configure Pages? If so, then make sure the file is valid and contains the `pages_build_output_dir` property. Skipping file and continuing.
2025-08-06T23:34:50.825998Z No build command specified. Skipping build step.
2025-08-06T23:34:50.826693Z Found Functions directory at /functions. Uploading.
2025-08-06T23:34:50.833382Z ⛅️ wrangler 3.101.0
2025-08-06T23:34:50.833711Z -------------------
2025-08-06T23:34:51.795127Z ✨ Compiled Worker successfully
2025-08-06T23:34:52.872987Z Validating asset output directory
2025-08-06T23:34:55.737482Z Deploying your site to Cloudflare's global network...
2025-08-06T23:34:59.160765Z Uploading... (71/72)
2025-08-06T23:34:59.672236Z Uploading... (72/72)
2025-08-06T23:34:59.672592Z ✨ Success! Uploaded 1 files (71 already uploaded) (0.93 sec)
2025-08-06T23:34:59.673279Z
2025-08-06T23:35:00.070271Z ✨ Upload complete!
2025-08-06T23:35:05.981435Z Success: Assets published!
2025-08-06T23:35:08.175947Z Success: Your site was deployed!Cloudflare Docs
This tutorial will teach you how to use R2 as a static asset storage bucket for your Pages app. This is especially helpful if you're hitting the file limit or the max file size limit on Pages.

