[Rules] Update Custom Errors API paths to use zone_id - #33645
Merged
Merged
Conversation
mvvmm
requested review from
a team,
mbullock1986 and
smarsh-cf
as code owners
September 24, 2026 02:54
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://fix-custom-errors-zone-id-path.previews.developers.cloudflare.com (commit 66ec72c)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Contributor
AI Review✅ Reviewed Commands
|
mvvmm
enabled auto-merge (squash)
September 24, 2026 03:04
Contributor
|
Preview URL: https://66ec72c1.preview.developers.cloudflare.com Files with changes (up to 15)
|
ahaywood
approved these changes
Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the CI build failure currently affecting all open PRs and the next production deploy.
The
prebuildstep fetches the latest Cloudflare API OpenAPI schema from middlecache on every build. The upstream schema recently renamed the zone path parameter from{zone_identifier}to{zone_id}(356 paths now use{zone_id}). The<APIRequest>calls on the Custom Errors "Common API calls" page still referenced the old path, so prerendering failed with:[APIRequest] Operation GET /zones/{zone_identifier}/custom_pages/{identifier} not found in schema.This updates the two
APIRequestcalls (GET and PUT) to/zones/{zone_id}/custom_pages/{identifier}, matching the current schema. Both operations exist at the renamed path with unchangedidentifierparameter and token groups. No content changes otherwise.Documentation checklist