Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [limits]

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

0
votes
1answer
61 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
19 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 ...
1
vote
0answers
29 views

Will connecting PowerBI to Salesforce hit the SOQL query limits? [closed]

Will connecting PowerBI to Salesforce hit the SOQL query limits? I don't find this in the documentation. EDIT2: If I connect to approximately 6 of 2000 objects in my enterprise salesforce ...
2
votes
2answers
21 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
34 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
18 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
29 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
24 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
45 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
50 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
18 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
289 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
164 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
35 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
54 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 ...
1
vote
1answer
44 views

Why did some batches execute successfully despite the Report REST API Limit?

BACKGROUND We have a legacy batch process that selects all contacts and runs a report for each account. Below is a simplified example of that class (all the necessary details are preserved): ...
0
votes
2answers
163 views

Query of LOB fields caused heap usage to exceed limit

I understand that this has been asked many times before. But I haven't been able to find a conclusive answer or guide to solve the issue. When we add a new product to an opportunity we get the ...
0
votes
1answer
31 views

How many records could we extract from SOQl query on User object?

We are trying to run a SOQl query to extract the profileName and userRoleName corresponding to id's in the given list SELECT Id,profile.name,userrole.name FROM User WHERE Id in ('1','2','3','4'...
0
votes
0answers
6 views

implementing large community - the 5k role limit

We are thinking of implementing a community. We want to give our users access to content and events which implies we have to buy community plus user licences. Community plus users are associated with ...
0
votes
0answers
23 views

Is there a maximum number of Files for a single library?

I've checked here and its not clear. it has 30,000,00 files (i'm assuming global) but not any mention on a per library basis.
1
vote
2answers
315 views

How to process more than 25 batches of 2000 records?

I am trying to chunk the results of a query of mine, but I am noticing the batches stop after 50,000 records (25 batches of 2000 records). I read iterable has a limit of 50,000 but I thought that was ...
0
votes
2answers
59 views

9.6MB of space is used out of 10MB of Custom Settings data size.

We are facing this problem in one of our ORG. 9.6MB of space is used out of 10MB of custom settings data size. Can we request Salesforce Support Team to increase the limit? I came across other ...
0
votes
0answers
34 views

Error: “Session expired or invalid”,“errorCode”:“INVALID_SESSION_ID” When using UserInfo.getSessionId() [duplicate]

Below is my code to retrieve my org's limits. However, access token refreshes every now and then. How can I get my own org's limits programmatically without using HttpRequest to avoid access token? ...
0
votes
1answer
201 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 ...
2
votes
1answer
37 views

Managed Package Extension to hold object translations

Our managed package finally has reached 10,000 files limit and now we cannot put it together anymore - Limit Exceeded exception (confirmed by SF support that we really cannot put more files and no way ...
1
vote
2answers
90 views

Too many query rows: 50001 in export csv

I need to create a axpex class that create and send a csv report. In a @future static method I have this query: List<Activity__c> activityList = [ SELECT fields.... , (SELECT Id, fields... ...
0
votes
2answers
209 views

Clear platform event limits?

Where can I find clear docs on the API limits for sending platform events IN to sfdc? The platform events basics trailhead notes that: provides allocations for how many events you can define in ...
0
votes
0answers
17 views

Find all open cases that have exceed it's SLA time to close

I have a situation where as the title suggest needs to find all open cases that have exceed it's SLA time to close on a report. So I have around 200 items that has a pre-defined SLA time. My problem ...
1
vote
1answer
20 views

Is there a rest api that check the api calls limit without consuming an api call?

I wanted to check my daily api requests, with /services/data/v37.0/limits/. It consumes an API call. How do I check one without consuming an API call?
0
votes
1answer
27 views

passing an instance of the class Limits

There is a class Limits that allows to keep track of the governor limits. I need to capture 6 of the governor details of this class, that is why I need to pass an instance of the class Limits to a ...
4
votes
2answers
688 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 ...
3
votes
0answers
119 views

Limits information not appearing in debug log

I need to debug a governor limit issue in a particular procedure but I'm not getting the LIMIT_USAGE_FOR_NS section in the debug log even when I set Profiling to Finest. I expect to see this in the ...
1
vote
1answer
27 views

List of all objects with the current number of used custom fields

You can view custom object field limits by going on: App > Customize > Object > Limits Is there a way of getting a list of all objects with the current number of used custom fields? EDIT: I know ...
2
votes
3answers
194 views

Salesforce org monitoring and limits exceeding alerts

I would like to understand better the possible ways to monitor proactivately a Salesforce org. Below a list of the current alerts that are known to me: API Usage Notifications (standard) Trust ...
1
vote
2answers
47 views

Retrieve the Salesforce Org-wide API Consumption Percentage?

I have been googling this for a while, the closest I have come to getting an answer on this is the API Consumption report here However, I am looking to retrieve the current SFDC Org-wide API ...
1
vote
3answers
66 views

Salesforce API call limit

We are getting this error while updating a Custom object we created in Salesforce. REQUEST_LIMIT_EXCEEDED We have searched this error and it means we have reached Salesforce daily API limit. We ...
1
vote
1answer
138 views

salesforce api calls for connected app

I've a connected app in salesforce and I'm using bulk api for downloading xml files but for updates I'm using getupdate rest call, salesforce documentation says that there's a limit of api calls per ...
0
votes
1answer
122 views

What is the limitation on size of list attribute in Lightning component?

We have created a lightning component where we are displaying transaction records. We have used lightning datatable and also implemented pagination. Data that is to be displayed is retrieved by API ...
1
vote
1answer
52 views

Cross-Object Formula Fields and Performance

I have been unable to find official documentation about this. But I wonder, is there a documented "upper bound" count at which platform performance degradation occurs due to a proliferation of cross-...
0
votes
0answers
18 views

Managed package is getting too big: How to move translations outside

After year+ of intensive development, we've come to a situation when our codebase contains more than 10,000 files (it's a limit for single deployment unit). Analyzing the content of our managed ...
1
vote
1answer
63 views

How to use this getLimitQueryLocatorRows() before actual query

I want to make use of getLimitQueryLocatorRows() before i use the below code and throw exception or custom error message accordingly. Is this possible? SetCon = new ApexPages.StandardSetController(...
1
vote
0answers
53 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
1answer
53 views

Query request size

I have a problem with data extraction with informatica from Salesforce. Sometimes it happens that the record extraction is limited to 2000 even if Query request size is set to higher values. This ...
0
votes
1answer
103 views

Size Limit in response. Visualforce pages

We have created an app that includes a Visualforce page with an Angular dev inside. We use Javascript Remoting / RemoteActions to connect the Javascript code to the Salesforce Server. We have faced ...
0
votes
0answers
65 views

Salesforce Connect custom adapter limits

For Salesforce Connect, I see OData callout limits here: https://help.salesforce.com/articleView?id=platform_connect_considerations_query_rate_limits.htm&type=5 If I'm using a custom adapter for ...
0
votes
1answer
69 views

Would a sendable DE in SFMC created from Transactions (which would mean possible dup. emails) create duplicate Contacts in SFMC?

I have been notified by SFMC that my company is over our Contact limit by >150% and I am having trouble pinpointing the issue. Our All Sub list is under the limit, and the 2 DEs that we have set up ...
0
votes
1answer
379 views

what is the daily limit of time based workflow email alert?

I have to send an reminder email after 2 week to user when the status is updated on record. I am thinking to use time based workflow. How many email will get send in 1 day? What is the limit of email ...
2
votes
1answer
86 views

Is there any way to see who is connected to the Streaming API?

In reviewing the Limits API, I see that we have 2000 Durable Streaming clients available via the DurableStreamingApiConcurrentClients field. I show that there are currently (and almost always) > 700 ...
3
votes
0answers
185 views

Another STRING_TOO_LONG problem, HTML text into a rich text area

I have a custom object with a rich text field, max size 131,072. Using the force.com REST API, attempting to add an entry with text size larger than about 63,700 characters (I have not pinpointed the ...
0
votes
2answers
88 views

How to apply batch apex on scheduled class

I have the following schedulerd class wich given me an error: Too many query rows: 50001. Class: global class RenewalValueOpp implements Schedulable{ global void execute(SchedulableContext SC) {...