Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/support-chatbot-fails-to-load-inside-self-help

# Chatbot fails to load inside Self Help

## Issue

When you try to [integrate Chatbot in Self Help](/web/chatbot-support-in-improved-self-help), you see the following error: **mpgmea.service-now\.com refused to connect**.

![](/images/64/image-S6279UO0-648cd6e6.png)

## Probable Causes

The Chatbot does not embed inside Self Help in the following scenarios:

- Your application has the following header enabled: `X-Frame-Options: sameorigin` in the application code. With this header, the Chatbot only appears when opened directly on the same domain, not when embedded within Whatfix.

> [!WARNING]
>
> If you do not have access to the application code, contact your IT team.

- A Content Security Policy (CSP) restricts embedding the Chatbot.

## Suggested Solutions

Contact your IT team and request them to allow the Whatfix domain to embed the Chatbot. Do the following changes to resolve the issue:

- Remove or adjust the `X-Frame-Options` header in the application code.
- Modify the CSP to include Whatfix in the [frame-ancestors list](https://content-security-policy.com/frame-ancestors/): `Content-Security-Policy: frame-ancestors 'self' https://*.whatfix.com`. For a full list of domains to whitelist, see [What are the trusted Whatfix domains to whitelist?](/web/what-are-the-trusted-whatfix-domains-to-whitelist)

> [!WARNING]
>
> If the issue persists, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Chatbot%20service%20not%20working\&body=Hi%2C%0A%0AI'm%20unabel%20to%20embed%20my%20chatbot%20service%20with%20the%20Self-Help.%20ENT%20details%3A).
