API - describe_template/dashboard/analysis - duplicate FilterGroup IDs

These are the steps I took using python boto3:

  1. get the template definition using describe_template_definition()
  2. create the template using create_template() and passing the Definition key from the previous step

L.E.:

I’ve just tried the steps from the blogpost in this order (same error):

  1. aws quicksight describe-analysis-definition --aws-account-id $SOURCE_ACCOUNT_ID --template-id test-template > source.json
  2. aws quicksight create-analysis --generate-cli-skeleton > test.json
  3. Fill in the “AwsAccountId”, “TemplateId”, “Name” and copy the “Definition” from source.json
  4. aws quicksight create-analysis --cli-input-json file://test.json

Error:

An error occurred (InvalidParameterValueException) when calling the CreateTemplate operation: Duplicate Filter Groups found : [7e9f5961-3747-45c2-a010-aa9e1a792fed, 6feb2faa-40ce-47c2-801a-f04faf6bfae2, a984ed7d-1366-49dc-ab90-5e81dfaa720b, 7e37a0f6-f1ac-4d89-9a45-25faf7abdcd7, 628c1d0a-7d10-41a1-a377-19f667acc71c, 6b2ae905-660e-4d14-8ee7-35d8f081070c, 63f475b9-a039-4659-8f06-699f54c0ace7, 104e4da7-965b-46e7-96a2-37257c1bde3c, 0e6c588b-dbc7-4cb4-ad1e-ed035dbc4f38, fbac3062-d5a6-48f8-9646-1f9d4f385380, a8719904-e9b2-4e9e-a309-aaee2db07d21, 499497f9-cb90-4eef-b0fe-721c6901192e, 19dbbc8b-8ce6-4333-aa06-ec3e2ff93735, b7027212-720c-4be9-94a1-428a24ec9ad0, 78a33677-0829-4ea9-86ec-4ca1cf67a248, 1f5716e0-923c-4d54-95d6-96a30b686ca8, 79cb61bc-141f-4694-aa95-d99f78918402, 5645d164-ab68-4837-8f0a-275648947e89, 5a0885f3-f2bb-4aaa-b80a-ff078af47d99, 5a8766ae-468f-441a-98f9-f2146377159d, 40cf7414-fa24-468b-80e5-661c85d0c8f9, 47b19baa-6fee-4a72-8e3b-f9d8e5dff338, 549d7187-375d-444e-a115-1460c3f46bff, 1b00191f-df68-450b-8a11-97665d2ce9d7, e4dbcccc-21a3-4a68-a4b9-56bd2c927a56, b689bbc8-1d97-4541-81ca-ae72e24faf3a]
1 Like