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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
36 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 ...
  • 1,141
0 votes
2 answers
26 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 ...
  • 13.9k
1 vote
0 answers
54 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 ...
  • 3,339
0 votes
0 answers
15 views

%%view_email_url%% is returning a javascript error in approval queue

When my manager is approving emails, two links are no longer working when in approval queue. The top "View email in web browser" (%%view_email_url%%) and also the email preferences in the ...
0 votes
1 answer
25 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 ...
  • 791
0 votes
1 answer
23 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
1 vote
1 answer
4k 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: { ...
  • 29
0 votes
1 answer
82 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 ...
  • 1
0 votes
0 answers
26 views

DML Exception not being caught

ClassA { Method1() { Method2(); } Method2() { ClassB.Method3(); } } ClassB { Method3() { //Failing DML Operation } } How come I can only ...
  • 3
0 votes
1 answer
372 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 ...
0 votes
0 answers
29 views

How to throw error message on vf page when picklist value is No

I have a VF page and there is a field Price_verified__c having two values, Yes and No. When 'No' is selected and the save button is pressed, it should throw an error message: "Price should be ...
0 votes
0 answers
62 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
169 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 ...
's user avatar
-1 votes
1 answer
163 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
42 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
100 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 ...
  • 2,253
4 votes
1 answer
527 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,234
1 vote
1 answer
166 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 ...
0 votes
1 answer
122 views

Compile Error: Unexpected token '<EOF>'. at line 29 column 1 - when trying to comment out code

I'm an administrator not very familiar with code; I have been trying to deactivate a legacy apex trigger that predates me joining my company but it is causing some system issues. An option brought to ...
4 votes
2 answers
270 views

Do 2GP Managed Packages send email notifications on unhandled Apex errors?

Other than the official documentation and related SFSE questions indicate the Error reporting of Second Generation Managed Packages (2GP) seems to behave differently that with 1GP. I want to make this ...
-2 votes
1 answer
158 views

add all active users to a chatter group

I am trying to add all active users in our org to a specific chatter group using the anonymous window, but I get this error message saying Line: 7, Column: 20 Variable does not exist: id" not ...
  • 11
2 votes
1 answer
108 views

Inner Class Without Sharing not working as expected

I found this post (Sharing rules and Inner classes), which references documentation that inner classes do not inherit the sharing of their container class. From the documentation: Both inner classes ...
0 votes
0 answers
1k views

Display a alert message on Lightning Component (Pop up Modal)

In my pop up search when my select returns zero records, I want to show the alert message and if its searching for existing records I want show the different alert message too. I added the error ...
  • 15
1 vote
1 answer
261 views

How to get UpsertData function to insert data into the data extension?

On the landing page I have a form that is submitting and gathering all the RequestParameter values. When it gets to the UpsertData function it doesn't fire even the few values I have in the function ...
  • 11
0 votes
1 answer
139 views

Error when sending report from sales cloud

I have been trying to send an email containing Lead Report from sales cloud. The email when received shows the message "Failed" with an error report in the body. The error states "Error ...
3 votes
1 answer
2k views

Portal user cannot edit own account and cannot create new contacts (portal users cannot own partner accounts)

I'm creating this question to share the errors i've found trying to enable Customer Portal Users to edit their Account record, and to create new Contact records, and the solution i've found. I do it ...
0 votes
1 answer
26 views

Apex trigger before update generate problem with Aura methode

My trigger beforeUpdate cause me a problem , i have a button in the header named Validate and this button call the methode below 'UpdateHeader' , but when the user is not the AdminUser , he can ...
1 vote
1 answer
180 views

Issues with 2GP managed packages and connected apps

I've been unable to create a package due to this following error: : An unexpected error occurred. Please include this ErrorId if you contact support: 1290395039-462760 (-600457350) This occurs when ...
0 votes
0 answers
94 views

NoErrorObjectAvailable Script error in my LWC

I read all question about this error and I cannot find the problem in my code. Here it is: HTML: <!-- ComboBox Main Guilds--> <lightning-vertical-navigation> ...
  • 185
1 vote
2 answers
66 views

Apex:Form is inconsistently using JavaScript validation versus ServerSide Validation

I have very peculiar problem. I have two components that are in a visualforce page. The design is the same for all the components. We get a list of records and immediately below it we have a form that ...
  • 1,318
-1 votes
2 answers
224 views

How to resolve "You can’t delete this auth provider as an authentication method because your org or Experience Cloud site is currently using it"?

How can Auth. Providers be removed from Experience Cloud sites? When I attempt to delete my OpenID Auth. Provider in my Sandbox, I am receiving the following error: You can’t delete this auth ...
-2 votes
1 answer
142 views

Account Validation Rule not working

I am working on a validation rule which appears to be simple but it is not working as expected. The requirement is below. when creating an account, if the account recordtype is "child", and ...
-3 votes
2 answers
198 views

Is it possible to know WHY SOQL retrieves EMPTY?

I have a SOQL in an APEX Class, and it works okay when I'm logged as a System Administrator User, but it gets empty when I log as a different user. I suppose it could be permissions and field ...
  • 185
0 votes
0 answers
52 views

Marketing Cloud Simple Query with filter Bad Request - Need Help

I am making the following REST GET call: https://{{et_subdomain}}.rest.marketingcloudapis.com/asset/v1/content/assets?$page=1&$pagesize=50&$orderBy=AssetType asc&$filter=AssetType.Views....
4 votes
1 answer
354 views

Rest API - Set polymorphic Lookup with external Id

I am wondering If it is possible to set a polymorphic lookup value with external Id with Rest API. I didn't find any documentation on this and it does work for me. Here I am trying to set the lookup ...
  • 473
0 votes
1 answer
306 views

Salesforce FLow : Delete records of different objects (I got an error when an object not found and the flow stops without deleting the others)

I want to delete records of different objects, I have 4 object that i need to check if they exist and if it is the case i want to delete them. My problems is if for example the first object is not ...
0 votes
0 answers
116 views

Setting default picklist values

I have 2 dependent picklists (Picklist-A & Picklist-B). I am trying to set the default picklist value for Picklist-B, based on Picklist-A selection. i.e. If Apple is selected on Picklist-A, then ...
  • 93
0 votes
0 answers
234 views

Capture error messages with a single validation rule caused by a record triggered flow initiated by a lwc or send error msg from flow back to the lwc

I have a quick action button the calls a lwc component modal. In the final stage of the modal when I click Save lwc calls the updateRecord method of the uiRecordApi on the case object, which starts a ...
  • 466
0 votes
1 answer
310 views

Required fields for Messaging Notification action in the flow

I have a flow in which I send an SMS and use the Messaging Notification action for that. I pass all required fields to the action but in the Messaging Templates Error Log tab I see the error: You’re ...
  • 1
2 votes
0 answers
75 views

How to set Custom Message when throwing Exception from RegistrationHandler

I successfully integrated an Open Id connector(via Auth. Provider) with our Salesforce environment, we can log in successfully. But sometimes you should not get access because you don't have the right ...
  • 176
2 votes
1 answer
251 views

Salesforce Flow: Error Handling

I have a screen flow and i want to manage Error Handling. So, in the "Fault" path, i have added a screen element where i show the {!$Flow.FaultMessage}. The problem is, that the FaultMessage ...
1 vote
1 answer
208 views

How can I see how a LEX dashboard component was originally configured, after error message that field is no longer available?

I've been trying to update a dashboard I created a year ago, where multiple of the components now populate with the error message: "One or more of the fields selected in the component is no ...
1 vote
1 answer
172 views

Clear Only Row-Level Errors in Datatable

I'm trying to do datatable error-handling using the built-in errors attribute. For the sake of example, let's say I have a datatable like this: <lightning-datatable columns={columns} data={...
  • 531
2 votes
0 answers
350 views

Database.upsert( LIST, FALSE) returns for each Database.UpsertResult only CUSTOM validation errors when a record has both CUSTOM and SYSTEM errors

I am wondering if the statement I posted as the title is correct and/or perceived as a normal flow of execution. THE CONTEXT: I've got an APEX method that is used from a Lightning Component to upsert ...
1 vote
0 answers
150 views

UNABLE_TO_LOCK_ROW error on user object triggered by platform event trigger only during deployment of destructiveChanges.xml

We have a platform event trigger that fires when users login. It fires hundreds of times per week and does not throw any errors. Three times in the past week, it has thrown an UNABLE_TO_LOCK_ROW ...
  • 4,275
-4 votes
1 answer
231 views

Custom error message is not showing on Visualforce page

// VFP <apex:page controller="NumberClassErrorMessage" wizard="true"> <apex:form > <apex:pageBlock title="Number Calculations"> &...
1 vote
1 answer
89 views

Error on Save: How to Inform the User in a Controller Extension

I have built a controller extension for use in a custom NewQuote page (see image below). The controller extension initializes a number of custom fields with data from the Opportunity. The Quote ...
  • 163
2 votes
2 answers
669 views

Display Validation Error for Inline Editing

I have an LWC with a lightning-datatable that allows for inline editing. If the field update violates a validation error, how do I display that specific validation error. I conole.logged the error ...
  • 361
0 votes
1 answer
221 views

Handling errors with future callouts from Trigger

My design is that whenever an account is created, It calls an 'after insert' trigger that makes a future callout to an external system and sends the account details. If there's an error in the future ...
3 votes
2 answers
2k views

Display error in toast from imperative call

I am trying to show the error message from the apex method exception as a toast message while doing imperative call in lwc. I am using ldsUtil.js to simplify the error message. But either way, I am ...
  • 325

1
2 3 4 5
10