ng-hcaptcha icon indicating copy to clipboard operation
ng-hcaptcha copied to clipboard

Error: missing-captcha No hCaptcha exists.

Open aeslinger0 opened this issue 2 years ago • 2 comments
trafficstars

I'm getting this error when my page is loading.

image

It appears to originate from https://hcaptcha.com/1/api.js?render=explicit image

I can't find any documentation on why this error is happening or how to resolve it. I am running locally, but not using localhost. Instead, I have an entry in my hosts file for local.mydomain.com. It worked the first time I ran it, but now it's giving this error every time and the reactive form control is never updated with the captcha code.

Any ideas what would be causing this or how to fix it?

aeslinger0 avatar Nov 23 '23 16:11 aeslinger0

I found I could clear my storage (localStorage, cookies, etc) and it started working again. Since it's happening in api.js, I'm guessing it might be a problem with hCaptcha and not this library, although I don't know that for sure. I will submit a bug report to them and point them to this page.

aeslinger0 avatar Nov 26 '23 13:11 aeslinger0