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

[Admin APIs] Pagination not working for listGroups API action #13722

Closed
2 tasks done
muvashi opened this issue Apr 17, 2024 · 2 comments
Closed
2 tasks done

[Admin APIs] Pagination not working for listGroups API action #13722

muvashi opened this issue Apr 17, 2024 · 2 comments
Labels
bug Something isn't working p2 pending-release Code has been merged but pending release

Comments

@muvashi
Copy link
Contributor

muvashi commented Apr 17, 2024

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

18.19.0

Amplify CLI Version

12.10.3

What operating system are you using?

Mac

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No

Describe the bug

listGroups API action present in Admin Actions API is not giving correct results when number of groups present in Cognito user pool is more than 25. In first call, only 25 groups are returned.

Expected behavior

25 groups should be returned along with value of NextToken to be used for subsequent calls.

Reproduction steps

Install admin actions API, create more than 25 groups in Cognito user pool and invoke listGroups API.

Project Identifier

No response

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@muvashi muvashi added the pending-triage Issue is pending triage label Apr 17, 2024
@sobolk sobolk added bug Something isn't working pending-release Code has been merged but pending release p2 labels Apr 18, 2024
@ykethan ykethan removed the pending-triage Issue is pending triage label Apr 18, 2024
@rtpascual
Copy link
Contributor

The fix for this was released in version 12.12.0

Copy link

github-actions bot commented May 9, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p2 pending-release Code has been merged but pending release
Projects
None yet
Development

No branches or pull requests

4 participants