Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

cf.response.error_type

cf.response.error_typeString

返されているレスポンスのエラーの種類を表す文字列です。

デフォルト値は空文字列 ("") です。

使える値は次のとおりです:

  • "managed_challenge"
  • "iuam"
  • "legacy_challenge"
  • "ip_ban"
  • "waf"
  • "5xx"
  • "1xxx"
  • "always_online"
  • "country_challenge"
  • "ratelimit"

このフィールドで、特定の種類のエラー(例: すべての 1XXX エラー、またはすべての WAF ブロックアクション)向けにレスポンスをカスタマイズできます。

注: このフィールドは Response Header Transform Rules と Custom Errors でのみ使えます。

カテゴリ:
  • レスポンス

役に立ちましたか?