Error Panel

Use Error Panel to help users diagnose and fix common problems preventing the use of voice.

Error Panel automatically unhides when the user presses Push-To-Talk Button if ClientState indicates an initialisation error.


<script type="text/javascript" src=""></script>

  placement="bottom" >

Place <ErrorPanel> component inside your <SpeechProvider>. Please see Basic usage for a full app example.

import { ErrorPanel } from "@speechly/react-ui";


Error Messages

  • Failed to connect Speechly
    • Cause: Either the Speechly application id is invalid or the configuration has not been deployed successfully.
    • Proposed fix: Check that the Speechly application id is spelled exactly as shown in the Dashboard. If this is the first time you use the app id, check in the Dashboard that the speech model has finished training and try again once it has been deployed. Training usually takes some 5-10 minutes.
  • No microphone permission
    • Cause: The user has denied the use of microphone
    • Proposed fix: To use the voice interface, please allow your web browser access the microphone and reload.
  • Unsupported browser
    • Cause: Required browser APIs for voice functions are not available
    • Proposed fix: To use the voice interface, please visit this site using a supported browser.
  • Page accessed without HTTPS
    • Cause: The site that contains voice functions is accessed with file:// or http:// protocol causing the browser to prevent access to required browser APIs.
    • Proposed fix: To use the voice interface, please visit this site using the secure https:// protocol.

Profile image for Ari Nykänen

Last updated by Ari Nykänen on March 9, 2022 at 16:58 +0200

Found an error on our documentation? Please file an issue or make a pull request