thank you for the reply! so the form was working before i tried adding the verification. the widget

thank you for the reply! so the form was working before i tried adding the verification. the widget rendered, and showed the green check for successful verification. when i would click submit, the form would submit and forward the data entered to my email, which was the goal of the form. so the turnstile widget was there, but wasn't actually verifying with cloudflare. unfortunately when i tried to set up the server side verification, i started seeing the error. that's definitely good to know the 401 isn't important though. but now after setting up the verification, for some reason when i click submit on my form, the page refreshes but does not show a successful form submit (and i don't receive the usual email.) and checking the console is only showing me that 401. again when i remove the turnstile verification the form submits as it's supposed to. so now i'm wondering if it is more an issue with how i have my code set up. i'm also wondering if i haven't put my secret key in the right place, as i haven't found a concrete way of implementing it with the way i had my code set up previously.
Was this page helpful?