GetSheetForDashboard API returns 404 with error “ClientKey not found”
I am using Javascript embedding SDK
Hi @radhakrishnan_g , Thanks for your question and Welcome to the community.
Common causes for the “ClientKey not found” 404 error:
- The authentication token has expired
- Incorrect permissions in the IAM role
- The dashboard URL is not properly generated
- Missing or incorrect dashboard permissions for the authenticated user
To resolve this:
- Ensure your authentication token is current and valid
- Verify the IAM role has quicksight:GetDashboardEmbedUrl permission
- Check that the user/group has proper dashboard access permissions
- Confirm the dashboard URL is being generated with the correct parameters
Additional reference :
Hope this helps!
Regards,
Harpreet