Generating Embedding URL for New Q Topic Q&A Experience

I am trying to generate embed URL for the new Q Topic Generative Q&A experience by following instructions given here. However, I am getting the following error saying the experience configuration parameter value is incorrect.

Error: "Parameter validation failed:\nUnknown parameter in ExperienceConfiguration: \"GenerativeQnA\", must be one of: Dashboard, QuickSightConsole, QSearchBar, DashboardVisual"

This same script works well with the classic Q Topic Embedding. I have made sure I am using the Q topic which has been converted for the new Generative Q&A experience. But I am unable to figure out what’s the issue. Can someone please point me to the correct direction?

Hi @ckarkera,

Welcome to the QuickSight Community, it is great having you here.

I am not sure which one of the code snippets are you using, but it looks like to me that you might be using an older version of the libraries which did not have yet the GenerativeQnA option, which is a new adition.

If you are using boto3 for python you can try using

pip install boto3 --upgrade

or a similar command depending on how and where you are running this process.

Hope this helps!

Hi Andres

Thanks for your response. I am using a Python script for generating embed URL. Do you know which version of boto3 has GenerativeQnA option? Also, I am using a Python Lambda function to generate the URL. Do you know steps to upgrade a library in Lambda function?

About the version of boto3, I always have the libraries installed to the latest version when I realize I there is a newer one, which normally happens when I get one of these errors :slight_smile:

For Lambda, until the boto3 version is upgraded in the regions, you will need to create a lambda layer with the latest boto3 version.

You can follow the steps to create a layer for boto3 here

Hope this helps!

Thanks Andres, this was really helpful. It was able to resolve my issue.