For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
GuidesReferenceClick-to-Call
GuidesReferenceClick-to-Call
  • Core
    • Overview
  • Entities
    • SignalWire
    • Address
    • Participant
    • ClientPreferences
    • SelfCapabilities
    • SelfParticipant
    • User
    • WebRTCCall
      • CallCreateError
      • CollectionFetchError
      • DeviceTokenError
      • DPoPInitError
      • InvalidCredentialsError
      • MediaTrackError
      • MessageParseError
      • OverconstrainedFallbackError
      • PreflightError
      • RecoveryError
      • TokenRefreshError
      • UnexpectedError
      • VertoPongError
  • Web Components
    • Overview
    • sw-audio-level
    • sw-call-controls
    • sw-call-dialpad
    • sw-call-media
    • sw-call-provider
    • sw-call-status
    • sw-call-widget
    • sw-click-to-call
    • sw-device-selector
    • sw-directory
    • sw-local-camera
    • sw-participant-controls
    • sw-participants
    • sw-self-media
    • sw-ui-alert
    • sw-ui-background
    • sw-ui-call-layout
    • sw-ui-content-drawer
    • sw-ui-control-bar
    • sw-ui-dialpad
    • sw-ui-dropup
    • sw-ui-icon
    • sw-ui-modal
    • sw-ui-responsive-container
    • sw-ui-split-button
    • sw-ui-transcript-view
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Extends
  • Constructors
  • Constructor
  • Parameters
  • Properties
  • Examples
EntitiesErrors

DPoPInitError

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

InvalidCredentialsError

Next
Built with

Raised during client construction when DPoP (Demonstrating Proof-of-Possession) key initialization fails — typically because the browser does not expose a usable SubtleCrypto (insecure origin, very old browser) or persistent storage is unavailable for the key material. The error is fatal: a SignalWire instance that cannot initialize DPoP cannot authenticate.

Extends

  • Error

Constructors

Constructor

1new DPoPInitError(originalError, message?): DPoPInitError

Parameters

originalError
unknownRequired

Underlying error raised during DPoP key initialization.

message
string

Human-readable error message.

Properties

originalError
unknownRequired

Underlying error raised during DPoP key initialization.

Examples

1import { DPoPInitError } from '@signalwire/js';
2
3try {
4 const client = new SignalWire(credentialProvider);
5 await client.connect();
6} catch (err) {
7 if (err instanceof DPoPInitError) {
8 // Likely cause: insecure origin or unsupported browser.
9 showFallbackUI('Your browser does not support secure authentication.');
10 }
11}