Hello! We are have an after recovery webhook with ...
# talk-kratos
w
Hello! We are have an after recovery webhook with response.parse: true. Our backend returns a 500 error but the flow is still continueing. The following stack trace is shown in the console:
Copy code
time=2023-03-28T11:26:39Z level=debug msg=A recovery flow is being retried because a validation error occurred. audience=application error=map[message:1 validation errors occurred:
(0) I[#/traits/email] S[] a webhook target returned an error stack_trace:
<http://github.com/ory/kratos/schema.NewValidationListError|github.com/ory/kratos/schema.NewValidationListError>
	/go/src/github.com/ory/kratos/schema/errors.go:274
<http://github.com/ory/kratos/selfservice/hook.parseWebhookResponse|github.com/ory/kratos/selfservice/hook.parseWebhookResponse>
I would expect the user to be presented an error / the flow to be interrupted, instead, the user gets access to their account.