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

QueryAllAsync doesn't return all records #418

Open
mathishuettl opened this issue Sep 4, 2024 · 1 comment
Open

QueryAllAsync doesn't return all records #418

mathishuettl opened this issue Sep 4, 2024 · 1 comment

Comments

@mathishuettl
Copy link

Hello,

I use the following code, but I only get 2,000 records instead of all records, what do I do wrong?

client = new ForceClient(instanceUrl, accessToken, apiVersion);
var contentVersion = await client.QueryAllAsync<ContentVersion>("MY QUERY");
@kvansaders
Copy link

@mathishuettl , check that the results are paged. You'll need to check the property NextRecordsUrl in the results, and call QueryContinuationAsync with the url.

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

No branches or pull requests

2 participants