On Captcha Failure, redirection problem if I have required route param

I have a problem when an invalid captcha is entered, it throws an exception stating that the eventId is a required field. This probably happens during the generation of the redirection link, and in that case, I need to pass the eventId. I have followed the entire flow, and I see that the eventId is passed through the request everywhere.

My route is @Route(„/event/inquiry/{eventId}“)