max_gb
February 14, 2021, 6:56pm
1
Wappler Version : 3.7.6
Operating System : Mac
Server Model: Node
Related to:
Created a new Node.js project with a simple server action (contact form) that consists of recaptcha validate and then an api action.
If I remove the recaptcha validate step the api action completes successfully. If I enable the recaptcha check, I get the following error:
{
status: "500",
message: "Module recaptcha doesn't exist",
stack: "Error: Module recaptcha doesn't exist at App._exec (/home/project/app/lib/core/app.js:417:27) at App._exec (/home/project/app/lib/core/app.js:398:28) at proce…
The site where this was working after the fix now just times out and displays a 503 error. If I turn off the recaptcha validate step, the server action works as it should.
Also tested on a new server action file, same error occurs.
Teodor
February 14, 2021, 7:03pm
2
What’s the exact error message returned by the server action?
max_gb
February 14, 2021, 7:06pm
3
No useful response, just 503.
If I turn the validate step off it completes successfully.
Teodor
February 14, 2021, 7:11pm
4
Well, are you sure everything is alright with your google API keys / setup? Are you sure you haven’t hit the limits there?
max_gb
February 14, 2021, 7:18pm
5
Yup, just double checked, both keys are correct and no account limits. Last request was two days ago. The only 503 error message I receive
VM307:1 POST https://domain.co.uk/api/contact 503
(anonymous) @ VM307:1
_submit @ serverconnectForm.js:269
submit @ form.js:45
onsubmit @ form.js:75
Teodor
February 15, 2021, 12:40pm
7
Here’s the latest version, which should fix your issue
recaptcha.js.zip (1.0 KB)
1 Like
Teodor
February 18, 2021, 7:05pm
9
This has been fixed in Wappler 3.7.7
Teodor
Closed
February 20, 2021, 4:00pm
11
This topic was automatically closed after 44 hours. New replies are no longer allowed.