Hi @DylanM
I am using an admin user
"Effect": "Allow",
"Action": "quicksight:*",
"Resource": "*"
I added the dashboard to the bundle job and it replicated it ok. I am able to open it and interact with it. This is despite the error message:
'Arn': 'arn:aws:quicksight:eu-west-1:xxxxxxxxxxxx:asset-bundle-export-job/back-1'
, 'CreatedTime': datetime.datetime(2025, 1, 17, 16, 31, 25, tzinfo=tzlocal())
, 'AssetBundleExportJobId': 'back-1', 'AwsAccountId': 'xxxxxxxxxxxx'
, 'ResourceArns': ['arn:aws:quicksight:eu-west-1:xxxxxxxxxxxx:analysis/38372262-5474-4e4b-a395-d6d6f606d1be','arn:aws:quicksight:eu-west-1:xxxxxxxxxxxx:dashboard/c7ba1ed9-f229-436e-b842-4261fac1671b'], 'IncludeAllDependencies': True, 'ExportFormat': 'QUICKSIGHT_JSON'
, 'RequestId': '91f5252c-e5b7-4fc7-bfaf-c5ff93f3f173'
, 'IncludePermissions': True
, 'IncludeTags': True
, 'ValidationStrategy': {'StrictModeForAllResources': False}
, 'Warnings': [
{'Arn': 'arn:aws:quicksight:eu-west-1:xxxxxxxxxxxx:dashboard/c7ba1ed9-f229-436e-b842-4261fac1671b'
, 'Message': 'This resource has errors which do not block export and import, please call DescribeDashboardDefinition to validate'}
, {'Arn': 'arn:aws:quicksight:eu-west-1:xxxxxxxxxxxx:analysis/38372262-5474-4e4b-a395-d6d6f606d1be'
, 'Message': 'This resource has errors which do not block export and import, please call DescribeAnalysisDefinition to validate'}]}
I check the dashboard definition as per message and there are no errors?
--SOURCE
'Status': 200,
'Dashboard': {'DashboardId': 'c7ba1ed9-f229-436e-b842-4261fac1671b',
'Arn': 'arn:aws:quicksight:eu-west-1:xxxxxxxxxxxx:dashboard/c7ba1ed9-f229-436e-b842-4261fac1671b',
'Name': 'xxxxxxxx',
'Version': {'CreatedTime': datetime.datetime(2025, 1, 15, 17, 54, 51, 639000, tzinfo=tzlocal()),
'Errors': [],
'VersionNumber': 1,
'Status': 'CREATION_SUCCESSFUL' ...
--TARGET
'Status': 200,
'Dashboard': {'DashboardId': 'c7ba1ed9-f229-436e-b842-4261fac1671b',
'Arn': 'arn:aws:quicksight:eu-central-1:xxxxxxxxxxxx:dashboard/c7ba1ed9-f229-436e-b842-4261fac1671b',
'Name': 'xxxxxxxx',
'Version': {'CreatedTime': datetime.datetime(2025, 1, 17, 16, 34, 18, 912000, tzinfo=tzlocal()),
'Errors': [],
'VersionNumber': 2,
'Status': 'CREATION_SUCCESSFUL',
With regard to the analysis I am getting the same issue. The analysis is copied but I can open it. Again, looking at the extract (analysis part) sheets are missing and a lot more.
I ran
DescribeAnalysisDefinition
And am getting tons of errors on source:
--SOURCE
'Status': 200,
'Analysis': {'AnalysisId': '38372262-5474-4e4b-a395-d6d6f606d1be',
'Arn': 'arn:aws:quicksight:eu-west-1:xxxxxxxxxxxx:analysis/38372262-5474-4e4b-a395-d6d6f606d1be',
'Name': 'xxxxxxxx',
'Status': 'UPDATE_FAILED',
'Errors': [
{'Type': 'COLUMN_TYPE_INCOMPATIBLE',
'Message': "Required type for column 'YEAR' is '[DECIMAL]'. Current type is 'INTEGER'",
'ViolatedEntities': [{'Path': 'data-set/56800d60-478e-43fd-903a-e3bf1db96095/column/YEAR'}]},
...
{'Type': 'COLUMN_TYPE_INCOMPATIBLE',
'Message': "Column to match in cascading control is of type 'INTEGER'. Required type is 'NUMBER",
'ViolatedEntities': [{'Path': 'sheet/86ea49ae-501d-4c02-9e8d-1743ba2d53b9/parameter-control/e3a33795-993c-42a4-abeb-f8f2c7c878e8'}]},
These are just examples the list is very long.
The target response is:
--TARGET
'Status': 200,
'Analysis': {'AnalysisId': '38372262-5474-4e4b-a395-d6d6f606d1be',
'Arn': 'arn:aws:quicksight:eu-central-1:xxxxxxxxxxxx:analysis/38372262-5474-4e4b-a395-d6d6f606d1be',
'Name': 'xxxxxxxx',
'Status': 'UPDATE_SUCCESSFUL',
'DataSetArns': [ 'ALL MY DATASETS ARE INCLUDED' ],
'CreatedTime': datetime.datetime(2025, 1, 14, 12, 23, 58, 67000, tzinfo=tzlocal()),
'LastUpdatedTime': datetime.datetime(2025, 1, 17, 16, 34, 5, 595000, tzinfo=tzlocal()),
'Sheets': []},
'RequestId': '241142dd-fdba-44f3-8413-aa917fd22c00'}
So this is basically taking me back to my first attempt using
describe-analysis-definition
where I had the same errors.
What to do now? I donât understand how the analysis is able to work perfectly fine allows further changes and publishing but throws an error in back end?
I am looking forward to hearing your thoughts.
Best, A.