Troubleshooting for Tableau Next Embedding

There are various error scenarios that may occur during the implementation of embedding Tableau Next components into your web app using the SDK. Each error has an explanation and a resolution.

Error CodeError MessageResolution
INITIALIZATION_ERRORScript load failed: <orgURL>Ensure the orgUrl value provided in the embedding code matches your Salesforce org URL. For more information, see Add the Tableau Next Component to Your Web App.
AUTH_ERRORLOError: LOApplication: frontdoorURL must be a valid URLEnsure the URL passed to the SDK matches the frontdoor URL created in Salesforce Setup. For more information, see Generate the Access Token and Frontdoor URL for Tableau Next Embedding.
CONFIGURATION_ERRORMissing required params: idOrApiNameEnsure the idOrApiName value is provided in the embedding code. For more information, see Add the Tableau Next Component to Your Web App.
CONFIGURATION_ERRORMissing required params: Page with label {pageName} not foundEnsure the pageName value is correct in the embedding code.
RESOURCE_NOT_FOUNDDashboard with <idOrApiName> not foundEnsure the idOrApiName value is correct in the embedding code. For more information, see Add the Tableau Next Component to Your Web App.
INTERNAL_ERRORFailed to fetch metric: <idOrApiName>Ensure the idOrApiName value is correct in the embedding code. For more information, see Add the Tableau Next Component to Your Web App.
INVALID_SESSIONInvalid sessionEnsure you have a code implementation for reauthorizing user sessions.
UNHANDLED_REJECTIONUnhandled Promise Rejection: Lightning Out container error: LWR3009: Unable to resolved bare specifier: analytics_business_user/metric/v/0_0_1Contact Salesforce support.

The idOrApiName parameter is required. If this parameter is missing for the initialization of any components, then the SDK throws an error to the console.

When the filter is built with invalid values, the applyFilters call fails with an INTERNAL_ERROR event. Failures occur when the data source name isn't found, the field name isn't found in the data source, the filter operator isn't a correct enumerated value, or the values in the filter values are invalid. Invalid filter values can occur when the value type doesn't match the field type or there are mixed value types in the values array.