EmbedErrorCodes

EmbedErrorCodes

Error codes for identifying specific issues in embedded ThoughtSpot components.

Use these codes for precise error handling and debugging. Each code maps to a distinct failure scenario, enabling targeted recovery strategies.

Version : SDK: 1.44.2 | ThoughtSpot: 26.2.0.cl

see : EmbedErrorDetailsEvent - The error event object that includes these codes

see : ErrorDetailsTypes - General error type categories

Handle specific error codes in the error event handler

embed.on(EmbedEvent.Error, (error) ⇒ { if (error.code === EmbedErrorCodes.WORKSHEET_ID_NOT_FOUND) { console.error('Worksheet ID not found:', error.message); } });

Enumeration members🔗

CONFLICTING_ACTIONS_CONFIG🔗

CONFLICTING_ACTIONS_CONFIG:= "CONFLICTING_ACTIONS_CONFIG"

Conflicting action configuration detected (e.g., both hiddenActions and visibleActions specified)

Defined in : types.ts

CONFLICTING_TABS_CONFIG🔗

CONFLICTING_TABS_CONFIG:= "CONFLICTING_TABS_CONFIG"

Conflicting tab configuration detected (e.g., both hiddenTabs and visibleTabs specified)

Defined in : types.ts

CUSTOM_ACTION_VALIDATION🔗

CUSTOM_ACTION_VALIDATION:= "CUSTOM_ACTION_VALIDATION"

Custom action validation failed

Defined in : types.ts

HOST_EVENT_TYPE_UNDEFINED🔗

HOST_EVENT_TYPE_UNDEFINED:= "HOST_EVENT_TYPE_UNDEFINED"

Host event type is undefined or invalid

Defined in : types.ts

INIT_ERROR🔗

INIT_ERROR:= "INIT_ERROR"

Error during component initialization

Defined in : types.ts

LIVEBOARD_ID_MISSING🔗

LIVEBOARD_ID_MISSING:= "LIVEBOARD_ID_MISSING"

Required Liveboard ID is missing from configuration

Defined in : types.ts

LOGIN_FAILED🔗

LOGIN_FAILED:= "LOGIN_FAILED"

Authentication/login failed

Defined in : types.ts

NETWORK_ERROR🔗

NETWORK_ERROR:= "NETWORK_ERROR"

Network connectivity or request error

Defined in : types.ts

PARSING_API_INTERCEPT_BODY_ERROR🔗

PARSING_API_INTERCEPT_BODY_ERROR:= "PARSING_API_INTERCEPT_BODY_ERROR"

Error parsing api intercept body

Defined in : types.ts

RENDER_NOT_CALLED🔗

RENDER_NOT_CALLED:= "RENDER_NOT_CALLED"

Render method was not called before attempting to use the component

Defined in : types.ts

UPDATE_PARAMS_FAILED🔗

UPDATE_PARAMS_FAILED:= "UPDATE_PARAMS_FAILED"

Failed to update embed parameters during pre-render

Defined in : types.ts

WORKSHEET_ID_NOT_FOUND🔗

WORKSHEET_ID_NOT_FOUND:= "WORKSHEET_ID_NOT_FOUND"

Worksheet ID not found or does not exist

Defined in : types.ts

© 2025 ThoughtSpot Inc. All Rights Reserved.