Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/cpresources/freeform-scripts-front-end-captchas-recaptcha/v3.js net::ERR_ABORTED 404 (Not Found) #1232

Open
atelierbim opened this issue Apr 24, 2024 · 4 comments
Assignees
Labels
freeform5 Affects Freeform 5.x issue Something isn't working correctly

Comments

@atelierbim
Copy link

Describe the bug or issue you're experiencing
Front end form protected by reCaptcha keep displaying an error message to the visitors:
Please verify that you are not a robot.

in the console: /cpresources/freeform-scripts-front-end-captchas-recaptcha/v3.js net::ERR_ABORTED 404 (Not Found)

Steps to reproduce

Expected behavior

Craft & Plugin Info (please complete the following information):

  • Craft Version: 4 latest
  • Freeform Version: 5 latest
  • Freeform Edition: PRO
  • Fresh Install or Upgrade:

Additional context

@atelierbim atelierbim added the issue Something isn't working correctly label Apr 24, 2024
@kjmartens
Copy link
Contributor

Hi @atelierbim,

I wonder if this is a similar issue as described here:
https://docs.solspace.com/craft/freeform/v5/common-issues/#_404-errors-for-freeform-plugin-js

Can you try switching the Freeform Script Insert Type setting (Craft CP → Freeform → Settings → Form Behavior) to As Files instead and see if that resolves it? 🙂

@kjmartens kjmartens self-assigned this Apr 25, 2024
@atelierbim
Copy link
Author

Hi @kjmartens,
I did try this. It does not work. It seems that it is related to my hosting on Craft Cloud. Here's the console output for the files:

GET https://cdn.craft.cloud/7b8beba8-e101-4748-bea8-5b552bef2af7/builds/9be3a0f5-21da-41a4-8773-aa286088b974/cpresources/freeform-styles-front-end-plugin/freeform.css net::ERR_ABORTED 404 (Not Found)

GET https://cdn.craft.cloud/7b8beba8-e101-4748-bea8-5b552bef2af7/builds/9be3a0f5-21da-41a4-8773-aa286088b974/cpresources/freeform-scripts-front-end-plugin/freeform.js net::ERR_ABORTED 404 (Not Found)

GET https://cdn.craft.cloud/7b8beba8-e101-4748-bea8-5b552bef2af7/builds/9be3a0f5-21da-41a4-8773-aa286088b974/cpresources/freeform-scripts-front-end-captchas-recaptcha/v3.js net::ERR_ABORTED 404 (Not Found)

Pretty annoying it's happening on the live site...

@kjmartens kjmartens added the freeform5 Affects Freeform 5.x label Apr 27, 2024
@atelierbim
Copy link
Author

Hi, is there any update on this?

@kjmartens
Copy link
Contributor

kjmartens commented Apr 30, 2024

Sorry for the delay @atelierbim,

I can't reproduce this issue happening on my test site, and I haven't heard of anyone reporting this issue yet.

Can you confirm the exact versions of Freeform and Craft you're using? If not the latest available, please try updating.

I guess switch it back to Encrypted Payload. Can you screenshot me what your reCAPTCHA settings look like in the form builder for the affected form? 🙂

Further to this... we recommend not using the Display Error behavior for reCAPTCHA v3 since the user cannot make any changes on their side of things. Instead, you should use Send to Spam Folder. It would also then include the score the user was given by reCAPTCHA when viewing the submission in the Spam Folder. 🙂

Screenshot 2024-04-30 at 6 16 52 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freeform5 Affects Freeform 5.x issue Something isn't working correctly
Development

No branches or pull requests

2 participants