Ensure the EC2 instance role has the necessary Quick Suite permissions, such as quicksight:CreateDataSource, and allows Quick Suite to assume its service linked roles. Attach relevant IAM policies.
As a Quick Suite administrator, go to Manage Quick Suite → Security & permissions in the console, and verify or enable access to Athena (including query result locations in S3).
Please refer to the below Quick Suite documentations and community post this might be helpful for you.