Problem/Motivation
Websites using reCaptcha v3, that are inundated with spam get lots of "Google reCAPTCHA v3 validation failed: The response parameter is missing." in the logs.
Proposed resolution
Given that this error is "expected", as spam bots are triggering it by failing to pass the verification, I suggest reducing the log severity to "warning" for this and other messages that are expected when bot fails to pass verification.
One example is "Illegal Choice has been detected" log item generated in "form" log channel by Drupal core, when form submission has unexpected values. Its marked as "warning".
This is important, when logs are aggregated and analyzed by services like Rollbar, which sends notifications when log item severity Error or more severe.
Issue fork recaptcha_v3-3550459
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
elamanWent ahead with PR, please let me know if I missed another log point.
Comment #4
dench0Comment #6
dench0Comment #9
dhansen commented@dench0 I'm seeing that @seanr (working on behalf of my team) offered an identical solution with a patch a little over a year before this issue was created here https://www.drupal.org/project/recaptcha_v3/issues/3437759#comment-15677641. Would it be possible to add him to the contributor credit on this issue?
Comment #10
dench0@dhansen
done