Safety events

Conversational agent safety events flag errors and performance issues so you can detect and resolve them fast. For remediation guidance, see Conversational agent optimization.

clarity_error

Tracked when Conversational agent encounters a recoverable error that the system caught and handled. Conversational agent may keep running after the error, but the event signals that something went wrong and needs investigation.

Attributes

AttributeDescriptionValues
actionEvent action type.clarity_error
typeThe specific error condition.Common conditions include empty or invalid product IDs, and product IDs that aren't returned as strings.
locationWhere the error originatedSee values
messageError message.Free-text
chat_widget_stateState of the chat widget when the error occurred, when applicable.minimized, bubble, open
chat_widget_sizeSize of the chat widget, when applicable.large, small, half_screen, full_screen
conversation_stateState of the conversation, when applicable.initial_message, welcome_message, home_screen, conversation, idle
chat_configWebchat configuration, when applicable.JSON string
latencyFor backend errors, time elapsed before the error, in milliseconds.Example: 1240

location values

location valueDescription
FE:chat_closeThe error occurred when the chat window was closed or dismissed.
FE:user_activeThe error occurred while the shopper was actively using the chat.
FE:user_passiveThe error occurred while the chat was open, but the shopper wasn't interacting with it.
Back_endThe error originated on the server. This is not related to your browser or actions.
FE:app_error_boundaryA critical error caused the chat to stop working unexpectedly.

clarity_warning

Tracked when Conversational agent hits a recoverable issue that doesn't stop it from running, but is worth flagging. It carries lower severity than clarity_error.

Attributes

AttributeDescriptionValues
actionEvent action type.clarity_warning
typeThe specific warning condition.Common conditions include misconfigurations, unrecognized hook keys, or deprecated configuration values.
messageWarning message.Free-text
chat_widget_stateState of the chat widget when the warning occurred.minimized, bubble, open
chat_widget_sizeSize of the chat widget.large, small, half_screen, full_screen
conversation_stateState of the conversation.initial_message, welcome_message, home_screen, conversation, idle
chat_configWebchat configuration.JSON string

load_failed

Tracked when a blocking condition prevents Conversational agent from loading or rendering. The shopper won't see Conversational agent from this code path.

Attributes

AttributeDescriptionValues
actionEvent action type.load_failed
typeThe specific failure condition.See conditions below
messageError message.Free-text

type conditions

type valueMeaning
banner_id_not_setThe use case configuration is missing the banner ID.
parent_element_not_foundThe CSS selector for the trigger's parent element didn't match anything on the page.
configuration_errorThe Conversational agent configuration was invalid.
required_values_not_foundA product ID, agent ID, or URL was missing during product detail retrieval.
item_not_foundA product details fetch returned an empty result.
product_ids_failedExtracting product IDs from the page failed.
page_type_failedPage type detection failed.
page_api_not_availablePage API was unavailable.
healthcheck_failedThe Conversational agent backend health check failed.
outside_working_hoursThe current time is outside the use case's configured working hours.
external_data_failedThird-party experiment data couldn't be matched to a known variant.

trigger_error

Tracked when a trigger encounters a non-blocking error while loading. Fires for triggers that make additional requests, such as PDP-embedded triggers with AI-generated conversation starters and search suggestions.

Attributes

AttributeDescriptionValues
actionEvent action type.trigger_error
componentTrigger surface type.PDP_EMBEDDED, SEARCH_SUGGESTION
component_templateTemplate version.PDP_EMBEDDED_v1, SEARCH_SUGGESTION_v1
trigger_context_product_idsProduct IDs extracted from the page by the trigger.Array of product IDs
locationThe stage of the trigger execution flow where the error occurred.Same value set as clarity_error
messageError message.Free-text
chat_configWebchat configuration.JSON string

Did this page help you?

© Bloomreach, Inc. All rights reserved.