- Newest
- Most votes
- Most comments
To resolve the "Failed to create topic" error in QuickSight Q, there are several potential issues to investigate:
-
IAM Permissions: Ensure you have the necessary permissions to create Q topics. You need both
quicksight:CreateTopicandquicksight:PassDataSetpermissions in your IAM policy. -
Dataset Ownership: You must be an owner of the underlying dataset before you can create a topic using that dataset. Verify your ownership permissions for the datasets you're trying to use.
-
RLS Considerations: Since you mentioned your dataset uses Row-Level Security (RLS), this could be affecting the topic creation process. RLS might be restricting access to certain data during the analysis phase.
-
Direct Query Issues: Direct query datasets sometimes have limitations or connectivity issues that can affect topic creation. The "CUSTOMER_DATA_SOURCE_QUERY_FAULT" error suggests there might be a problem with the query execution against your data source.
As an alternative approach, you could try:
-
Using the AWS CLI to create the topic instead of the QuickSight UI. This might provide more detailed error information.
-
Creating a CLI skeleton file with your topic configuration and using the
create-topiccommand:
aws quicksight create-topic --aws-account-id YOUR_ACCOUNT_ID --cli-input-json file://createtopic.json
- If a previous topic was created successfully against the same dataset, you might consider using the
describe-topicAPI to get that topic's configuration and use it as a template for creating new topics.
The error "CUSTOMER_DATA_SOURCE_QUERY_FAULT" typically indicates an issue with the underlying query to your data source, so you may also want to check if there are any changes or issues with your data source connection.
Sources
Work with QuickSight Q topics using the QuickSight APIs - Amazon QuickSight
Work with QuickSight Q topics using the Amazon QuickSight APIs - Amazon QuickSight
Copy and migrate QuickSight Q topics within and between AWS accounts - Amazon QuickSight
Using Q Topics on sheets in Amazon QuickSight - Amazon QuickSight
answered a year ago
Relevant content
asked 8 months ago
asked 8 months ago
- AWS OFFICIALUpdated 6 months ago
