Quicksight CDK Error

We are using CDK to deploy quicksight dashboard using template and occasionally we see the error “Resource of type ‘AWS::QuickSight::Dashboard’ with identifier ‘’ has a conflict. Reason: Failed to execute change due to concurrent modification. Try again later. (Service: QuickSight, Status Code: 409, Request ID: null).”

Wondering if someone found a way in resolving this error?

Can you provide a sample of your CDK code?

reportingDashboard[dashboard.cfnId] = new quicksight.CfnDashboard(
this,
dashboard.cfnId,
{
awsAccountId: config.accounts[props.stage],
dashboardId: dashboard.dashboardId,
sourceEntity: {
sourceTemplate: {
arn: arn:aws:quicksight:${region}:${ config.accounts[props.stage] }:template/${dashboard.templateId},
dataSetReferences: [
{
dataSetArn: arn:aws:quicksight:${region}:${ config.accounts[props.stage] }:dataset/${dashboard.dataSetId},
dataSetPlaceholder: dashboard.dataSetPlaceholder,
},
],
},
},

                // the properties below are optional
                dashboardPublishOptions: dashboard.dashboardPublishOptions,
                name: dashboard.name,
                permissions: dashboardPermission,
                themeArn: `arn:aws:quicksight:${region}:${config.accounts[props.stage]}:theme/${
                    dashboard.themeId
                }`,
                versionDescription: 'CDK managed version',
            },

Hi @Naveen_gadamsetty,

If you are still facing this issue, I would suggest that you log a ticket so the technical team can debug the issue.

If you have access to the AWS console of the AWS account where you’re using QuickSight, please see these instructions on how to raise a support case.

If you do not have access, you’d need to ask whoever manages your AWS account for you to raise a support ticket.

Thanks!

Hi Peter,
Thanks for the response, we have already logged a ticket with technical team but haven’t received the solution yet.

Hoping someone have already faced this issue and has a solution.