# ERROR for site owner: Invalid domain for site key with google reCAPTCHA

**URL:** <https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857>\
**Category:** Get Help\
**Created:** [May 15, 2021, 2:54am UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857 "2021-05-15T02:54:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cryptobuddy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cryptobuddy/32/12934_2.png) [@Cryptobuddy](https://community.auth0.com/u/Cryptobuddy)\
**Post date:** [May 15, 2021, 2:54am UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/1 "2021-05-15T02:54:44Z")

</div>

Hi,

In my React Application I want to use google reCAPTCHA. I have provided the client key and secret key for google reCAPTCHA v2 in the Bot Detection Page but I am getting the error message.

“ERROR for site owner:  
Invalid domain for site key”

What am I doing wrong? How to fix it

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 17, 2021, 10:31am UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/3 "2021-05-17T10:31:38Z")

</div>

Hey there!

Let me research that error and see where it’s coming from!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 26, 2021, 1:06pm UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/4 "2021-05-26T13:06:02Z")

</div>

Hey there!

Sorry for the delay in reply. I tried investigating that but I wasn’t able to find anything in previous topics. Can you share with us what doc / qucikstart of ours you use for configuring that?

---

<div class="post-metadata">

**Author:** ![Cryptobuddy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cryptobuddy/32/12934_2.png) [@Cryptobuddy](https://community.auth0.com/u/Cryptobuddy)\
**Post date:** [May 26, 2021, 1:28pm UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/5 "2021-05-26T13:28:12Z")

</div>

> **[Bot Detection](https://auth0.com/docs/secure/attack-protection/bot-detection)**
>
> Describes how Auth0 detects attacks to protect against malicious attempts to access your application, alert you and your users of suspicious activity, and block further login attempts.

I am trying google recaptcha.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 28, 2021, 10:34am UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/6 "2021-05-28T10:34:30Z")

</div>

Thank you for providing that context. Let me relay it to appropriate team and see what they can share on that front! If you can also send me your tenant name here in the forum via private message that would be also super helpful!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 12, 2021, 12:59pm UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/7 "2021-08-12T12:59:25Z")

</div>

Closing this one due to lack of activity.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 12, 2021, 12:59pm UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/8 "2021-08-12T12:59:28Z")

</div>



---

<div class="post-metadata">

**Author:** ![Saltuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saltuk/32/14364_2.png) [@Saltuk](https://community.auth0.com/u/Saltuk)\
**Post date:** [August 16, 2022, 1:37pm UTC](https://community.auth0.com/t/error-for-site-owner-invalid-domain-for-site-key-with-google-recaptcha/62857/9 "2022-08-16T13:37:51Z")

</div>

You may check [this StackOverflow Q&A](https://stackoverflow.com/questions/30735694/recaptcha-error-invalid-domain-for-site-key) for possible fixes.
