Troubleshoot Lightning Types in Enhanced Chat v2
Solve common custom Lightning type rendering issues.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type. |
To learn about channel support for other agent types, see the documentation for that type. |
In some cases, the issue can be resolved by re-publishing your Embedded Service deployment. Republishing the Embedded Service deployment is especially important and required when you make these changes.
- If you change the service agent when the Routing Type is configured as Agentforce Service Agent.
- If you add a new agent in your omni-channel routing flow when the Routing Type is set to Omni-Flow.
- If you add new actions to your agent.
- If you edit the inputs or outputs for any existing actions.
- If you change the Output Rendering type for any output.
- If you activate a different version of your agent.
Issue: Lightning Type Response Renders as Text
If you see a text response instead of the expected custom Lightning Types in the UI, verify your settings, as custom Lightning Types are only supported in Enhanced Chat v2. Verify these settings.
- Agent Connections: The agent is deployed to Enhanced Chat v2. Open your agent in Agentforce Builder and ensure the Enhanced Chat V2 connection is added to your agent. See Set Up Connections.
- Embedded Service Deployment: On the Embedded Service Deployment page, confirm that the deployment's version is set to V2. See Connect a Service Agent to Enhanced Chat v2.
- Access to Apex Classes and Flows: The Agent User Profile and the Sys Admin Profile have access to the invocable Apex classes and flows. See Set Apex Class Access from Profiles and Provide Access to Use Flows.
Issue: Lightning Type Response Not Rendered
To ensure custom Lightning types render completely, include them in the published deployment. If they are not rendered, re-publish your Embedded Service deployment to resolve the issue.
For other troubleshooting issues with Enhanced Chat see Troubleshoot Enhanced Chat Setup.



