Initially, I thought it was because of the permission that Quick Sight couldn’t read the S3 object.
But even after I tried to deploy using an admin role user and set Quick Sight to consume an admin role, it still failed.
Can anyone please help me figure out what was wrong here and how I could make it work?
Thank you.
P.S: I have also tested directly with AWS CLI, it was able to start the dashboard creation, but eventually the created dashboard cannot be opened from the UI.
First of all Welcome to the Quick Sight community.
Possible causes and solutions:
S3 bucket policy restrictions:
• Even with admin roles, the bucket policy might be restricting access
• Check if your bucket has a policy that explicitly denies access to the Quick Sight service
S3 object permissions:
• Verify the specific object has the correct ACLs
S3 bucket region mismatch:
• Ensure the S3 bucket is in the same region as your Quick Sight account or that cross-region access is properly configured
Object path correctness:
• Double-check that the object key path is exactly correct (case-sensitive)
• Verify the object actually exists at that path
Quick Sight service role permissions:
• Quick Sight uses a service role to access resources - this role needs S3 permissions
File format compatibility: looks ok from your code but
• Ensure the image file format is supported by Quick Sight (JPG, PNG, etc.)
• Check if the file size is within Quick Sight’s limits
Try these steps and see if it helps:
Verify the object exists and is accessible:
bash
aws s3 ls s3://my-bucket-name/full/path/to/my/object.jpg
Grant explicit permissions to Quick Sight service:
Add a bucket policy that explicitly allows Quick Sight to access your bucket:
Try with a public test image (temporarily):
• Make the specific image public (temporarily for testing)
• Or try with a different image in a test bucket with simpler permissions
Check Quick Sight service role:
• In the Quick Sight console, go to “Manage Quick Sight” > “Security & permissions”
• Ensure the Quick Sight service role has access to your S3 bucket
Hi @okadadaisuke,
It’s been awhile since we last heard from you on this thread, did you have any additional questions regarding your initial post or did the solution provided help with your case?
If we do not hear back within the next 3 business days, I’ll close out this topic.