Domain Mismatch Error

You're seeing the error {"error": "domain_mismatch"}. This means the requesting domain doesn't match the domain registered with your API key.

Domain not registered

The API key is configured for a different domain. Go to Dashboard → API Keys → Edit and check the domain field.

www vs. non-www

SilentShield automatically matches www.example.com with example.com. This should not cause issues.

Local development

Create a separate API key for localhost or your development domain. Production keys won't work on localhost.

Multiple domains

Each domain needs its own API key. Create a separate key for each domain in the dashboard.

Proxy or CDN

Some proxy configurations strip the Origin or Referer headers. Ensure these headers are forwarded to your server.