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
1answer
17 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
1answer
35 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={...
2
votes
0answers
60 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
0answers
32 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
votes
1answer
24 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
1answer
18 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 ...
2
votes
2answers
57 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 ...
0
votes
1answer
40 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 ...
2
votes
2answers
86 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 ...
-2
votes
1answer
275 views

How to display an error message through text in a record triggered flow [closed]

Need to display an error message on a record triggered flow.
0
votes
0answers
16 views

Handle new data from a merged Lead

I have a process that is sending Lead data out of Salesforce. The system of record is Salesforce. 3 months later, the Lead data sent comes back into Salesforce with updated data. There is a chance ...
0
votes
1answer
36 views

Apex: Where is a good/recommended place to store custom error messages?

In order to avoid creating duplicate string literals (the error messages) in both the class that would, for example, throw an exception and its corresponding test class, where is a good/recommended ...
0
votes
0answers
28 views

Is it possible to create a custom error message for an autolaunch flow when it fails?

Heyyo I'm using a flow to update a text field on the opportunity. It loops through the added products on the opportunity product line and then updates the text field. I also have a validation rule on ...
0
votes
0answers
30 views

Unable to update Multi-Select Picklist via Apex (INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST_

I have a Multi-Select Picklist that is being updated from a Lightning Component. I have a server-side apex class that is handling the logic for updating the field after user input. What is frustrating ...
0
votes
1answer
47 views

Informatica job failing with UNABLE_TO_LOCK_ROW:unable to obtain exclusive access to this record or 1 records: 001

Our Contact model is Private and there is a relationship with the Account object but it is a Lookup and NOT Master-Detail. We also have a custom setting which makes sure that not Triggers are running ...
0
votes
1answer
67 views

LWC Lightning-input custom validation for max length, no error message comes on blur

<pre> <lightning-input type="text" label="Enter some text" max-length=10 message-when-too-long="Max 10 characters allowed"></...
0
votes
0answers
93 views

Opportunity Owner change in apex trigger shows 'The requested resource does not exist' on details page

On selecting a stage between junk or dnd , the owner of opportunity is changed to admin user. The OWD for opportunity is private, so if ownership is changed then he loses access to the opportunity. In ...
2
votes
1answer
83 views

FIELD_INTEGRITY_EXCEPTION, Last Name: You must enter a valid value: [LastName]

One of our integrations attempted to insert a Contact record with a value for LastName = ????? (yes - five question marks). SFDC failed the insert (before any trigger executed) with: ...
0
votes
1answer
47 views

The error message "Unable to obtain exclusive access to record” is not translated

"Unable to obtain exclusive access to record” is a Salesforce Standard error message that appears (in our case) when two persons are editing the same Account. The problem is that even if the ...
0
votes
3answers
133 views

Apex Error: You have uncommitted work pending. Please commit or rollback before calling out

I'm working with the DocuSign managed package and looking to allow invocable variable input from process builder. Below is the class I have created and it compiles fine but when I go to execute the ...
1
vote
1answer
83 views

Platform Event ID Error

I'm getting INVALID_FIELD_FOR_INSERT_UPDATE - The event can't be published because it contains an ID value. when logging my platform event errors like so: private static List <...
0
votes
0answers
33 views

UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record. Case not saving: [duplicate]

I'm getting this error when trying to save a Case: Failed to invoke future method 'static void cloneCaseWithCaseProds(String, String, Set<Id>)' on class 'CTRL_Support_ProcessV2' for job id '...
0
votes
0answers
38 views

show list of account record on clicking in checkbox and delete the selected account and refresh list

I want to show account record on checking a checkbox and delete the selected record and refresh list but I am getting errors. duplicate value found: duplicates value on record with id: Cannot find ...
1
vote
1answer
605 views

REST API: Error 'METHOD_NOT_ALLOWED' - PATCH

I am trying to upload new records by calling a REST API but am getting the following error. simple_salesforce.exceptions.SalesforceGeneralError: Error Code 405. Response content: [{'errorCode': '...
1
vote
1answer
134 views

Debug Mode - Message Error

I have an error I don't understand when I activate the Debug Mode in my sandbox. Message: [Invariant Violation: Updating the template of [object:vm v (127)] has side effects on the state of [object:vm ...
0
votes
0answers
412 views

Illegal character VCHAR in request Header

We have an external system that sends us POST Requests. The authentication method is using force.com public site with IP restriction. The external system sends a POST request and got an error and we ...
0
votes
0answers
34 views

Attempt to de-reference a null object - Object.eval

My sales team keep receiving the following "attempt to de-reference a null object" error.  I've browsed the forum for an answer, and almost all appear to require the use of the Developer ...
0
votes
0answers
19 views

Catch exception inside record-triggered flow and provide custom message instead of standard

Let's say we have record-triggered flow that updates unique field. Is it possible to provide custom error message when flow faced DUPLICATE error ?
2
votes
3answers
463 views

try catch finally and inserting records

We have an error log object where we store the errors and I have a simple try catch like below... My issue is that the insert in the finally does not appear to be happening. Any advice? or is that a ...
0
votes
0answers
7 views

Unable to Publish KnowldgeArticle using Soap API

I have the exact same issue reported in the following link: SOAP API to Publish Knowledge ARticle Even at version 50.0 of the SOAP API, trying to set the "PublishStatus" to "Online"...
0
votes
0answers
59 views

Importing data in a data extension and avoiding errors

When we define a data extension in Marketing Cloud with two fields: Email (254) Company (50) If we try to import records with "Company" values that includes length of 50 or under and some ...
1
vote
1answer
29 views

Getting an Error on a scheduled job, but can't find the error

We have a scheduled job on Contacts that runs once a week. We have a couple processes that are also on Contacts. We are in the process of transitioning Workflow Rules into our Processes. Some there ...
0
votes
2answers
40 views

How To Prevent creating Accounts In a specific month

I want to avoid Creation or Deletion of Accounts in a specific month(for eg December). How can I achieve this. Because the createdDate is null in before Insert and addError does not run in after ...
0
votes
1answer
20 views

How To Hide Warning About Not Having Sufficient Privilege To Access Visualforce Page?

I've selectively granted access to a Visualforce page embedded in a record detail page for only specific users. I used a permission set to achieve this. Now that I can selectively grant permission to ...
0
votes
1answer
85 views

How we can change the general error message: 'You encountered some errors when trying to save this record'

We would like to know if we can change this message when we have an APEX validation problem to something more specific and user friendly. We add the error message after this title, but can we change ...
0
votes
0answers
311 views

Flow failed to find record error

I have this time scheduled flow that runs through a custom object called Legal_Sector related to Account with a lookup relationship. When it runs, I get this error that make no sense for me : The ...
0
votes
1answer
278 views

To display an error message when a record is submitted for approval using apex trigger

Please help me with this code, Writing a Trigger to display an error message on Opportunity_Support_Request__c record which has no OSR Product and if it is submitted for Approval(by clicking on Submit ...
0
votes
3answers
94 views

How to write an apex trigger that displays error message "You must add atleast 1 product " before submitting a record for approval

I am new to coding. I need help to write an apex trigger to display an error message(You must add atleast 1 product on the record to submit it for approval) before submitting a record for approval. ...
0
votes
1answer
44 views

Import aborted while processing batch 0 Data Extension Import Issue

Import aborted while processing Batch 0 in DsvFileSourceReader I'm getting this issue when importing a data extension, using a nickname as the Primary Key, what is the potential issue here? Have 25 ...
0
votes
1answer
322 views

Marketing Cloud SQL - Invalid Column name "Opt"

I receive the following error message for my SQL statement and I cannot find the error: "An error occurred while checking the query syntax. Errors: Invalid column name 'Opt' This was a quite ...
1
vote
0answers
85 views

System.SObjectException: Field is not writeable: [duplicate]

We have the following code and Apex Test Class, and for some reason during Apex Test Execution (Developer Console-->Run Test) it is throwing the following error message below. Any ideas why the ...
3
votes
1answer
1k views

Cookie error with embedded VisualForce page in Chrome

I'm trying to embed some VisualForce pages in the layout for a Custom object. This works fine in Firefox, but not in Chrome. Instead, for each embedded page (there are three) I get the message: Your ...
0
votes
0answers
295 views

display server side errors is lightning datatable in lwc

I am trying to update list of records in lightning-datatable to update multiple records in one go. But, I am unable to display the server side errors(Errors from Trigger,Apex class,Validation rules). ...
2
votes
1answer
60 views

Invalid number error on VisualForce page apex inputField

After the Winter 21 update I've come across an issue in a clients environment where when entering a negative value into an apex input field returns an invalid number error. The debug log prints '|...
0
votes
1answer
292 views

Salesforce Apex Regex too complicated error [duplicate]

I am working on an apex class which is making a webservice callout to an external system and with the response that I get, I am updating couple of fields on the Account object. Unfortunately, this ...
0
votes
1answer
47 views

Show Trigger Error on VF Page

I have a VF page and custom controller on a custom object related to the Contact object. There is also a trigger on the custom object that prevents duplicate entries. All works fine, however, when a ...
1
vote
1answer
852 views

Clearing validation errors on clicking clear filters icon not working on LWC lightning-input

The validation errors are cleared only on the second click of the button. But i need this to be working on the first click. Kindly help. My current code is as follows : HTML CODE : <div class="...
1
vote
2answers
656 views

How to display server side error message on the UI

I have apex class with custom error message and if there is any error occurred then I would like to show to the user on the UI. Apex class code //snippet try { //some awesome code ...
0
votes
1answer
87 views

Send Failure Email From ScreenFlow

I have been troubleshooting this for awhile. Not sure what I'm doing wrong. Pretty sure it's simple issue. Below is the screen shot. I'm just trying to send an Email from a Salesforce Screen Flow when ...
0
votes
2answers
506 views

Handle error in Lightning Component using Lightning Data Service

I am having a lightning component that uses the Lightning Data services. The component is like below which has a button which when clicking on it changes the case status to Closed. <aura:component ...

1
2 3 4 5
9