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
0
votes
1answer
39 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
21 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 ...
16
votes
5answers
19k views

SINGLE_EMAIL_LIMIT_EXCEEDED. What does it mean?

What does the exception mean? It does not seem to be related to the Number of email invocations limit because of the following line at the end of the log: Number of Email Invocations: 5 out of 10 I ...
0
votes
1answer
74 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, ...
5
votes
2answers
1k views

How to Reproduce the Concurrent Requests Limit?

I'm trying to write code that will reproduce the Concurrent Requests limit (10 requests longer than 5 seconds, described here: https://developer.salesforce.com/blogs/engineering/2013/05/force-com-...
0
votes
0answers
71 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 ...
4
votes
3answers
3k views

How to monitor Platform Events consumption?

According to SU17 release notes there are the following Daily/Hourly limits for Platform events: Maximum number of events published per hour Maximum number of events delivered to CometD clients ...
0
votes
1answer
34 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
53 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. ...
2
votes
2answers
7k views

Governor limits : Database.getQueryLocator

Why the Salesforce Governor Limits cheatsheet show the following? Total number of records retrieved by Database.getQueryLocator ---> 10000 What does this mean? The limits are reset for every ...
1
vote
1answer
42 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 ...
3
votes
2answers
5k views

ContentPublication limit exceeded

Is there a limit on the content publication ? Is this the same as content version? The docs say "The maximum number of versions that can be published in a 24-hour period is 5,000. " Does this ...
0
votes
1answer
29 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
2answers
51 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/...
2
votes
1answer
50 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
79 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).
4
votes
1answer
157 views

Salesforce to Salesforce Record Transfer Limits?

Does anyone know of any limits on the number of records (daily) transfered/updated between orgs? My google foo has failed me and I do not see anything specifically related to this. While I would love ...
0
votes
1answer
33 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
24 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
1answer
460 views

Limit of dialogs in Einstein bot

Is there a limit on number of dialogs in Einstein Bot? When I added more then 100, next one don't show up in dialog search, but I believe they are there, because I can not create new one with same ...
7
votes
1answer
3k views

What is the longest URI that Salesforce will accept through the REST API?

The Background I was handed a task to populate a developer sandbox with a limited set of data from our production org to allow another dev team to be able to test integration with a third party (with ...
2
votes
1answer
465 views

bulk and the MilestoneTriggerTimeCalculator interface (Too many SOQL queries)

New from Spring '14 is the MilestoneTriggerTimeCalculator interface. (https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_interface_support_milestonetriggertimecalculator.htm) We use ...
0
votes
0answers
11 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, ...
5
votes
1answer
570 views

How to save large files in Salesforce with synchronous Apex?

I've created a Visualforce page that allows users to drag and drop files and have them uploaded to Salesforce and then displayed in a list immediately. To do so, my VF page sends the file in chunks ...
8
votes
1answer
150 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
35 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
43 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 ...
2
votes
2answers
532 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","...
1
vote
1answer
50 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 ...
1
vote
0answers
60 views

how to avoid system.limitexception too many soql queries 101 in apex classes [closed]

when I am trying to deploy the component then I was getting this error like system.limitexception too many soql queries 101 how to avoid this? ====================================== /** * @...
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
54 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
187 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 ...
1
vote
2answers
35 views

Limit on #of Cases assigned to a User

Is there any limit on the number of cases that can be assigned to a User.
5
votes
2answers
3k views

Apex Email Limits Clarification

I need to send a (potentially large) number of emails to (community) users via code using an Email Template, with a custom object as the whatId. Because my whatId is a custom object, I am using ...
7
votes
1answer
110 views

Does Salesforce-to-Salesforce use API calls?

Easy question. I have searched quite a bit, but could not find it: does the Salesforce-to-Salesforce functionality use API calls?
0
votes
1answer
63 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
52 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?
2
votes
1answer
391 views

Chatter REST API Limit

Is there any way to increase the Chatter REST API limit of one poll per minute is a hard limit and cannot be increased? We built a connected app using REST from a 3rd party portal application and ...
3
votes
2answers
668 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....
2
votes
0answers
843 views

Account Field History Exceeding limit

Did something change regarding standard object field history tracking? I just refreshed my sandbox, I'm tracking less than 20 fields on Account (currently 17). When I try to deploy account object ...
14
votes
3answers
2k views

What qualifies as running a test synchronously?

This Limits Documentation mentions: Total number of test classes that can be queued per a 24-hour period (5) - The greater of 500 or 10 multiplied by the number of test classes in the organization ...
0
votes
1answer
109 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 ...
2
votes
1answer
105 views

SDK SmartStore Soup Limit

For a proof of concept using Salesforce Mobile SDK, one major requirement is to be load 50k records from Salesforce and store locally offline. After understanding the SmartStore function and ...
0
votes
3answers
875 views

Collection size 33,046 exceeds maximum size of 1,000 error in vf page

I have an issue here, where i need to populate geography__c list on vf page. I am getting the below error . I can't use Limit 1000 as i need to display all the records in vf page. Is there any ...
0
votes
0answers
168 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
22 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
70 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
229 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
22 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 ...