Questions tagged [limits]

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

73 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12
votes
0answers
201 views

Made 3500 SOQL Queries in one context. LIMITS HACK?

Steps to reproduce: Create Visualforce Email Template Create Visualforce component and add it into the email template Create Apex Controller for the component from pt.2 Do some SOQL queries there, ...
6
votes
0answers
660 views

How exactly does Salesforce calculate the number of API requests for the last 24 hours?

I've read plenty of Salesforce articles about the rolling 24-hour limit on API calls, but the information provided by Salesforce doesn't match up with what I've seen. For several days, I've had a ...
6
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-...
5
votes
0answers
355 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 ...
5
votes
0answers
1k views

Apex equivalent of REST api's nextRecordsUrl

When you run a query through the REST api and the number of records returned exceeds the default 2000, or the batch size set in the Sforce-Query-Options header, the query will return a nextRecordsUrl ...
5
votes
1answer
906 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 ...
5
votes
0answers
44 views

How to best cope with No more lookup filters in Managed Package context?

In my managed package (delivered to many customer orgs) I have active Lookup Filters on CustomObject__c. I planned to add two more but ran into the "Max. 5 Lookup Filters per Object" limitation. How ...
5
votes
0answers
2k views

Error: Request Entity Too Large: head - Any Suggestions?

I am creating my Data Model - Created one Custom Object with around 400 fields and 15-20 Validation Rules on it. Now, When I am trying to add more Validation Rules - It is giving me following error ...
4
votes
0answers
376 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 ...
4
votes
0answers
56 views

How to track limit usage over time

I am trying to develop a way that will allow our company to track our usage of various limited resources over time and then store those on a custom object. In short I am looking to track things like ...
4
votes
0answers
50 views

Data Storage value in UI differs from a value returned by limits service

I have found that Data Storage Values are different in the UI and in the /services/data/v37.0/limits response I know that storage values are calculated asynchronously but this is not the case as I'm ...
4
votes
0answers
105 views

25 million records - Multiple Objects and Growing

I need to load 25 million records in Salesforce for a new project. The questions that I have are It is a custom portal development, so is it good to store so much amount of data in Salesforce or we ...
3
votes
0answers
264 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
526 views

Overcome 50,000 number of article limit

My company has around 80,000 articles, but salesforce has the limit of 50,000 articles. Is there way to overcome this using salesforce only. these article have information about diffirent products ...
3
votes
0answers
113 views

How can we keep our tasks accessible to view and report on while not having them count against the data storage limit?

The org I am working with right now is using 210% of its allotted data storage. Most of the storage space is taken up by tasks (over 31M records). Is there a way to decrease the data usage while ...
3
votes
0answers
205 views

Canvas Limits with javascript

I am looking for more information about canvas limits. I found documentation where they said 5000 calls per user per 24 hours (This includes SDK calls to get context and signed request calls. Note ...
3
votes
0answers
324 views

Why does this Batch always and only abort in Production?

I have a long running asynchronous process that process millons of records in a CustomObject__c. To prevent other limits we have split this into 2 Batch classes that work on this table in parallel. So ...
2
votes
1answer
118 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
0answers
39 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 ...
2
votes
1answer
56 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 ...
2
votes
1answer
163 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 ...
2
votes
0answers
91 views

Limits class getDatabaseTime() and getLimitDatabaseTime() methods

I notice that the developer console autocomplete shows getDatabaseTime() and getLimitDatabaseTime() methods on the Limits class. Neither appears in the documentation and they don't show up at all in ...
2
votes
0answers
72 views

Custom Track Field history mechanism with reporting

I have the task to create a function of tracking field changes on objects which are associated with some relations(master-detail, lookup) and show that changes on report for all track history objects. ...
2
votes
0answers
66 views

Licences & Limits not available under Data.com Administration

Limits,Prospector Users,Prospector Preferences & Field Mapping are not available under Data.com administration in my prod org. I found these in all other sandboxes and my Dev org too. Anything ...
2
votes
0answers
917 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 ...
2
votes
1answer
42 views

SOQL Error = Activity Limits?

I've been told by a contractor that the code they've written (which is causing errors) is tied to a known Saleforce limit where a record may have a maximum of 5000 activities associated with it. And ...
2
votes
1answer
310 views

Apex heap size error - VF dowloading attachments

I have one VF page from where I am trying to download some attachments - The time I tried to download attachments which includes Attachments of size 4 MB+ size, it start showing me this error. ...
2
votes
1answer
206 views

Does a 304 response count toward api-usage count?

When making an API call with If-Modified-Since header - if the response returns with a 304-Not Modified will that use one of my call allocation? Also can the If-Modified-Since if supplied in a list ...
1
vote
0answers
40 views

SFDX problem: ERROR running force:limits:api:display: limits resource is not enabled

Whilst there have been previous queries along these lines (including this one) the answers don't appear to be valid as of the Spring '20 Lightning Platform. I am trying to allow the developers using ...
1
vote
0answers
151 views

Checking the limit of High-Volume Platform Events

We use platform events with Comet-D subscriber to synchronize two systems. Sometimes we reach daily limit of 50.000 published events (1.500.000/30 days) and sync process stops. At that point, we can't ...
1
vote
0answers
20 views

Does pre-flight CORS (OPTIONS method) count against the Developer Limits?

Does anybody know if OPTIONS method counts against the limits? I have to make REST queries from JS (browser) CORS environment which does extra Salesforce OPTIONS query. https://developer.salesforce....
1
vote
0answers
31 views

Need more than 50 Sharing Rules - now what?

The Requirement: Our organisation works in ~30 countries and has 6 groupings of workers ("Core Competencies") within each country. We have a number of Objects with OWD = Private and we need to ...
1
vote
1answer
156 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
101 views

“INVALID_LOGIN” Error message when upserting that only appears towards the end of each hour

So we've noticed that we're getting a lot of errors when trying to upsert data to SF, but always at the same time each hour: The error confuses me: "INVALID_LOGIN: Invalid username, password, ...
1
vote
0answers
68 views

Available push topic records

In Apex code, how can I fetch the available number of topics (PushTopic records) per Org so I don't hit its limit? I know there's a helper class for limits, but I don't think it mentions push topics.
1
vote
0answers
120 views

How to select the first record from multiple records from SOSL query

I am using SOSL query: List<List<Account>> acclist = [FIND :newstring IN ALL FIELDS RETURNING Account(id,Name,FirstName,LastName,Territory_vod__c,NPI_vod__c where RecordType.Name='...
1
vote
0answers
68 views

Complex custom VF page that could query and perform calculations from up to 1.5kk Cases

I was given a task: create a complex report based on VF page that queries up to 1.5kk cases and represents it as a table with several variables in it. Let's say I need to get something like this: The ...
1
vote
0answers
233 views

API Call exceeded in tSalesforceOutPut

I have a talend job with version 5.2. We imported the same job in talend version 6.2 to insert about 4000+ records. In talend version 6.2 when I run the job API limit is getting exceeded as for every ...
1
vote
0answers
112 views

Concurrent Batch Apex limit Managed Package

We are unclear about the Concurrent Batch Apex Limit of 5 and how to handle it. We have a Managed Packed and want to utilize the Database.Batchable interface. When using Database.Batchable interface ...
1
vote
0answers
1k views

limit exceeded error while deploying

I'm using Force.com Migration Tool to deploy Activity object's new fields to the target environment. My source has 100 fields in it's activity object (exact Activity custom field limit for the ...
1
vote
0answers
2k views

Salesforce - Limit_Exceeded - Error

I have piece of code for inserting case from back end - I checked the logs - and the error is as below System.DmlException: Insert failed. First exception on row 0; first error: LIMIT_EXCEEDED, ...
1
vote
0answers
93 views

Hitting system limits with my testClass

I have two classes. One exposed as a REST service. Lets call this class "thefeeder". This class calls another class which implements Queueable interface. Lets call this class "theQueue". I wrote a ...
1
vote
0answers
90 views

API call counts if use Salesforce Workbench Developerforce

I recently had issue with my org with exceeded request limit and I usually used developer console a lot but if I use workbench.developerforce will that still be count as API calls and account to my ...
1
vote
0answers
96 views

Tab limit exceed, how to check the most/less visited tabs and the actual tabs

This is slightly different question to the one asked on How do I see how many custom tabs have been created? and I think it could be handy. I have the same issue as him, I have more custom tabs that ...
1
vote
0answers
51 views

Custom Lookup on Activity Not Found in Apex

I have the beta version of the ability to create custom lookup fields on activities enabled. So when I create a look up field to Account I would expect to see 3 relationships to account: AccountID, ...
1
vote
0answers
73 views

Flexible API Limits—Question

Please can someone confirm the following about Flexible API limits: Provides the ability for me to queue up more than (5) batch jobs for processing. Only (5) jobs are executing at any one time and ...
1
vote
0answers
52 views

LimitAllocationPerApp Object in Salesforce

Does anyone know how to use this object for the following - App quotas for API limits enable you to reserve API capacity for mission-critical connected apps or set a ceiling for API usage of non-...
0
votes
0answers
15 views

How are api limits calculated for data export using data loader tool?

I want to export a million records into csvs using data loader, but as precautionary step I would like to know how the api limits would be calculated to export these million records?
0
votes
1answer
33 views

Daily Email Limits For Customer Emails

we currently send 2,500 emails to our customers (they all have accounts). These emails include invoices, appointments etc. These are operational emails on a daily basis. We are ramping up these emails ...
0
votes
0answers
97 views

TR01_APP caused an unexpected exception, contact your administrator: TR01_APP: System.LimitException: Apex CPU time limit exceeded

We have trigger named TR01_APP which fires when we update the record. Here we update one record from salesforce UI to update a new User by replacing old User and found the below error Message. "...