Skip to main content
Averta wrappers fail closed on guarded paths when they cannot safely enforce a checkpoint. That means unsupported inputs on documented wrapper methods throw before provider execution instead of silently bypassing protection. Native provider methods that are not listed as guarded surfaces are outside Averta coverage unless you add separate enforcement.

Common Fail-closed Cases

Why This Matters

Silent bypass is worse than a noisy failure. If the wrapper cannot prove that a checkpoint ran correctly, continuing would make your app look protected when it is not. That is not conservative documentation language; it is the right security posture.

Handling Errors

For user-facing products, catch the error at your application boundary and return a safe fallback message. Log the error with requestContext or request_context so you can find the matching dashboard event.

Integration Rule

Do not catch AvertaSdkError and retry the same provider call with an unwrapped client. That defeats the guardrail. Acceptable responses are:
  • return a safe fallback
  • ask the user to rephrase
  • remove unsupported input and retry through the wrapped client
  • fix the integration path
  • adjust policy if the block is expected but too strict