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 Code | Error Message | Resolution |
|---|---|---|
INITIALIZATION_ERROR | Script 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_ERROR | LOError: LOApplication: frontdoorURL must be a valid URL | Ensure 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_ERROR | Missing required params: idOrApiName | Ensure the idOrApiName value is provided in the embedding code. For more information, see Add the Tableau Next Component to Your Web App. |
CONFIGURATION_ERROR | Missing required params: Page with label {pageName} not found | Ensure the pageName value is correct in the embedding code. |
RESOURCE_NOT_FOUND | Dashboard with <idOrApiName> not found | Ensure the idOrApiName value is correct in the embedding code. For more information, see Add the Tableau Next Component to Your Web App. |
INTERNAL_ERROR | Failed 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_SESSION | Invalid session | Ensure you have a code implementation for reauthorizing user sessions. |
UNHANDLED_REJECTION | Unhandled Promise Rejection: Lightning Out container error: LWR3009: Unable to resolved bare specifier: analytics_business_user/metric/v/0_0_1 | Contact 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.