Questions tagged [error-messages]
A reference to text or codes that's displayed on a screen or written to a log from numerous possible sources including: system debug logs, page messages, exception handlers, API's such as REST, etc., that will often contain diagnostic information helpful in troubleshooting the actual source of an issue that caused an operation to fail.
497
questions
0
votes
1
answer
26
views
Created trigger on Campaign Member, error when adding lead to campaign
I created a trigger to add the recent campaign to the contact record. An error now occurs when adding a lead to a record.
Error when adding lead to campaign: UpdateContact: execution of BeforeInsert ...
0
votes
0
answers
31
views
How to save the returned data from a Flexcard Action
I want to save the response from an Integration Procedure that is triggered from a button on a Flexcard to the Flexcard's JSON:
The one button will throw an error (not passing a recordId to the IP)
...
0
votes
0
answers
55
views
"Missing message activity" warning
I have created a new message custom activity that works fine
The config.json has a "category":"message" option and the package is registered as "message", but still upon ...
0
votes
1
answer
64
views
Duplicate Username error on upsert/insert action
Let me explain from the start.
I gave users data to insert in UAT org (records contain an external ID). I asked them to insert data and there were 3000+ records. He mistakenly closed the window and ...
0
votes
1
answer
55
views
Flow Error ID: 64105330-17260 (738334238) organization has exceeded the maximum limit for this feature
I have a record-triggered flow (created or updated). The flow works fine when triggered by a single record, but gives the following error while multiple records are created/updated.
Salesforce Output ...
0
votes
0
answers
24
views
Throw DmlException and getDmlMessage [duplicate]
I need to throw DMLException and get message via getDmlMessage. But it gives me error for any message of DMLException on getDmlMessage. And I can't find any code about constructor parameters. Ide ...
0
votes
0
answers
163
views
New Custom Error element in Record Triggered Flows Does Not Stop Processing and Does Not Show Error Message
[Resubmitted with supporting documentation]
I am utilizing the new (Winter '24) "Custom Error" element that is now available in Record Triggered Flows.
While debugging the flow (changing the ...
1
vote
2
answers
330
views
Upsert Product2 by ExternalId field fails with a strange error
I have read the documentation about ExternalId field on Product2 standard object
ExternalId
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The unique identifier ...
1
vote
1
answer
143
views
Error: cpqCartSummaryContainer RangeError: Maximum call stack size exceeded
as we're on an older version of Vlocity we had to do a manual upgrade from Spring 23 to Winter 24. I made all the deployment steps based on Salesforce Help but am now running into an error for which I ...
0
votes
2
answers
177
views
Validation Rule error message always showing on top, not under the field
I have a validation rule and it should display the error message
under a checkbox field 'Consent received to add as a Contact ?' but it is always displaying the error on the header of the page.
I have ...
0
votes
1
answer
117
views
createRecord failing - need help logging error
Our org inherited a complex screen flow that uses an LWC to create and update contact records. The flow works just fine when run as sysadmin, but does not work when run as a standard user. I confirmed ...
0
votes
2
answers
1k
views
How to retrieve metadata from record triggered flow with custom error message?
Currently I trying to retrieve metadata form Record-Triggered Flow with new custom error message component
But when I deploy to another sandbox org, I received this message
When I check the xml, I ...
0
votes
1
answer
123
views
Distributed Marketing Email Template Not Visible in Quick Send menu (DM Admin CRM)
I am trying to enable a Journey template for Distributed Marketing (Quick Send) but after I activate the journey, I am unable to see that journey in the journey list in the Distributed Marketing Admin ...
0
votes
1
answer
99
views
"Failed to Find Audience for Journey" - SFMC Error Message
I am trying to create a Distributed Marketing journey/template. I am getting this error, "Failed to find audience selected in this journey". I tried to update/recreate my DE but that didn't ...
0
votes
0
answers
290
views
Is it possible to throw error message on button click? (Managed package button)
We have a custom button that came with the installation of a managed package. We are using this custom button on a page layout to open a new page with a PDF. We want to display an error message when ...
-1
votes
1
answer
148
views
Can AuraHandledExceptions appear on an Aura component without being processed by an action callback function?
I have a custom error page that should appear every time an error appears from the middle/back end. I have an Aura component that is using this. This Aura component has 4 actions that call its Apex ...
0
votes
1
answer
292
views
Duplicate/Match Rules - Exact Match on Custom Text Field Showing Inaccurate Error Results
Scope:
We needed a way to alert a user of a duplicate when creating a new record and when editing an existing record to meet values where we would consider it a duplicate.
Field Types we want to ...
0
votes
0
answers
26
views
Unable to run SOQL queries [duplicate]
UNKNOWN ERROR: read error on connection to ec2-34-194-152-137.compute-1.amazonaws.com:6379
The above error keeps showing up each time I attempt to run a query on Workbench, for any object in ...
0
votes
1
answer
348
views
Handle multiple Toast Messages coming from various LWCs in a page
We have multiple Lightning Web Components added to a page and each of the component handles errors using toast messages. Sometimes, there is a long chain of toast messages that display when errors ...
-3
votes
0
answers
247
views
Frustrated with lack of response: Workbench not working for over a week now with no alternative [duplicate]
It’s now getting highly frustrating with the lack of ownership or response from anyone on such a core and critical tool used by developers and admins. I have reached out to Salesforce support been ...
0
votes
0
answers
2k
views
Getting UNKNOWN ERROR: read error on connection to ec2-34-194-152-137.compute-1.amazonaws.com:6379 [duplicate]
Getting this error I see others have as well. Do we just wait it out?
0
votes
0
answers
322
views
Field Service Booking an Appointment Error
I am having problem booking an appointment using Salesforce FSL managed package in a sandbox environment. I login as user with the agent permission set and license assigned and I tried booking an ...
1
vote
1
answer
2k
views
Problem getting consistent error stack trace in LWC
I am trying to capture an error thrown from Apex in my LWC promise chain, with an end goal to publish a Slack message with the error details.
The slack message template contains the following needed ...
0
votes
0
answers
507
views
How to determine if Salesforce User Record is Active in a Flow
I am trying to build a simple flow and am getting an unexpected error.
Background: We have 2 User Lookup fields on Account - Standard Account Owner and custom Account BDR. We also have the similar ...
1
vote
1
answer
64
views
Default Percentage Value
I am trying to set a default value in a percent field where the final output is 5%. When I set the default value as 5, the UI shows 500%. However when I try to set the default value as .05 I receive ...
0
votes
1
answer
439
views
Marketing Cloud: ERROR: Violation of PRIMARY KEY constraint. Cannot insert duplicate key
I created this query and now that I put it in an automation, but I keep getting the error:
ERROR: Violation of PRIMARY KEY constraint. Cannot insert duplicate key.
MY SQL:
SELECT DISTINCT J....
0
votes
0
answers
159
views
Inline editing with dynamic validation, combine two style classes
I'm using this datatable and validating the errors and it was working, until I put the 'slds-cell-edit' in the column, the validation works and the message are show, but the field don't have the ...
0
votes
1
answer
41
views
Error message not firing on opportunitylineitem record page
I have a requirement to display error message on opportunitylineitem record detail page when a user tries to update status field of the record once the related opportunity is set to closed won.
Here ...
1
vote
1
answer
460
views
HTTP 420 error suddenly affecting all operations
This is going to be a self-answered question, intended to fill in a knowledge gap that doesn't appear to be readily available anywhere else (at least not in any great detail)
Around 15:00EST on Friday,...
0
votes
1
answer
44
views
Custom Aura Components Throwing Errors in Builder - Best Practices
We are using custom Aura components in our Lightning Community and these components like most, respond to whomever is logged into the Lightning Community and populate themselves with relevant data. My ...
0
votes
1
answer
809
views
The requested Resource doesn't exist when creating a lead in normal way
I have a user whose profile is a marketing user. The user can create any other Lead Record types. However, problem comes when the user tries to create a specific record type. The screenshot is ...
0
votes
2
answers
700
views
Flow - Error Occurred: Too many query rows: 50001
I have built a flow that displays the closest accounts within a 10 mile radius. The flow is launched via a button on the account the user is currently viewing. Below is the flow:
This works perfectly ...
0
votes
1
answer
913
views
An unhandled fault has occurred in this flow - how "handle" getting a null record?
I have a screen flow where the user selects a pair of records.
The flow attempts to get a related record that may or may not exist, then branches based on null/not null.
The relevant Get Records ...
1
vote
1
answer
110
views
Related List Error on Package Creation
I have been able to do all the steps in creating an unlocked package,
Authenticate
Retrieve
Convert
But when I go to create the package, I am getting 2 types of errors:
Component [force:...
0
votes
1
answer
206
views
How to hide a logging error in a Marketing Cloud Cloud Page?
I'm working with a company that has a lovely little Marketing Cloud CloudPage set up at https://cloudpages.example.com/preferencecenter?SenderKey=XYZZY&EmailAddress={{Recipient.Email}} to ...
0
votes
2
answers
114
views
From post install script weird error: Not Serializable: System.Version stack trace External entry point
I execute a post install script and sometimes a weird error is happening:
Not Serializable: System.Version stack trace External entry point
I don't understand what is going on since looks like the ...
2
votes
0
answers
512
views
Exception handeling in Flow.Interview.createInterview().start()
I have a Use case where I am starting a Flow execution from Apex as part of managed package and the actual flow is developed by our customer.
While testing I noticed that one of the flow is invoking ...
0
votes
1
answer
311
views
ApexPage error message not displaying
I have a custom visualforce page that has to display an error if some data is failed to retrieved and though I can see the ApexPages.addMessage(message) method being called it doesn't work
This is my ...
0
votes
1
answer
163
views
Unable to update leads to closed won due to custom lead source object | Required Field Missing [closed]
Having an error code: REQUIRED_FIELD_MISSING generated when attempting to convert leads to Closed Won. This only happens at the closed-won stage, regardless of the lead source type entered. Does ...
1
vote
1
answer
21k
views
TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions
I wrote such functionality to see pdf ContentDocument preview of needeed file:
viewPdf() {
this[NavigationMixin.Navigate]({
type: 'standard__namedPage',
attributes: {
...
0
votes
1
answer
272
views
error message only appears at the 2nd click
I need to show a toast with an error message on a LWC form if one of the fields has an invalid value. the validations are done and the toast appears when it's supposed to, but the message itself only ...
0
votes
0
answers
116
views
DML Exception not being caught
ClassA {
Method1() {
Method2();
}
Method2() {
ClassB.Method3();
}
}
ClassB {
Method3() {
//Failing DML Operation
}
}
How come I can only ...
0
votes
1
answer
2k
views
What is error ID: -78170657 [duplicate]
Logging into Salesforce generates this error:
This page has an error. You might just need to refresh it. First, would you give us some details? (We're reporting this as error ID: -78170657)
This ...
1
vote
0
answers
385
views
"Dependant class invalid needs recompilation" error after upgrading to API version 53
I have upgrade some classes in my org to version 53, while deployment i get the error " Dependant class is invalid needs recompilation".
As per the Salesforce article I have tried compiling ...
0
votes
2
answers
788
views
Validation to allow one decimal only
I'm looking to validate percentage field type to ensure they contain only one decimal and can be between 0.0 and 100.0.I want to see an error message when more than one decimal is entered.
I tried ...
-1
votes
1
answer
914
views
Getting error while scheduling apex class : "You must select an apex class that has a parameterless constructor"
I have an apex class that was scheduled and working fine. Due to inactive user the scheduled job has stopped working and now I am trying to create a new schedule for the apex class but getting below ...
0
votes
0
answers
77
views
Static method cannot be referenced from a non static context - trigger before update failing
I understand questions like this have been asked in the past, mostly relating to test classes from what I've seen. I've spent hours trying to find a legitimately applicable question/answer to the ...
0
votes
0
answers
342
views
Marketing Cloud Splunk Integration
Is there any guide to integrate Splunk with Marketing Cloud?
There are no solutions (or addons) available online, or any documentation that Salesforce Support could share.
As I understand, Splunk ...
5
votes
2
answers
3k
views
Salesforce Error Publishing Community 1715759908
I created an Experience Site in a developer sandbox. Once it was ready, I deployed the experience Bundle, Site, Network and all related metadata (LWC, Aura Components, Classes, Fields, etc.. ) to a ...
1
vote
1
answer
632
views
errorCallback not catching exception in child when thrown in apex call promise
I have a web component (lwc) with a child component that makes an imperative server call. When an exception is thrown by the server the parent component is not catching it in the errorCallback. The ...