Cloudflare Pages contact form failed silently because its email API key was never set
A developer running a small static site on Cloudflare Pages found that its contact form could not send email. The Pages Function returned a redirect with an error code, but the only explanation was an internal log line, so visitors saw a vague message that the form was not finished. Checking the project showed no secrets were configured, and the sending domain's DNS records were also missing. The developer disabled the form, replaced it with a mailto link, and updated the privacy text. The write-up recommends loud failure responses, post-deploy tests, and scheduled checks for required configuration.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in