Loading
Salesforce now sends email only from verified domains. Read More
Agentforce Contact Center
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Troubleshooting Auto-Response Messaging Components

          Troubleshooting Auto-Response Messaging Components

          You can encounter error messages when sending an auto-response messaging component.

          Required Editions

          View supported editions.
          Checkmark This article applies to: Enhanced In-App Chat, Enhanced Web Chat v1, Enhanced Web Chat v2, and Bring Your Own Channel
          X icon This article doesn’t apply to: Enhanced WhatsApp, Standard and Enhanced Facebook Messenger, Standard and Enhanced SMS, Enhanced Apple Messages for Business, and Enhanced LINE channels
          Error Message Solution
          Refused to frame 
          ‘<your auto-response URL>’ because 
          it violates the following Content 
          Security Policy directive: 
          “frame-src ‘self’
          Add the auto-response URL as a CSP Trusted URL. If Display Configuration is set to Pop-Up Message, select Allow site for frame-src under CSP Directives.  Depending on the contents of the URL, check additional CSP directives. For example, if the web page is supposed to render images, select Allow site for img-src.
          Refused to frame ‘<your auto-response URL>’
           because an ancestor violates the following 
          Content Security Policy directive: frame 
          ancestors 'self'”

          1. If using a Visualforce page, add it as a Trusted Domain for Inline Frames. In the IFrame Type field, select Surveys. Save your changes. Return to the Session Settings page in Setup and ensure that Enable clickjack protection for customer Visualforce pages with standard headers isn’t selected.

          2. If you’re trying to host a survey in an iFrame for a different domain than the parent page, ensure that you have the Salesforce Feedback Management license.

          Refused to display 
          ‘<your auto-response URL>’ in a 
          frame because it set 
          ‘X-Frame-Options’ to ‘sameorigin’.
          The auto-response URL can’t be loaded in an iframe. The owners of the web page and its HTTP headers control this configuration. If your deployment lives on an external website, fix it on the external website, not in Salesforce. If your deployment lives on a VisualForce page, the workaround is to downgrade Clickjack protection and remove Visualforce-specific instructions.
          Blocked form submission to 
          ‘<your auto-response URL>’ because 
          the form's frame is sandboxed 
          and the 'allow-forms' permission 
          is not set

          Opt out of applying iframe restrictions on the client side by adding this snippet to your code snippet (external website) or your <head> markup (Experience site):

          embeddedservice_bootstrap.settings.omitSandbox = true;

          You typically see this error message when trying to show a pop-up message auto-response on a website with functionality that’s restricted in our top-level container iframe. Setting the flag to true removes all restrictions from the container iframe. Security implications apply to recommending this workaround. When you bypass other security restrictions that sandboxing prevents, your web page for a pop-up message auto-response can become vulnerable to malicious code.

           
          Loading
          Salesforce Help | Article