Common Issues
Widget not rendering
Widget not rendering
Problem
The Turnstile widget doesn’t appear on the page.Solutions
Check the siteKey- Script blocked by ad blockers
- CSP policy blocking the script
- Network errors preventing script load
Script not loading
Script not loading
Problem
The Cloudflare Turnstile script fails to load.Solutions
Check network connectivity Ensure your application can reachhttps://challenges.cloudflare.com.Disable ad blockers
Some ad blockers prevent the Turnstile script from loading. Whitelist your site or disable the blocker.Check Content Security Policy
Add Cloudflare domains to your CSP:Token validation fails
Token validation fails
Problem
Server-side validation returnssuccess: false.Solutions
Check secret key Ensure you’re using the correct secret key on the server:Hydration errors in Next.js
Hydration errors in Next.js
Widget not resetting properly
Widget not resetting properly
Multiple widgets conflict
Multiple widgets conflict
CSP policy blocks Turnstile
CSP policy blocks Turnstile
TypeScript errors
TypeScript errors
Widget appears then disappears
Widget appears then disappears
Error Messages
Client-Side Errors
Cloudflare Turnstile may callonError with these error codes:
110100: Invalid siteKey110200: Invalid domain110300: Network error110400: Timeout110500: Internal error110600: Challenge failed
Server-Side Errors
Validation API returns these error codes inerror-codes array:
missing-input-secret: Server didn’t send secret keyinvalid-input-secret: Secret key is invalidmissing-input-response: Token wasn’t providedinvalid-input-response: Token is invalid or expiredtimeout-or-duplicate: Token was already validatedinternal-error: Cloudflare server error
Still Having Issues?
If you’re still experiencing problems:- Check the GitHub Issues for similar problems
- Review the Cloudflare Turnstile documentation
- Open a new issue with:
- React Turnstile version
- Framework and version (Next.js, React, etc.)
- Browser and version
- Minimal reproduction code
- Error messages and console logs