# This check ensures the contents of stderr are exactly as shown.
(trim_space($stderr)):|-
Error from server:error when creating "new-deployment.yaml": admission webhook "validate.kyverno.svc-fail" denied the request:
resource Deployment/test-globalcontext-apicall-failed/new-deployment was blocked due to the following policies
cpol-apicall-failed:
autogen-main-deployment-exists:|-
failed to check deny conditions: failed to substitute variables in condition key: failed to resolve deploymentCount at path : failed to marshal APICall data for context entry deploymentCount:failed to GET resource with raw url