Questions tagged [limits]

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

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
538 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 ...
5
votes
0answers
726 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
598 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
42 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
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
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
52 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'...
4
votes
0answers
101 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
229 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 ...
3
votes
0answers
165 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
245 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 ...
3
votes
0answers
431 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
196 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
319 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
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 ...
2
votes
1answer
51 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
113 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
82 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
67 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
64 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
851 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
40 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
286 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
198 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 ...
2
votes
1answer
475 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 ...
1
vote
1answer
61 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
70 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
58 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
110 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
218 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
99 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
978 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
77 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
87 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
92 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
50 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
72 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
50 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
35 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 ...
0
votes
1answer
78 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
77 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
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, ...
0
votes
0answers
191 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 '...
0
votes
1answer
496 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 ...
0
votes
0answers
128 views

Getting Apex Limits in Customer Org With Managed Package

This is related to Invocable Apex in Managed Package Not Returning Values; however I am trying to find a workaround. We have a managed packaged Apex class that uses the Salesforce Limits class to exit ...