Error message when use reCAPTCHA V3 with Contact Form 7

When you try to send a message after intergrade with reCAPTCHA V3 with your Contact Form 7 Plugin, a orange border with wording “There was an error trying to send your message. Please try again later” appears.

I tried all things below in Google, and none of them worked.

  • Manually add reCAPTCHA js file in header.
  • Uninstall and re-install plugin.
  • Generate new keys from reCAPTCHA.
  • Revert back to V2.

and NO, None of above works for me, turned out my solution to fix the problem is:

When you generate keys, use “example.com” in the domain field instead of “www.example.com” or “https://www.example.com”. This is the fix for my form, and I am sure for a lot others who gets the same error message as I do.