Web SDK
Troubleshooting
Resolve common SDK errors: DOMAIN_NOT_ALLOWED, connection timeouts, CSS conflicts, and script blocks.
Overview
Diagnostic resolutions for common SDK integration issues.
Error: DOMAIN_NOT_ALLOWED
- Cause: The current domain is not whitelisted.
- Fix: Add the origin to Project Settings > Allowed Domains in the dashboard.
Enabling Debug Mode
Asiyst.init({
projectId: "proj_9f8a2b3c4d",
publicKey: "pk_live_8e7d6c5b4a3f2e1d",
options: { debug: true },
});