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
0answers
26 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
64 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
29 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
34 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 ...
0
votes
1answer
36 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
29 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
22 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
118 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
58 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
191 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
21 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
17 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
307 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
43 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
25 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
37 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
17 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
40 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
175 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
120 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
64 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
33 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
190 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
57 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
777 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
227 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
49 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
0answers
23 views

Salesforce Marketing Cloud > Landing Pages > Insert Error Message for Duplicate Registration on a Landing Page

Salesforce Marketing Cloud > Landing Pages > Insert Error Message for Duplicate Registration on a Landing Page... I want to make my landing page return a message saying that the record is ...
0
votes
0answers
26 views

Application Error

Good Evening, I am getting an Application Error on the app https://infraserveqatar.herokuapp.com/, although there was no change made from our side since July 2019. I am assuming the error is coming ...
0
votes
0answers
247 views

API ERROR: No HTTP resource was found that matches the request URI

I'm attempting to make a call to an external API using basic authentication and I'm getting the following error: {"Message":"No HTTP resource was found that matches the request URI '...
0
votes
1answer
100 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
0answers
27 views

Fire user notifcation on record

My goal is to display a warning notification(or a pop up) to the end user whenever he saves a custom object which follows some custom logic. The warning is a result of an apex logic. UI: Lightning. I ...
0
votes
1answer
32 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
516 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
406 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
60 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
352 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 ...
0
votes
1answer
412 views

Check if long text area field contains given string

I have a custom field called Account_from__c which is a text field. Now, I have a Long text field called Warning_Message__c which contains warning messages. The warning message will be like "...
1
vote
1answer
946 views

How can I change the version of a Flexipage through SFDX?

I am trying to deploy a flexipage that was modified in our repo, but the target sandbox is giving me this error: Property 'itemInstances' not valid in version 47.0 Based on what I could find in ...
0
votes
1answer
201 views

Handling an 'Error: Generic Exception' in Marketing Cloud

How would you solve this issue? When I try filtering my data extension holding all my subscribers using a StoreID to filter for subscribers relating to a specific store I get the Error: Generic ...
0
votes
1answer
29 views

Field must be grouped or aggregated: Product__c [closed]

List<AggregateResult> ARListCurrIssue = [select AccountId , Count(Id) CaseCount,Product__c from Case where AccountId In:AccIdUpd and IsClosed != True group By AccountId ];
0
votes
1answer
128 views

Which field is causing: “Unable to read SObject's field value[s]”?

I know this error is because there is a wrong data type, but I feel that I have validation on all my input fields. I have had this error 3 or 4 times over the past year with customers and am at a loss ...
1
vote
3answers
166 views

Apex CPU time limit exceeded error in trigger after insert

I have a trigger on lead after insert that query all accounts and all contacts created the past 30 days to compare 4 fields (external id and legal number on accounts / mobile and email on contacts) ...
0
votes
0answers
104 views

Site Guest User unable to trigger Email Alert

Does anyone know if it's possible to trigger an email alert from Site Guest User? I have built a visual flow linked to a guest user but I keep getting this error: EntityObject can not be initialized ...
0
votes
0answers
99 views

Expired Community URL redirects to login page silently without error message

In my instance of SF, when a new community user gets created, an email is sent out to the user with a login link (community_url). If the link isn't clicked on within next 7 days, the link is set to ...
1
vote
4answers
2k views

Validation rule Error message not displaying in LWC UpdateRecord toast event

I have a record which I'm updating via the UpdateRecord method from LWC, using Toast events to display success or error messages, which all works fine. What I'm not getting though, when there's a ...
0
votes
1answer
132 views

How to display the error message and redirect to the other page at the same time?

Hi I'm trying to display error message which is sending by external system (Not from salesforce) and at the same time i want to redirect to another page. Here is my code. else { if(error....
2
votes
1answer
10k views

How to fix error 431 Request Header Fields Too Large . HTTP CODE[431] in Anonymous Window

I'm getting this error when I execute a query and call a method inside the anonimous window. It's strange because I've executed a code very similar in length before and I've never seen this error. I'...
0
votes
0answers
42 views

Persist text validation error message?

Is it possible to persist a validation error message on a lightning component? For example, if you get a validation message of some kind on child A in an accordion, then collapse it and open child B, ...

1
2 3 4 5
9