jsforce / jsforce/jsforce

metadata.list method returns 100001 records only

Open
#1,781 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
551
Avg merge
9h 2m
Merged PRs (30d)
3

Description

I'm working with an org which has 118000 groups but await conn.metadata.list([{type: 'Group'}]) returns only 100001. Is there a way to retrieve all the groups via this api?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the conn.metadata.list([{type: 'Group'}]) entry point and trace how the Salesforce metadata response is handled. Check the API's limits and any existing pagination support; this is done when the library's supported way to retrieve all 118,000 groups is established and covered by an appropriate test or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.