Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[putItem] unexpected error: TypeError: Cannot read properties of undefined (reading 'S') #172

Closed
KadalurSupreeth opened this issue Oct 26, 2023 · 5 comments
Labels
bug triaged Has been triaged by solutions team

Comments

@KadalurSupreeth
Copy link

upgraded from version 6.2.2 to recent one 6.2.3

I see below error in the hub report lambda function while inserting usage data into Hub dynamoDB table. This is happening only for source coming from Trust Advisor. It is able to insert values coming from source service quotas.

Error:
[WARN] [putItem] unexpected error: TypeError: Cannot read properties of undefined (reading 'S')

Please verify at the earliest. Thanks

@abewub
Copy link
Member

abewub commented Oct 27, 2023

Thanks for reporting, looking into it.

@abewub abewub added the triaged Has been triaged by solutions team label Oct 27, 2023
@abewub
Copy link
Member

abewub commented Oct 27, 2023

We will include the fix in the next release.

@KadalurSupreeth
Copy link
Author

KadalurSupreeth commented Oct 27, 2023

@abe-aws - We had to upgrade from version 6.2.2 to the recent one 6.2.3 because there was a vulnerability issue in 6.2.2 as mentioned in the change logs in this repo.

Is there a work around in the CloudFormation templates which I can change as a work around to fix this problem? Need this ASAP. We are almost ready to implement this solution and do not want this to be a blocker at this point. Thank you

@abewub
Copy link
Member

abewub commented Oct 27, 2023

6.2.3 is to address this. That is a dev dependency used only when you run tests (npm test). So you can deploy / continue using 6.2.2 without any security implications.

@abewub
Copy link
Member

abewub commented Nov 13, 2023

Fixed in release v6.2.4

@abewub abewub closed this as completed Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triaged Has been triaged by solutions team
Projects
None yet
Development

No branches or pull requests

2 participants