reCAPTCHA couldn't find user-provided function: onloadCallback

See original GitHub issue

I have followed Explicitly render the reCAPTCHA widget and having the following message:

reCAPTCHA couldn't find user-provided function: onloadCallback

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

12reactions
razvansanducommented, Jun 6, 2018

I’ve had the same issue and found two solutions:

  1. Add the onloadCallback function to window
  2. Remove the onload=onloadCallback part from the query string of the script you included in index.html
11reactions
mwang7commented, Jul 19, 2019

In your index.html you probably have this:

<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>

remove “onload=onLoadCallback”

should look like this:

<script src="https://www.google.com/recaptcha/api.js?&render=explicit" async defer></script>

That worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReCAPTCHA couldn't find user-provided function: myCallBack
Make sure your callback function is being defined in the global scope. For some reason, in production my function was not in this...
Read more >
reCAPTCHA couldn't find user-provided function
Hi, I have used your plugin (1.3) to get back to using Recaptcha V2 with contact form ... reCAPTCHA couldn't find user-provided function:...
Read more >
ReCAPTCHA couldn't find user-provided function: myCallBack
jQuery : ReCAPTCHA couldn't find user - provided function : myCallBack [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >
reCAPTCHA couldn't find user-provided function - Toolset
1) Follow our document to setup reCAPCTHA field · 2) In case it is a compatibility problem, please deactivate all other plugins, and...
Read more >
I have an issue in reCaptcha widget. - Google Groups
`reCAPTCHA couldn't find user-provided function: onloadCallback`. I want to solve it asap. please help me. Thanks. reCAPTCHA support's profile photo ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found