Public Key Invalid...But It's Not #61
-
Hi there, I setup EmailJS on my site many months ago, some time ago it stopped working. I compared my code and found that the EmailJS code has changed. I went through the docs again and updated my code. However I'm getting this error:
BUT, the public key is 100% correct. I tried also regenerating a new public key and using that, triple checked everything and still no go. Any help is greatly appreciated. Any ideas where I can look next or what may be going on? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
You should look in the Network tab to check what data you are actually sending to the service. |
Beta Was this translation helpful? Give feedback.
-
The 4th variable in the .sendForm function is the Public Key, but you put the object. emailjs.sendForm("contact_service", "contact_form", this) |
Beta Was this translation helpful? Give feedback.
The recaptcha code is taken automatically from the form, just fix your code and try to run :)