Metadata Cache generation fails for high-volume objects (e.g., HealthcareProvider) with an error indicating more than 100,000 distinct IDs were returned by the SOQL query.
Object Metadata Cache Configuration SOQL for high-volume objects (e.g., HealthcareProvider) does not include a WHERE clause or LIMIT, causing the query to exceed platform limits.
HealthcareProvider).WHERE clause or LIMIT.SELECT Id, Name FROM HealthcareProviderSELECT Id, Name FROM HealthcareProvider WHERE IsActive = true LIMIT 50000 4. Avoid loading objects without filters if record volume exceeds 50,000 rows.
005387212

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.