Hello everyone,
I’m working with Quick Sight and have encountered an issue after performing an Asset Bundle import job, even though the process completed successfully. Here’s a summary of what I did:
- Prepare quick sight. Delete all data sources and datasets. The analysis is present because I can’t safely delete it. It changes the status to deleted.
- I initiated the Asset Bundle import using the following code:
var importSource = AssetBundleImportSource.builder()
.s3Uri(String.format("s3://%s/%s", bucketName, name))
.build();
var importJobRequest = StartAssetBundleImportJobRequest.builder()
.awsAccountId(awsAccountId)
.assetBundleImportJobId(importJobId)
.assetBundleImportSource(importSource)
.build();
var response = quickSightClient.startAssetBundleImportJob(importJobRequest);
- I waited for the import job to complete, and it returned a
JobStatus=SUCCESSFUL
with a Request ID (d7b2bcef-5f27-4eb4-8809-5f2701c399fa
). - Before initiating the import, the required Athena dataset was already in place with the correct name and files.
- Once the import was completed, I verified that the source and dataset were created and available in Quick Sight, with the dataset showing a “Complete” refresh status.
- Dataset, data source, analysis have the required permissions (group)
- AnalysisId=100bf5c8-8c55-4af5-83d7-7a51a9b77255 with ResourceStatus=UPDATE_SUCCESSFUL
The issue arises with the analysis: it appears that the import was expected to create an analysis, but when I access it, Quick Sight displays a message stating “Cannot access data for this visual.”
My dataset and datasource are created as expected from the import, and they match the ones used to create this analysis. However, in the analysis, I see an “Unable to load dataset” message, indicating that the dataset isn’t connected properly.
The issue may be related to the analysis that already existed when I ran the import. But, as I mentioned earlier, I can’t simply delete it beforehand.
Any insights would be greatly appreciated!