Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [limits]

Salesforce imposes maximum limits on selected features. The stated limits for the features may vary based on the Edition.

Filter by
Sorted by
Tagged with
2
votes
2answers
31 views

Heap Space Question

I have a system.debug() that outputs the result of division of the currently used heap space by an integer. It always shows 0. What could be the root cause of this?
1
vote
1answer
35 views

Can using the BULK API to perform SOQL queries save on total number of queries?

This is a pretty hypothetical question. So I apologize if this isn't sufficient information. Let's say I want to query for about 50000 accounts. And I have a very simple select statement that tries ...
0
votes
0answers
13 views

REST Endpoint vs sobjects Endpoint

I want to get my understanding right on API Limits. Currently to update an object from an external application we are hitting the below endpoint. /services/data/v44.0/sobjects/CustomObject__c/...
2
votes
2answers
23 views

Is there any limitation on number of custom tabs included in managed package?

Is there any limitation on number of custom tabs included in managed package? I know there is one for end users in subscriber orgs of how many custom tabs they can create, but I wonder if there is ...
2
votes
1answer
24 views

How does Salesforce audit the 10 custom objects limit for community licenses?

To be clear, I do understand that this is a CONTRACTUAL limitation and not a TECHNICAL limitation, but in the event that Salesforce does want to take a peek at our org, we want to make sure we're not ...
2
votes
2answers
91 views

How to use Limits.getCallouts() in a test class for a callout in a future method

After a bunch of research, it appears this is not possible, but I'm hoping someone here has found a way. I am using a before update trigger on Opp to call a class which contains a future method with ...
0
votes
0answers
37 views

API Usage Notifications - How to subscribe not via UI, e.g. using API, ant deployment etc

When spinning up new sandbox from production we need to subscribe our admin user to receive 'API Usage Notifications'. So in order not to do it manually every time, we are looking for a way of how to ...
4
votes
2answers
1k views

How can I check that parent has more than 1 child?

Now I'm trying to use this to check it: List<Tool__c> tools = [SELECT Id FROM Tool__c WHERE Date__c >= 2019-09-11T00:00:00.000Z]; for(Tool__c t : tools){ //And I'll get here 101 limits ...
0
votes
1answer
50 views

Calculating getDmlStatements

I am wondering how I can calculate DMLStatements. The test below adds unexpectly 3 instead of 1 -> after insert. Why? System.debug( Limits.getDmlStatements( ) );//0 Account ac = new Account( Name = '...
0
votes
1answer
59 views

Reaching Connect API's hourly request limit for this user and application?

I`ve got this type of error during the work in Lightning Community: You have reached the Connect API's hourly request limit for this user and application. Please try again later. My API Requests ...
0
votes
1answer
91 views

EXCEPTION_THROWN|[22]|System.CalloutException: Exceeded maximum time allotted for callout (120000 ms)

global class UpdateLeadInfo implements Database.Batchable,Database.AllowsCallouts { global Database.QueryLocator start(Database.BatchableContext BC) { String query = 'SELECT Id, ...
0
votes
0answers
78 views

SOQL For loop doesn't run in 200 size batch

Executing this block runs the first batch with a size of 200. But, the next batch returns the rest of the records. Integer i = 1; for(Account acc : [SELECT Id FROM Account]){ system.debug('rows ...
0
votes
1answer
38 views

Want to process over one millions records synchronously with aggregate functions

I want to process over one million records synchronously in apex controller and want to show records SUM, COUNT, MAX, AVG etc on visualforce page as per the requirement. e.g. suppose a custom object ...
5
votes
1answer
67 views

How is stack depth calculated?

We currently have a limit of Maximum Stack Depth of 1000. I assuming that we could call a method, that calls another method, and then another one 1000 times, so 999 "nested" methods should be fine. ...
1
vote
1answer
44 views

Trigger for loop and SOQL limits

I have a trigger. It inserts imported Gears with correct fields' values. One of valu I took from Detail__c - related to MoreInfo__c object. And Tool__c is related to MoreInfo__c too. Each MoreInfo__c ...
-1
votes
1answer
33 views

How to avoid limits in Trigger's SOQL?

I have a trigger. And if it's an import of many records I get an error becouse SOQL Limit is 101 records: trigger GearCreationTrigger on Tool__c (after insert) { List<Gear__c> toInsert = ...
2
votes
1answer
102 views

Best practice for CI - Create and Destroy Scratch Orgs?

I am very confused on a concept with SFDX, i have been seeing many SFDC videos and presentations like this SFDX Presentation where salesforce has been telling the best practise for CI/CD is to create ...
1
vote
1answer
204 views

Limits on Apex invocations from LWC

Is there a limit on how many times LWC can call an @AuraEnabled action and Apex controller? (Provided we do not get into the long-running Apex issues).
2
votes
2answers
57 views

Workflow time trigger Limitation

I got the next message from SF : Hourly limit exceeded for processing workflow time triggers. I read that the limitation for Enterprise Org is 1000 per hour. ( https://help.salesforce.com/...
0
votes
1answer
34 views

About “email alerts” wording in Salesforce Help Doc

I am a bit confused about this wording on the help doc on "Daily Allocations for Email Alerts" (https://help.salesforce.com/articleView?id=workflow_limits_email.htm&type=5): Each org can send ...
0
votes
1answer
47 views

After adding 500 ContentNote objects to one Account by one user, nobody can add any more ContentNote records

We are developing a ContentNote integration piece. As a System Administrator of a Partner Developer org (note: NOT the usual Dev org, although i don't know if this matters, the PD has higher limits ...
0
votes
0answers
12 views

View the history of SingleEmailMessage usage

I know how to see how many SingleEmailMessages we've sent in the current GMT day, but I need to know if it's possible to see a history of emails further back than that. For example, for the past week, ...
8
votes
1answer
173 views

Do SFDX commands count toward limits?

I am looking into utilizing some SFDX commands to possibly use for some data integrations and/or one-time loads. Do these commands count toward the same API call limits as API calls and Bulk API ...
4
votes
1answer
38 views

How Composite subrequests count toward ConnectAPI limits

I´m using Salesforce batch composite API { "batchRequests" : [ { "method" : "PATCH", "url" : "v34.0/sobjects/account/001D000000K0fXOIAZ", "richInput" : {"Name" : "NewName"} },{ ...
3
votes
1answer
47 views

Limit API request at a user level

I wondering if it's possible to control the 24hr API request limit at the user level. For example, if I have a 100k 24hr limit, I may want to prevent a specific integration user from consuming more ...
1
vote
1answer
72 views

Event Notification Service Webhook vs. API limit?

https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/createCallback.htm --> As far as I understood, the Notification Service triggers POST requests to the configured ...
3
votes
2answers
862 views

403::Organization total events daily limit exceeded

I'm trying to connect a cometd client to stream platform events, however, I'm getting an error that says I've exceeded my "total events daily limit". {"clientId":"1xj1529zd8mx3ol01sl8hlzm5ewwj","...
0
votes
2answers
20 views

Specific numbers for report performance issues

According to the documentation, there are a few items that can make report performance worse. These include: Querying too many objects Dealing with intricate lookups Report has too many fields Does ...
0
votes
2answers
60 views

Why are there such high levels of API calls from Marketing Cloud to Salesforce

The user that integrates Marketing Cloud to Salesforce has been using 20000 API calls per day for a long time. I'm not happy about that but today it used 39,000+ API calls in a morning. This has ...
3
votes
1answer
271 views

What are “LOB fields” in an asset? Querying all the fields on the asset causes a limit exception, why?

First of all: what are LOB fields? Secondly: I have a complex apex automated process in which I need to make an exact copy of an Asset object (all of its fields). To do this I created a method that ...
0
votes
1answer
120 views

How many concurrent login allowed for Salesforce Community users? [duplicate]

We got error while doing performance test against the Community Portal for login multiple users concurrently. <h1>Unable to Process Request</h1> <h2>Concurrent requests limit ...
5
votes
1answer
65 views

Does daily package version limit count failed attempts?

Do failed attempts to create unlocked packages count against an org's daily package version creation limit?
3
votes
2answers
1k views

Concurrent requests limit exceeded - how to find the problematic code

I am a developer for a Salesforce org that serves as a community portal for thousands of users. We have been consulting with a large team of developers for years and everything we have is custom coded....
0
votes
0answers
204 views

Understanding who is consuming Platform Events, and how much, is it possible?

When a platform event is fired, it is consumed from whichever client is subscribed to its specific channel. If a single event is fired and consumed by 5 consumers, it will count 5 against the Daily ...
0
votes
0answers
23 views

Reduce Formula Size (Case)

I want to create a formula (text) that combines (parts) of two fields in some scenarios. Example: If the 'BillingPostalCode__c' starts with 90 and the first 9 characters of the '...
3
votes
1answer
83 views

Which scheduled jobs count towards the max concurrent scheduled jobs limit?

Per the docs we can only have 100 scheduled apex jobs at any one time in most orgs (5 in dev orgs). Which jobs count towards those limits? Would the following query return the right number? SELECT ...
0
votes
1answer
286 views

Too many SOQL queries: 101 and Triggers

SHORT VERSION: I'm getting a "Too many SOQL queries: 101" error on my production environment when updating some Leads through an external application. The theory is that it's due to multiple nested ...
0
votes
1answer
25 views

Email sent from Lead is counting under daily limit

I was going through the salesforce document Daily Allocations for Email Alerts It is mentioned that There’s no limit on sending single emails to contacts, leads, person accounts, and users in your org ...
2
votes
2answers
56 views

See Event Logs of other users

We're currently blasting through our SFDC daily API limits and I wanted to see who is causing it. As per the trailhead I went into the Event Log File viewer they offer (salesforce-elf.herokuapp.com) ...
0
votes
2answers
91 views

Searching contacts by Rest API

In my app(outside Salesforce) I want to show search results from Salesforce contacts. The search is based on contact name. While I can do it by using SOQL query using Rest API, I'm worried about ...
2
votes
1answer
217 views

Custom Labels - Working around their limits

My team is currently undergoing a discussion related to adding support for more languages using salesforce's custom labels. I've used custom labels before but am a little concerned about the limits. ...
1
vote
1answer
134 views

Custom Relationship Field Limit not reflecting deletes

If I add a custom field to an object that is a Lookup() in the Fields & Relationships section of an object, the Object Limits page for the object shows an immediate increase counting against the ...
2
votes
0answers
26 views

Can you set a quota of API calls for a User/Site?

We are using a public Site to receive webhooks from a number of different system. Some of which are payments systems, one of which is for mass email. On the email system, it's useful to receive ...
0
votes
1answer
400 views

Limits of Batch, REST API: how to get 2000+ records, not just 250?

This code works, but I can get only 250 records even if on other side 2000+ records. I think my batch is incorrect. How can I make a few callouts per 1 time to get 2000+ records from service side? ...
2
votes
1answer
221 views

How to make HttpGet service pagination with a limit of a million or more?

Offset can take only 2000 records, but I need more. How can I send to the callout side 1 mln or more records with pagination and step of 100-200 records per 1 page? I mean when callout request for 100 ...
0
votes
1answer
20 views

community view report via a VF page

Could a report exposed to a SF community (Not Plus), via a VF page? as below; <apex:page id="ccs" title="Customer Case Summary" cache="false" showHeader="false" sidebar="false" ...
1
vote
1answer
1k views

First error: Query of LOB fields caused heap usage to exceed limit

I simply try to execute a batch job and execute a SOQL inside the execute() method as below with having, execute() method has the line List results = (List)database.query(query); , and start() ...
1
vote
1answer
785 views

/services/data/v43.0/sobjects/ContentVersion rest api Limitation

I'm using the standard rest API that salesforce suggest for upload files : /services/data/v43.0/sobjects/ContentVersion - and converting the file to base64 blob on the VersionData param. I want to ...
0
votes
1answer
129 views

Chaining Continuations - would each continuation be executed in separate transaction/limit scope?

When we are chaining Continuation objects in Apex controller, would it be right to assume that each continuation (and apex post processing method) is executed in separate transaction scope, e.g. I ...
0
votes
1answer
95 views

Too many SOQL queries 101 with 5000 records [closed]

I have a trigger which I believe is correctly bulkified, but when I try and insert 5000 records, in a test, it comes up with 'Too many SOQL queries'. What I think is happening is that the trigger is ...