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
2
votes
1answer
29 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
7 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

Restrict DML Operation with some condition in Standard Button [closed]

I have a parent object and 2 child object. I have a status field (Picklist) with values Closed and open at parent object. My scenario is, If I click standard delete button, If the parent's status is ...
0
votes
0answers
13 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
39 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
34 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
22 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
26 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
0answers
24 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
28 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
16 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
47 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
30 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
146 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
49 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
22 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
44 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
90 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
37 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
33 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 ...
0
votes
2answers
271 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
0answers
47 views

Error message need to display on custom Toast message

In Javascript i am catching the error and displaying it on console.log succesfully, but how can i save this error message in a variable and use it in my custom toast message ? Code in JS : Where i am ...
0
votes
1answer
39 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....
1
vote
1answer
2k 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
23 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, ...
0
votes
1answer
26 views

Filter Logic for SF report

I keep receiving this error message when applying filters to my report.
0
votes
1answer
23 views

Reached maximum number of Object references on Case, what exactly is causing it?

I've encountered a common error on Case but am having some trouble understanding exactly what it is that is causing it, is it previous related object references in other formulas, validation rules, ...
0
votes
1answer
37 views

Error creating a Person Account from a third party integration API Callout

A customer installed our managed package, which makes an API call to Salesforce, sending basic contact information from the web platform and attempts to create a SObject record in Salesforce based on ...
0
votes
0answers
87 views

Focusing on first lightning input with error in LWC

I have number of Lightning input fields in my component. If there is any error in input from user, On submit of form, I want to move the focus onto the first erroneous Lightning input. In the ...
1
vote
0answers
94 views

lightning:recordEditForm QUERY_TOO_COMPLICATED error on page load

We're intermittently receiving a QUERY_TOO_COMPLICATED error when loading data on the lightning:recordEditForm. I see a solution on here for LWC's lightning forms, but haven't quite figured out a way ...
1
vote
0answers
722 views

Can we customize “We hit a snag.” error message title?

Can we customize "We hit a snag." error message title? If so how to do this? If not, is there any documentation confirming it is not possible? I couldn't find it... Here is the example error message ...
0
votes
0answers
56 views

How do I resolve h12 timeout errors from heroku?

I'm running into a weird issue with Heroku. When I run my application locally it fetches all my requests under 1 second but on Heroku, I get h12/503 errors because it is taking 30 seconds which ...
-1
votes
1answer
25 views

Test Class for adding error message [duplicate]

@isTest public class ConvertTestClass { public static testMethod void test1() { Lead__c ld = new Lead__c (); ld.First_Name__c = 'Test'; ld.Name ='first'; ld....
6
votes
1answer
2k views

this._setInputValue is not a function

getting a strange issue on a Lightning page. In the background, I'm trying to update a Long Text Area field with Apex (before update trigger) but it seems to throw this error whenever I try to update ...
0
votes
1answer
92 views

Triggered Send Error Code: 138 - Exceeded Expiration Policy

I reached out to SF Support regarding contacts in the 'errored' count for a triggered send. They came back with the error code: 138 - Exceeded Expiration Policy. The description found here is ...
-2
votes
1answer
40 views

ERROR: 'Variable does not exist

I have a trigger bellow which calculates a sum of field in a related field in custom object . I am getting an error massage Variable does not exist:House_Improvements__c. Any ideas how can I resolve ...
0
votes
0answers
35 views

Issue whit the survey invitation email content, after clicked button;

i have an issue whit the survey invitation email content, after clicked button; When i click the button on the email it redirect to another page with this error, error The data you were trying to ...
0
votes
0answers
30 views

“object Object” error message for ST Field Set Form

When using the ST Field Set form, I'm getting an error when referencing 10 project fields on the field set 'Client_Field_set' . I'm logged in as a system admin, so have edit access to all the fields ...
0
votes
0answers
204 views

Error while update contract status from Expired to Current

I am getting the below error while changing a contract status from Expired to Current through workbench/data loader. Choose a valid contract status and save your changes. Ask your admin for details ...
0
votes
0answers
43 views

Error while parsing query: SQL validates in another order

I keep coming across this error message in certain queries and have found that if I move certain elements of the query (without changing anything else), it validates fine. My latest example is below. ...
0
votes
1answer
357 views

Unable to display validation message according to the need on custom lightning component

I have a custom component to create quote and also have few validation rules been created. Whenever i am trying to create the quote, my validation rules are getting triggered and able to display them ...
1
vote
1answer
245 views

LWC - Red Error Bar Reads “Error in fetching record: invalid record id.”

tl; dr - How do I fix the error message shown in the screenshot below? Overview I am attempting to create a lightning web component that displays the field values of a record related to an Event ...
1
vote
1answer
103 views

Cannot deserialize instance of date JSON_PARSER_ERROR when no date present while patching

I am working with a Google Apps Script to upload data into Salesforce. Everything works except I am running into this error when a date is not present in a date field, which happens only occasionally ...
0
votes
1answer
62 views

Error handling for iterable child component inside parent in lightning web components (LWC)

In my parent component , I have used child component inside and iteration. So for example child component is present twice in parent component. Now I want to show error message when on of the required ...
16
votes
5answers
6k views

When do we really need try/catch?

I know about 'always in DML operations'. But for what? What do we get? The code will crash anyway, and we can find the error in logs even without this construction. What's the main point of try/catch? ...
0
votes
0answers
33 views

Want to delete custom fields of Goal and Metric standard objects from manage package beta version

I created a manage package. I didn't require custom fields on Goal and Metric standard object. I want to remove it from manage package. I don't require Goal and Metric standard object in my manage ...
3
votes
1answer
145 views

New error codes during scratch org creation

I have read the SignUpRequest page (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_signuprequest.htm#stq=VR-0003&stp=1) but I did not find the following error ...
0
votes
1answer
227 views

HTTP Response Code when org is in Read-Only Mode

I am working with a client who is having their instance migrated to another pod. As part of our preparations, we want to test how integrations will behave when the org goes into read-only mode. As a ...
3
votes
1answer
171 views

An error occurred while checking the query syntax. Errors: Old style JOIN (ANSI JOINs) syntax is not allowed. Please use standard syntax

I've had a few different kinds of query return the following error message, quite often when I'm using 'case when': "An error occurred while checking the query syntax. Errors: Old style JOIN (...
2
votes
2answers
580 views

How do I do a universal SOQL?

I made a Trigger for an Object1 that gets Id from Object2. Rather, Object1 entries already have Object2 IDs, but now I need to make a lookup based on it. The Object2 can be any object you want: system ...

1
2 3 4 5
9