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

**URL:** <https://forum.shopware.com/t/on-captcha-failure-redirection-problem-if-i-have-required-route-param/99973>\
**Category:** Shopware 6 (English)\
**Tags:** programming\
**Created:** [5. Juni 2023 um 13:54 UTC](https://forum.shopware.com/t/on-captcha-failure-redirection-problem-if-i-have-required-route-param/99973 "2023-06-05T13:54:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![petar.kostic](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@petar.kostic](https://forum.shopware.com/u/petar.kostic)\
**Post date:** [5. Juni 2023 um 13:54 UTC](https://forum.shopware.com/t/on-captcha-failure-redirection-problem-if-i-have-required-route-param/99973/1 "2023-06-05T13:54:21Z")

</div>

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}“)
