How to Fix the reCAPTCHA Error: "Invalid domain for site key"

Overview:


If you’re seeing the error: "ERROR for site owner: Invalid domain for site key"

this means your reCAPTCHA site key is not authorized to run on the domain where it’s being used.

This usually happens when:


  • The domain wasn’t added to the reCAPTCHA settings during setup.
  • You’re embedding a form on a different domain (e.g., app.leadcapture.io) and that domain hasn’t been whitelisted.


How to Fix It


Step 1: Go to Google reCAPTCHA Admin Panel



Step 2: Add All Required Domains

In the "Domains" section, make sure the following domains are added:


  • Your own website domain (e.g., yourdomain.com)
  • app.leadcapture.io (required for embedded forms)

Add only the root domain — subdomains will be automatically covered.


Step 3: Save Changes

  • Click Save at the bottom of the settings page.

Step 4: Refresh Your Website/Form Page


  • Clear your browser cache and refresh the page.
  • The reCAPTCHA widget should now display correctly.


Still Seeing the Error?

If the issue persists after whitelabeling the domains, please:


  • Double-check for typos in the domain list.
  • Ensure the correct site key is being used on the form.
  • Reach out to our support team with a screenshot and link to the affected page.

We're here to help, and we'll make sure everything gets up and running smoothly for you. Don’t hesitate to reach out if you need a hand!

Still need help? Contact Us Contact Us