-
Notifications
You must be signed in to change notification settings - Fork 16
QuickSight describeTemplateDefinition generates empty string value #802
Comments
Hi @seanlogan-wh , Thanks for the report.
Interesting. Did this start happening after updating to a newer version of the SDK? If not it might have been an issue in the API itself. This is an interesting issue because the error message clearly states that You can log the raw response to see if the SDK is no deserializing the values correctly by adding a middleware:
If you still see a Thanks again, |
HI Ran, I tested with a older version of the SDK (@aws-sdk/client-quicksight": "3.414.0) that we used during the timeframe when we did not see the issue and confirmed the issue now exists on that sdk. It appears to be coming from the server side. I will not post the entire response as its very large but the problem only appears to happen when SelectAllOptions is configured for the category filter inside of a CustomFilterConfiguration. Adding the following line to the script
Generates the following output in the console:
A different category filter does not have the same issue but it is not using a CustomFilterConfiguration but rather a FilterListConfiguration
Thanks |
Hi @seanlogan-wh, Thanks for sharing the logs. This certainly rules out any deserialization issue of the SDK and points to a potential bug in the Quicksight service itself. Like the error suggests, In order for the Quicksight team to investigate this I'll need you to provide us with the request ID of the failing request. This should be a field in your Once we have that reqeustID the service team will be able to investigate further. Thanks again, |
Hi Ran, Sorry I must have missed the email that said you responded. Here is the request id.
This is in the us-gov-west-1 region. Thank you! |
Re-routing to cross SDK repo I reached out to the service team ( Thanks, |
This should be fixed. Can you please check and let us know? Ran~ |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Hey Ran, |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Checkboxes for prior research
Describe the bug
My team started seeing a bug when we run the QuickSight client: describeTemplateDefinitionCommand. The issue occurs when the template contains a categoryFilter. Running the describeTemplateDefinition generates a json representation which we then use to promote the template to our higher environments. The definition is now generating an empty string for CategoryValue.
SDK version number
@aws-sdk/client-quicksight": "3.438.0"
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.8.0
Reproduction Steps
Create a template in QuickSight with a category filter and selectAllOptions set to FILTER_ALL_VALUES
Observed Behavior
Running the template definition now inserts an empty string for categoryValue in the case of the categoryFilter like so
The error we receive now when trying to promote the template is:
Previously running the generateTemplateDefinition in this case would not create an empty string field for CategoryValue.
Expected Behavior
The category filter has a SelectAllOptions configured so an empty string value should not be returned in the template definition. The response should look like this:
Possible Solution
No response
Additional Information/Context
We noticed this error happening within the past week. It did not happen before this and we can confirm 1 month ago it was not happening.
The text was updated successfully, but these errors were encountered: