0

I'm using the create an account GraphQL, sometimes the validation passed and a few times it doesn't. It seems to be an issue from these validation part of the code:

if ($reCaptchaConfig
            && !$this->validator->isValid(
                (string)$this->request->getHeader('X-ReCaptcha'),
                $reCaptchaConfig
            )->isValid()
        ) {
            throw new GraphQlInputException(__('ReCaptcha validation failed, please try again'));
        }

from vendor/magento/module-re-captcha-webapi-graph-ql/Plugin/GraphQlValidator.php.

This is what I got from my system error logs:

report.ERROR: ReCaptcha validation failed, please try again

report.ERROR: ReCaptcha validation failed, please try again

How could I find this intermittent issue?

1
  • Did you find a solution for this? We are running into the same problem with one of our clients.
    – Niels
    Mar 28 at 8:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.