Hello,
We have been using QuickSight for about 6 months now, and have been used the same Dashboard for months and suddenly started to get the above message when embedding. No reference to it online anywhere, anyone else running into this issue? I narrowed it down to Custom SQL (not related to the underlying DB, because 2 of our dashboards which uses Athena and RDS are both having the same issue, only when using parameterized Custom SQL). I tried the following without any luck:
- Removed all visuals
- Tried embedding directly in QuickSight (by using the Copy Link button), instead of using the API using get_embedded_url_for_registered_user
- Published a new Dashboard from Analysis
- Even re-created the same Analysis by copying each Data Source connection, copy the Analysis by using a template (using the API) and publishing a new Dashboard
Again, dashboard works fine when I view it directly in QS, but embed fails. However, when I remove the DataSet that is using the Custom SQL it works.
Update 2
I narrowed it down to Parameters being added to Custom SQL. My results so far:
- removed the Parameter reference in SQL (same issue)
- removed parameters entirely from the Dataset, published a new Dashboard (ISSUE GONE)
- added parameters with different names (ISSUE is BACK)
Update 3
The issue only seems to happen when I add AND map a date parameter. I tried mapping a string parameter and the issue is gone. I tried adding a date parameter and even tried mapping to a new date parameter and the issue is back.
Update 4
I further narrowed it down to Date parameter when the Default value is set to Relative Date
Update 5 - Bug Found
This is indeed a bug in QuickSight, in order to reproduce the issue, please follow the steps below (Update 6: You need to be in us-east-2):
- Create a new DataSource (I have tried, SQL, S3, and CSV) with Date Parameter. IMPORTANT to have a date parameter.
- Create a Visual with the DataSource and map to above created date parameter
- IMPORTANT: Set the Default date to Relative Date: Yesterday/Today
- Publish the Dashboard
- Share Dashboard
- Copy Link
- Open a new tab, paste the link, BOOM, bug
Update 6 - Bug Found (more info.)
I tried the same thing on a different region (other than us-east-2) and everything works fine. So it only seems to be happening in us-east-2. Tried two different accounts. us-east-1 works fine, us-east-2 fails.
Update 7 - Bug Found (more info.)
I contacted Amazon and they acknowledged it’s a misconfiguration on us-east-2 and escalating the issue. It is ONLY happening when you use “Yesterday” as relative date and while mapped to a DataSet parameter. Awaiting reply…