Skip to main content

I have conditions set on two different models and when I inspect the element I get SOLQL Limits 21 and SOQL Limits 301. Does anyone know what it means?

Example:

  1. soql: “SELECT OpportunityId,Opportunity.Name,Name,TeamMemberRole,OpportunityAccessLevel,UserId,User.Name,User.SmallPhotoUrl,Opportunity.OwnerId,Opportunity.Owner.Name,Opportunity.Owner.Id,User.Id,Id FROM OpportunityTeamMember LIMIT 21”

Check your model definition.  I suspect you are limiting it to 20 records per query.


Reply