1101 policy resource_error ai_generated true

Error 1101: Too many page rules for your plan. You have 3 page rules, but your plan allows a maximum of 3.

ID: policy/cloudflare-rate-limit-api-plan-exceeded

Also available as: JSON · Markdown · 中文
90%Fix Rate
92%Confidence
1Evidence
2023-08-20First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
Cloudflare API v4 active
Cloudflare Dashboard 2024 active

Root Cause

Cloudflare free plan limits page rules to 3; attempting to add a 4th triggers this error.

generic

中文

Cloudflare 免费计划将页面规则限制为 3 条;尝试添加第 4 条会触发此错误。

Official Documentation

https://developers.cloudflare.com/support/errors/error-1101-too-many-page-rules/

Workarounds

  1. 95% success Upgrade to a paid Cloudflare plan (Pro or Business) that allows more page rules. Pro plan allows 20 page rules. Upgrade via Cloudflare Dashboard > Billing.
    Upgrade to a paid Cloudflare plan (Pro or Business) that allows more page rules. Pro plan allows 20 page rules. Upgrade via Cloudflare Dashboard > Billing.
  2. 80% success Consolidate multiple page rules into fewer rules using wildcards or combined conditions. For example, instead of separate rules for '/blog/*' and '/news/*', use a single rule with pattern '/{blog,news}/*'.
    Consolidate multiple page rules into fewer rules using wildcards or combined conditions. For example, instead of separate rules for '/blog/*' and '/news/*', use a single rule with pattern '/{blog,news}/*'.
  3. 85% success Use Cloudflare Transform Rules (available on free plan) to handle some use cases like URL rewriting, which can reduce page rule count. Create a transform rule via Dashboard > Rules > Transform Rules.
    Use Cloudflare Transform Rules (available on free plan) to handle some use cases like URL rewriting, which can reduce page rule count. Create a transform rule via Dashboard > Rules > Transform Rules.

中文步骤

  1. Upgrade to a paid Cloudflare plan (Pro or Business) that allows more page rules. Pro plan allows 20 page rules. Upgrade via Cloudflare Dashboard > Billing.
  2. Consolidate multiple page rules into fewer rules using wildcards or combined conditions. For example, instead of separate rules for '/blog/*' and '/news/*', use a single rule with pattern '/{blog,news}/*'.
  3. Use Cloudflare Transform Rules (available on free plan) to handle some use cases like URL rewriting, which can reduce page rule count. Create a transform rule via Dashboard > Rules > Transform Rules.

Dead Ends

Common approaches that don't work:

  1. Delete all page rules and recreate them in a different order. 100% fail

    The limit is on the number of rules, not their order. Deleting and recreating doesn't increase the count.

  2. Use Cloudflare Workers to implement the same logic and bypass page rules. 50% fail

    Workers have their own limits and pricing; they are not a direct replacement for page rules. Also, Workers may not support all page rule features like URL forwarding.

  3. Wait for the limit to reset (like a rate limit). 100% fail

    This is a hard plan limit, not a rate limit. It does not reset over time.