Troubleshooting
Start with the browser Network and Console panels, then inspect the result returned by your backend. Keep the HumanPass request ID when asking for support.
Widget does not appear
Section titled “Widget does not appear”Check that:
- the versioned widget script returns HTTP 200;
customElements.get("humanpass-widget")returns a component;data-humanpass-sitekeyis present and uses the correct environment;- Content Security Policy allows the script, API connection, and blob workers;
- the selected mode is not Invisible, which intentionally has no persistent UI.
403 Not allowed
Section titled “403 Not allowed”The site, origin, action, or a configured protection rule may have blocked the request.
- Confirm the sitekey belongs to the intended site.
- Add the exact hostname in the dashboard.
- For wildcard policy, remember it matches exactly one subdomain label.
- Confirm
data-humanpass-actionis listed in Allowed actions. - If the action list is empty, omit the attribute or use
default. - In Events, select Blocked and inspect the reason and matching rules. See Analytics and verification events.
Localhost fails
Section titled “Localhost fails”Use a test site and add localhost as an exact allowed domain in the dashboard. Keep the standard widget script and use the site’s test sitekey:
<script src="https://humanpass.valgix.com/widget/v0/humanpass.min.js" defer></script>
<humanpass-widget data-humanpass-sitekey="hp_site_test_REPLACE_ME"></humanpass-widget>Open the page from http://localhost or http://localhost:<port> so the browser hostname matches the configured domain.
Script is blocked despite HTTP 200
Section titled “Script is blocked despite HTTP 200”An outer proxy may be adding restrictive cross-origin headers or serving the wrong MIME type. The official widget response must remain usable cross-origin. Check Content-Type, Cross-Origin-Resource-Policy, Content Security Policy, and any CDN or reverse-proxy overrides.
timeout_or_duplicate
Section titled “timeout_or_duplicate”The response expired or has already been consumed. Reset the widget and obtain a fresh response. Do not retry the old response under a new idempotency key.
invalid_secret
Section titled “invalid_secret”Confirm that the backend secret:
- includes the complete
hp_secret_...value without quotes or whitespace; - belongs to the same site and environment as the sitekey;
- has not been revoked;
- is loaded in the running deployment, not only in a local
.envfile.
action_mismatch or hostname_mismatch
Section titled “action_mismatch or hostname_mismatch”Compare the widget action, dashboard allowlist, backend expected action, browser hostname, allowed domains, and SDK expectedHostname. The hostname must not include a scheme, path, or port.
rate_limited
Section titled “rate_limited”Respect the HTTP Retry-After header. Avoid immediate loops, duplicate programmatic solves, and creating a new HumanPass request on every render.
service_unavailable or transport errors
Section titled “service_unavailable or transport errors”Fail closed and show a retry message. Check connectivity to humanpass.valgix.com, DNS, TLS, proxy policy, and service status. Do not bypass HumanPass automatically.
Solutions are accepted but server confirmations are missing
Section titled “Solutions are accepted but server confirmations are missing”Open Overview and compare Solutions accepted with Tokens verified by your server. In Events, open an affected attempt and check its timeline. A solved challenge means the browser received a token. Confirm that your form sends the response field, your backend calls siteverify with the matching secret, and your handler processes the verification result.
A webhook is missing or failing
Section titled “A webhook is missing or failing”Check that the webhook is enabled and its event type and filters match the request. Use Send test and open Deliveries to read the HTTP status. If your endpoint rejects the signature, compare your signing key and the exact bytes used to compute the HMAC. Verify each delivery.
Contact support
Section titled “Contact support”Send [email protected]:
- the approximate UTC time;
- request ID and stable error code;
- affected hostname and action;
- widget and SDK versions;
- browser/runtime versions.
Do not send secret keys or complete response tokens.
