Was this page helpful?

Error handling

Troubleshoot connection error

After the preview URL is set up, the Experiences canvas might display a “Your website refused to connect” message.

Connection error

This can happen if:

  • Your project server is not running.
  • Your project is running on the wrong port.
  • Your preview URL is wrongly configured.
  • Your website has a strict security configuration (Security Header or Content Security Policy (CSP)), which prevents other websites from embedding it.

To troubleshoot this:

  • Ensure that the project is running and on the correct port.
  • Confirm if your preview URL is rightly configured.
  • Reach out to your dev or security team to modify your website security configuration.​​