For the complete documentation index, see llms.txt. This page is also available as Markdown.

extractionTimeout

The capture timeout was reached.

Details

Emitted when the widget cannot extract the document within the time configured in captureTimeout and captureRetries.

Event: extractionTimeout

Type: FacephiSelphidWidgetCustomEvent<ExtractionTimeoutEvent> | CustomEvent<ExtractionTimeoutEvent>

Syntax

selphid.addEventListener('extractionTimeout', onExtractionTimeout);

Received object

The payload is of type SelphidExtractionTimeoutDetail and is in event.detail.detail:

  • eventType (string): Type of emitted event.

  • message (string): Brief description of the timeout.

  • documentPresent (boolean): Indicates whether a document was detected during the attempt.

  • code (string): Associated error code.

Description

Indicates that document capture was not completed on time. By default, the widget shows an expiration view to the user.

Considerations

The payload is in event.detail.detail (see event format).

If captureTimeout or captureRetries es 0, this event is not emitted. The timeout screen includes a button that triggers timeoutErrorButtonClick.


Example

Last updated