interaction.loaded, which confirms that the requested interaction is ready to display after navigation.
Recommended timeout
Start a timeout whenever your integration initiates navigation that depends oninteraction.loaded. Use a default timeout between 10 and 30 seconds. Corti recommends starting with 20 seconds, then tuning based on your own network and WebView conditions.
When the timeout expires:
- Stop waiting for the stale event listener.
- Show a user-visible recovery state.
- Provide a retry action that reinitializes the embed, remounts the Web Component, or reloads the iframe.
- Log the timeout in your own monitoring so your team can separate integration, network, and service issues.
User-facing recovery copy
Use short copy that explains the state without exposing implementation details:Retry or Reload Assistant. When the user retries, create a fresh embedded instance or reload the iframe before repeating authentication, configuration, interaction creation, and navigation.
Minimal implementation
The following example starts a timer before navigation, clears it wheninteraction.loaded arrives, and exposes a retry path that remounts the Web Component.
TypeScript
What to monitor
Track these signals in your host application:- Timeout count and timeout rate for
interaction.loaded - Browser or WebView family and version
- Assistant region and
baseURL - Whether the retry succeeds
- The last Embedded API method called before the timeout
Related pages
Web Component API
Use the recommended integration method for new embedded deployments.
Events Reference
Review lifecycle events emitted by the Embedded Assistant.