Turnstile non interactive captcha not solving automaticaly

i added turnstile non interactive captcha in my pages but every time the user has to click on the tick box to verify that it is not getting ticked and verified automatically making a non interactive captcha interactive

when i checked the console i always found a error from cloudflare.

[HTTP/3 401 9ms]

i want to get the captcha verified automatically
here’s a part of code i am using

<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>