“Skip action parameters ‘phase’ and ‘ruleset’ cannot be used together” is the error people report when Cloudflare refuses a custom rule with the Skip action that sets both phase and ruleset in its action_parameters. Keep one of them: Cloudflare’s API schema says phase is “only compatible with the products option”. This guide shows which skip parameters combine, the fix by API, as code and in the dashboard, and how to check that the fixed rule skips what you meant. Lelops Advise writes skip rules from a request in plain language, shows their exact action_parameters before sending them, and reads the security events that show them acting.
What “skip action parameters ‘phase’ and ‘ruleset’ cannot be used together” Means
It means the rule asks for two skips that overlap, and Cloudflare’s Rulesets API, the API behind custom rules, refuses it. A skip rule lets matching requests bypass the security features its action_parameters name, and nothing else, unlike the Allow of IP access rules (Skip action). The two parameters of the error skip custom rules at two scopes (skip options). ruleset: "current" skips the rest of the ruleset the skip rule sits in. phase: "current", at the zone level only, skips the rest of the custom rules phase, the custom rulesets that run later included.
The rest of the phase contains the rest of the ruleset, so phase already covers ruleset. We checked Cloudflare’s public API schema: its structure forbids no pair of skip parameters, only the text describing each one does, so a rule can pass a check against the schema and still be refused.
Which Skip Action Parameters Cloudflare Accepts Together
Cloudflare’s API schema names six skip parameters, and their descriptions rule out 7 of the 15 possible pairs, 4 of them with phase. These are the four used in custom rules:
| Parameter | Dashboard option | Ruled out next to |
|---|---|---|
ruleset: "current" |
All remaining custom rules | phase, rules, rulesets |
phase: "current" |
All remaining custom rules in this phase | All but products |
phases |
All rate limiting rules, All managed rules, All Super Bot Fight Mode rules | phase, rulesets |
products |
Zone Lockdown, Browser Integrity Check and five more features outside the Ruleset Engine | None |
rulesets and rules serve exceptions for managed rules. A Cloudflare engineer, answering issue #5159 of Cloudflare’s Terraform provider in May 2025, wrote that the checks also depend on the phase: rulesets is refused in custom rules, and phases with ruleset in the rate limiting and managed rules phases. Cloudflare’s docs name ruleset, phases and products as the options one rule can combine, and leave phase out.
How to Fix a Rule with Skip Action Parameters ‘phase’ and ‘ruleset’
Delete phase or ruleset from the rule’s action_parameters and send it again, by API or as code. In the dashboard, select one of the two options under WAF components to skip.
Which One to Keep

We recommend ruleset: "current" for a skip rule in the zone’s main custom rules list: custom rulesets run from rules of that list (custom rulesets), so ruleset already skips those below it, and it accepts phases and products in the same rule. Keep phase: "current" only for a skip rule inside a custom ruleset that must also skip what runs after it, and put phases for managed or rate limiting rules in a second skip rule with the same expression, above it: Skip doesn’t end evaluation (actions), and phase: "current" would skip that second rule.
- Refused:
"action_parameters": { "ruleset": "current", "phase": "current" } - Fixed:
"action_parameters": { "ruleset": "current", "phases": ["http_request_firewall_managed"] }
By API
GET /zones/{zone_id}/rulesets/phases/http_request_firewall_custom/entrypointreturns the ruleset ID and each rule’s ID, in the order they run (view rulesets).- Send the whole rule to
PATCH /zones/{zone_id}/rulesets/{ruleset_id}/rules/{rule_id}: Cloudflare replaces its definition, so resend its expression, action,action_parameters, description, logging andenabled, or a turned-off rule comes back on (update a rule). The token needsZone WAF Write. - For a refused create call, fix the
POSTbody and send it again.
As Code
Cloudflare’s Terraform provider has had no phase attribute since version 5.8.4 of August 15, 2025, whose change calls the option “not yet available”, and version 5.29.0 of November 11, 2026 still leaves it out: write ruleset = "current". Since version 5.25.0, terraform plan sends the ruleset to Cloudflare as a dry run: a refused pair fails at plan time.
How to Check That the Fixed Skip Rule Works

Cloudflare accepting the rule doesn’t prove it skips the rules you meant. Check three things:
- Its position.
rulesetandphaseskip only the custom rules below the skip rule: move it above them with Place at in the dashboard (Cloudflare’s example) or the API’sposition.phasesworks wherever the rule sits, unless a rule above it ended evaluation or skipped it (execution order). - A simulated request. Rules simulator, in beta on all plans for Administrators, runs a test URL with the method, headers, cookies, country and bot score you set, and lists the rules it evaluated, in order.
- A real request. Send one, then filter Analytics > Events on its path or IP. While Log matching requests is on, the default, the skip rule’s event shows in Sampled logs, a sample on busy zones (Security Events).
How to Write and Check Skip Rules with Lelops Advise
Lelops Advise answers questions about your Cloudflare setup and changes it through a chat, Ask Lelops, for teams that run Cloudflare without a WAF specialist. It creates, edits and deletes the custom rules of a zone with Block, Interactive Challenge, Non-Interactive Challenge (formerly JS Challenge), Managed Challenge or Skip.
- Open Ask Lelops from the right edge of any page in the Lelops app. It reaches the zones your Cloudflare API token lets Lelops see; to change rules, the token needs
Zone WAF Writeon the zone. - Read the rules in order: “List the WAF custom rules on example.com.” Ask Lelops reads the zone’s entry point ruleset for
http_request_firewall_custom, so the answer gives each rule in the order Cloudflare runs it, with its action andaction_parameters: you see which rules sit below a skip rule. On a zone with no custom rules yet, that listing creates the empty entry point ruleset. Before it calls Cloudflare, for a read as for a change, Ask Lelops shows the call and waits for your OK. - Ask for the skip rule: “On example.com, create a custom rule that skips the remaining custom rules and the managed rules for requests to /webhooks/.” Ask Lelops writes the skip parameters under Cloudflare’s own names,
ruleset,phase,phasesandproducts, so you read the same fields as in the API. - Read the parameters before you confirm. The confirmation shows the call’s arguments,
action_parametersincluded. Ask Lelops passes the skip parameters to Cloudflare as written, without checking which combine, so look forrulesetwithphases, and answer No ifphasesits next to anything butproducts. When Cloudflare refuses a call, the answer gives Cloudflare’s error code and message. - Place the rule: Ask Lelops adds a new rule at the end of the zone’s custom rules, where
rulesethas no rule left to skip. Move it above the rules it should skip with Place at in Cloudflare’s dashboard or the API’sposition; later edits from Ask Lelops leave it where you put it. - Check that it acts: “Show the last security events on example.com.” Ask Lelops reads the zone’s 50 most recent security events, from the last 24 hours or a time range you give, each with its action, rule ID, IP address, path, user agent and country. With the rule’s logging on, a request to /webhooks/ shows with the skip rule’s ID. If none shows, check the rule’s position from step 5.
- Roll back a skip that goes too far: each rule Ask Lelops creates, edits or deletes saves a version of the zone (Lelops Guard). Open Guard > Versioning, expand the version before the change, select Rollback, then Restore and deploy; rolling back needs the Administrator role in Lelops. The restore puts back every part of the zone that version holds, custom rules included.
Lelops Advise writes your Cloudflare skip rules from plain language, shows their parameters before they reach Cloudflare and keeps a version of every change: lelops.ai/product/advise.
FAQ
What does “skip action parameters 'phase' and 'ruleset' cannot be used together” mean?
It means a Cloudflare custom rule with the Skip action asks for two overlapping skips, and Cloudflare’s Rulesets API refuses it. The ruleset parameter skips the remaining rules of the ruleset the skip rule sits in, and the phase parameter skips the remaining custom rules of the whole phase, so one covers the other. Removing one of the two from action_parameters fixes the rule.
What is the difference between phase and ruleset in a Cloudflare skip rule?
Both skip the custom rules that come after the skip rule, at two scopes. The ruleset option, called All remaining custom rules in the dashboard, stops at the end of the ruleset that holds the skip rule. The phase option, called All remaining custom rules in this phase and available only at the zone level, skips the rest of the phase. In the zone's main list of custom rules the two skip the same rules, custom rulesets run after the skip rule included. They differ for a skip rule inside a custom ruleset, where only phase also skips what runs after that ruleset.
Can one Cloudflare skip rule skip custom rules and managed rules at the same time?
Yes, with ruleset set to current and the managed rules phase listed in phases. Cloudflare’s documentation states that ruleset, phases and products can be combined in one custom rule. The phase option is the exception: Cloudflare’s API schema accepts it only next to products, so the phases go in a second skip rule placed above it.
Why does a skip rule pass validation in code and fail when it is applied?
Cloudflare’s public API schema describes the limits on combining skip parameters only in text, and its structure forbids no pair. Code that checks a rule against the schema therefore accepts a pair such as phase with ruleset, and only the Cloudflare API refuses it. Adding ?dry_run=true to the API call returns that refusal without changing anything. Cloudflare’s Terraform provider checks none of these pairs itself, but since version 5.25.0 its plan sends the ruleset to Cloudflare as such a dry run, so the refusal shows before the change is applied. The provider has had no phase attribute for skip rules since version 5.8.4.
How can teams check that a Cloudflare skip rule works?
Teams first check that the skip rule sits above the custom rules it should skip, since ruleset and phase only skip what comes after it. They can then run a test request through Rules simulator, or send a real matching request and look for the skip rule’s event in Security Events. That event only appears while the rule’s Log matching requests option is on, which is the default.
Christophe Pronier


