Aws Connected Device Framework Affected Module(s):
assetlibrary
I'm submitting a ...
Description:
The assetlibrary-client will send a query string parameter of "undefined" (the string) if you don't pass count or offset to the following functions (See here):
listGroupMemberships
listGroupMembersGroups
listGroupMembersDevices
- These should probably be updated in the client to not add the query string parameters if those values are undefined.
- In order to support backwards compatability, we need to default
count and offset to default values if undefined is passed in.
Current behavior:
The above functions throw errors, making the asset library call return 400
Expected behavior:
Values of undefined represent "default" values and the asset library calls return 200
Steps to reproduce:
Using the assetlibrary-client, call one of the above functions (using the lambda service) without specifying offset or count. See it return 400
Additional Information: