You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: multiValueQueryStringParameters interferes with queryStringParameters #7993
When multiValueQueryStringParameters is present and non-empty (truthy), we return only that dict and completely ignore queryStringParameters. In your case, ids lives in multiValueQueryStringParameters and status lives in queryStringParameters - so status gets dropped.
The same pattern exists in ALBEvent.
Instead of an or that picks one or the other, we'll merge both: use multiValueQueryStringParameters as the base and fill in any missing keys from queryStringParameters. This way no parameter gets lost regardless of which field it appears in.
I'll include this fix in the next release. Thanks for the detailed reproduction - it made this straightforward to track down.
This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Activity
aalvrz commentedon Feb 11, 2026
I don't understand if only one should be used and if so, which one?
leandrodamascena commentedon Apr 6, 2026
Hey @aalvrz, first of all - I'm really sorry for the delay on this one.
I've investigated the root cause and here's what's happening is because in
APIGatewayProxyEvent.resolved_query_string_parameters, we have:When
multiValueQueryStringParametersis present and non-empty (truthy), we return only that dict and completely ignorequeryStringParameters. In your case,idslives inmultiValueQueryStringParametersandstatuslives inqueryStringParameters- sostatusgets dropped.The same pattern exists in
ALBEvent.Instead of an
orthat picks one or the other, we'll merge both: usemultiValueQueryStringParametersas the base and fill in any missing keys fromqueryStringParameters. This way no parameter gets lost regardless of which field it appears in.I'll include this fix in the next release. Thanks for the detailed reproduction - it made this straightforward to track down.
aalvrz commentedon Apr 6, 2026
Thanks @leandrodamascena !
powertools-for-aws-oss-automation commentedon Apr 14, 2026
Warning
This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
github-actions commentedon Apr 14, 2026
This is now released under 3.28.0 version!