C# AWS Quicksight嵌入式仪表板.NET Core 2.1

C# AWS Quicksight嵌入式仪表板.NET Core 2.1,c#,amazon-web-services,asp.net-core,quicksight-embedding,aws-quicksight,C#,Amazon Web Services,Asp.net Core,Quicksight Embedding,Aws Quicksight,我正试图在我们公司的网站上嵌入仪表盘。我正在使用.NETCore2.1和AWSSDK3.3.1.12 我们正在使用API网关在AWS Lambda上运行我们的站点 我已经按照这两个指南设置了权限,并设置了一个端点来获取嵌入仪表板URL的权限 var getDashboardUrl = await client.GetDashboardEmbedUrlAsync(new GetDashboardEmbedUrlRequest {

我正试图在我们公司的网站上嵌入仪表盘。我正在使用.NETCore2.1和AWSSDK3.3.1.12 我们正在使用API网关在AWS Lambda上运行我们的站点

我已经按照这两个指南设置了权限,并设置了一个端点来获取嵌入仪表板URL的权限

var getDashboardUrl = await client.GetDashboardEmbedUrlAsync(new GetDashboardEmbedUrlRequest
                {
                    AwsAccountId = awsAccountId,
                    IdentityType = EmbeddingIdentityType.QUICKSIGHT,
                    DashboardId = testDashboardId,
                    SessionLifetimeInMinutes = 100,
                    ResetDisabled = true,
                    UndoRedoDisabled = false,
                    Namespace = "default",
                    UserArn = $"arn:aws:quicksight:us-east-1:{awsAccountId}:user/default/{email}",
                    StatePersistenceEnabled = true
                });
我已成功获取嵌入仪表板URL

var getDashboardUrl = await client.GetDashboardEmbedUrlAsync(new GetDashboardEmbedUrlRequest
                {
                    AwsAccountId = awsAccountId,
                    IdentityType = EmbeddingIdentityType.QUICKSIGHT,
                    DashboardId = testDashboardId,
                    SessionLifetimeInMinutes = 100,
                    ResetDisabled = true,
                    UndoRedoDisabled = false,
                    Namespace = "default",
                    UserArn = $"arn:aws:quicksight:us-east-1:{awsAccountId}:user/default/{email}",
                    StatePersistenceEnabled = true
                });
并使用Quicksight javascript SDK嵌入仪表板,但我发现一个错误。它显示正在加载仪表板,但加载后会显示一条消息“我们无法显示此页面(未授权)

如果你需要更多信息,请告诉我