I’m facing an issue integrating Netlify forms into a Next.js + Formik + Prismic setup. When I include data-netlify-recaptcha="true" in the forms, Netlify forms don’t accept data and give me a 303 error. Without data-netlify-recaptcha="true", Netlify forms work fine. I used the react-google-recaptcha library to integrate Google reCAPTCHA into my Next.js app.
Attached below are screenshots of the code. Can you please help me resolve this?
When i submit the form i get 303 response. I also provide the SITE_RECAPTCHA_KEY and SITE_RECAPTCHA_SECRET in evironment variables of the site in netlify account ,May you tell me , is anything remaining?