API returns "invalid phase" error for zone ruleset query

Hi all,

When using the Cloudflare API v4 [1] to query the details of the following two Managed Rulesets within our zone, the queries fail with the following error response. All other rulesets can be successfully queried.
What is the cause of the failure, and how can we make a successful query for these ruleset details?

Problematic Rulesets

  • Cloudflare Managed Response Headers Ruleset (ID: 8d9fe70e28424ca8be6bededd1e1d7c8)
  • Cloudflare Managed Request Headers Ruleset (ID: 2f1dffb64e39428eb0238cf55e395116)

Error Response

{
  "result": null,
  "success": false,
  "errors": [
    {
      "message": "invalid phase"
    }
  ],
  "messages": null
}

Note
The phase values of the problematic rulesets are as follows. Strangely, neither of these phases are listed as valid parameter values according to [2].

  • Cloudflare Managed Response Headers Ruleset = http_response_headers_transform_managed
  • Cloudflare Managed Request Headers Ruleset = http_request_late_transform_managed

[1] https://api.cloudflare.com/#zone-rulesets-get-a-zone-ruleset-version
[2] https://api.cloudflare.com/#zone-rulesets-list-zone-rulesets