Skip to content

recaptcha not working #8171

Description

@OmDongaonkar03

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Does the issue happen when logged in?

No

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

N/A

Does the issue happen in incognito mode when logged out?

Yes

Account name

N/A (issue occurs before account creation, during signup)

Account config

No response

Current Behavior

When attempting to sign up for a new account, the reCAPTCHA widget does not load or render at all. The signup verification step is blocked because of this. The browser console shows the following error:

Uncaught ReferenceError: recaptcha is not defined
    at <anonymous>:2:7
    at HTMLBodyElement.replaceChild (oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:114749)
    at HTMLBodyElement.replaceChild (oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:177825)
    at oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:129962
    at Generator.<anonymous> (oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:126891)
    at Generator.next (oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:127823)
    at Generator.<anonymous> (oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:126649)
    at Generator.next (oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:127823)
    at oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js:2:128182
    at new Promise (<anonymous>)

It is unclear whether an account is partially created on the backend despite the frontend failure, since the signup flow is blocked client-side before any confirmation is shown.

Expected Behavior

The reCAPTCHA widget should load and render normally during signup, allowing verification to complete and the account to be created without a console error.

Steps To Reproduce

  1. Go to monkeytype.com while logged out (reproduces in both normal and incognito mode)
  2. Click Sign Up to create a new account
  3. Fill in the signup form and reach the reCAPTCHA verification step
  4. Observe that the reCAPTCHA box never appears
  5. Open browser console and see Uncaught ReferenceError: recaptcha is not defined

Environment

  • OS: Windows 11
  • Browser: Chrome
  • Browser Version: 149.0.7827.116

Anything else?

The error originates from a minified/bundled script (oej7va9j3_7eu10dfxs6rn6l8lr.bundle.js), likely a third-party reCAPTCHA loader, suggesting the reCAPTCHA script may be failing to load or initialize before it is referenced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions