Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

59202: Security Guardrail Violation

Twilio API Documentation and Error CodesAPI

Description

description page anchor

The requested Rule or Setting configuration was rejected because it would violate a security policy enforced by the Webhooks Configuration API. This error is returned when creating or updating a Rule.

Possible causes

possible-causes page anchor
  • The default (catch-all) Rule — the one with no matchType/value restricting it to a specific URL pattern — was configured to use Basic Authentication. Because a default rule matches every unmatched webhook URL, Basic Authentication credentials on it would be sent broadly, risking credential exposure.
  • If Basic Authentication is required, scope it to a more specific Rule (an EXACT_MATCH or prefix match) rather than the default rule.
  • Use OAuth 2.0 or Digest authentication on the default Rule instead of Basic Authentication.