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

Paginate users before making the request to avoid 414 #507

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

xjunior
Copy link
Contributor

@xjunior xjunior commented Feb 4, 2025

Making a single request with 1000 user ids, for example, is a large URL repeated many times in validation, which lead to 414 errors. Paginating the users and breaking this request down into many makes more sense because the number of requests won't change, and the URL won't be as big.

@xjunior xjunior requested a review from a team February 4, 2025 21:33
gregblake
gregblake previously approved these changes Feb 4, 2025
@xjunior xjunior marked this pull request as ready for review February 6, 2025 22:06
@powerhome-portal
Copy link

A change to documentation files was detected in your PR. Please visit this link to preview changes: https://portal-staging.powerapp.cloud/docs?filters[kind]=all&filters[user]=all&filters[namespaceFilter]=fix-audiences-fetching-multiple-users

@xjunior xjunior merged commit 8699837 into main Feb 7, 2025
13 checks passed
@xjunior xjunior deleted the fix-audiences-fetching-multiple-users branch February 7, 2025 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants