Fix TURNSTILE_SECRET_KEY is not configured (503) on Cloudflare Workers When POST /api/contact returns 503 Turnstile not configured, TURNSTILE_SECRET_KEY is missing at request time. Fix Worker secrets, env name mismatches, and redeploy steps. Contact Form
5 posts tagged Contact Form.
May 2026
-
Fix TURNSTILE_SECRET_KEY is not configured (503) on Cloudflare Workers When POST /api/contact returns 503 Turnstile not configured, TURNSTILE_SECRET_KEY is missing at request time. Fix Worker secrets, env name mismatches, and redeploy steps.
April 2026
-
Turnstile + Resend Contact Form: Complete Setup for Astro A practical, end-to-end guide for adding a spam-resistant contact form to an Astro site using Cloudflare Turnstile and Resend. -
Fix Resend 403 and 422 errors on an Astro contact form (Cloudflare Workers) When Turnstile passes but email still fails, Resend is usually rejecting the from address or API key. Here is how to read 403/422 responses and fix Astro + Workers config.
March 2026
-
Fix Astro API route 404 on Cloudflare Workers (/api/contact) When the contact form fetch returns 404 in production, the Worker often never registered the route. Here is how prerender, build output, and file placement interact on Astro 6 + Cloudflare. -
Fix “Turnstile verification failed” on Cloudflare (403): complete checklist Seeing turnstile verification failed, turnstile has not verified, or failed to verify cloudflare turnstile token? Fix 403 errors with key pairing, hostname checks, and siteverify debugging.