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
1
vote
2answers
45 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
13 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
26 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
69 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
37 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
26 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
234 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
17 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
22 views

Filter Logic for SF report

I keep receiving this error message when applying filters to my report.
0
votes
1answer
18 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
26 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
41 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
72 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
460 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
35 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
73 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
34 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
24 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
28 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
137 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
40 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
166 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
171 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
72 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
48 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
23 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
119 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
156 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
158 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
576 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 ...
0
votes
1answer
30 views

Start fresh after error handling message

So I have a validation rule that doesn't allow a user to enter in a "Receiving Quantity" that is greater than the "Open Quantity" custom field. If I have an open quantity of 5, but I enter in 6 as the ...
0
votes
0answers
215 views

SQL - Could not convert date and/or time from string data type

What I have: A source data extension with slightly over 14000 records Two attributes in the DE: GlobalID (Text 10) BirthDay (Text 8, YEARMONTHDAY, no dashes) The target data extension has ...
0
votes
0answers
23 views

Outbound Message and Error Respose

I wanted to process the outbound message error response back in Salesforce. Based on my research, it is not possible as per the Ideas Community I tried to test outbound message using a PutsReq. I ...
2
votes
1answer
100 views

Is it possible to customize the error message that appears when the user is unable to upload a file?

I'm trying to make a trigger that prevents the user from uploading a file that is larger than 100mb. I'm doing this by checking the file size in the ContentVersion trigger and using addError. However,...
2
votes
1answer
73 views

SFDX package version error

I have created a package.xml and added opportunity object from my sandbox. Then I have created a sfdx package but while versioning the package I am getting error from business process values. Error- "...
3
votes
1answer
80 views

How do I avoid a Duplicate-value during update in Trigger?

I'm changing the Clients__c value in Mopping__c if the StartDate__c, Status__c or Opportunity__c have changed in the needed Rent__c. Structure: if Mopping 1 is related to Rent 1 which is related to ...
1
vote
1answer
130 views

How can 'RaiseError' and 'InsertDE' AMPscript functions be used to catch ANY error in a Triggered Send?

We currently have a Triggered Send Definition that is encountering errors occasionally and preventing further emails from sending. Marketing Cloud support has been able to provide some error messages, ...
0
votes
0answers
32 views

Getting “ duplicate value found: Booking_Id__c duplicates value on record with id ” '' Error

I deployed changes from dev org to full sandbox successfully by ANT. Now I am getting Error as "Booking_Id__c duplicates value on record with id: 'ID' ERROR" while creating the new record. Previously ...
0
votes
1answer
373 views

field 'Name' cannot be sorted in a query call

I cannot seem to find anything specific to this error. Attempting to install a managed package and getting Dependant class error is a specific org. the error is essentially (minus the stack trace) ...
1
vote
1answer
35 views

Master-Detail Relationship causing problems with creating Related Records

We have a custom object to log our Activities with Customers. Until very recently, it had a lookup to that account. To better serve our reporting needs, I changed that lookup to a master-detail. Now, ...
0
votes
1answer
50 views

Trigger after update: System.FinalException: Record is read-only [duplicate]

I have a trigger: if(Trigger.isAfter && Trigger.isUpdate) { for(SomeRecord__c newRecord : Trigger.new){ if(Trigger.oldMap.get(newRecord.Id).Worker__c != newRecord....
0
votes
0answers
46 views

REST API Returning Error “system_down” with description “system may be currently unavailable”

I am using Salesforce's REST API to perform operations like GET Opportunity, DELETE Contact etc. I am using Salesforce's free Developer Edition. Occasionally the API returns the following error: { ...
1
vote
2answers
333 views

Lightning Web Components Playground error: An attempt was made to break through the security policy of the user agent

I'm currently receiving an error when attempting to use the Lightning Mini Playground or the Playground located here: https://developer.salesforce.com/docs/component-library/tools/playground The ...
0
votes
2answers
101 views

illegal assignment from datetime to date on SObject.put when merging Accounts

i have a method that gets an Account record and a List of Ids... Then, it merges the Account with all the ids in the list by keeping as Master Record the Account input. But when date fields have a ...
0
votes
0answers
8 views

Global Report NO LONGER Global

I created a Global Report for all my users that was working just fine. In the last couple weeks, two of my users stopped getting the report. I went to log in as one of them to find out why they ...
0
votes
0answers
27 views

Can I add custom error message on visualforce page instead of standard error message thrown by validation rule at the top of visualforce page?

Controller: Database.SaveResult[] sr = opportunityhandler.createOpportunity(oppObj); isErrorOcurred = checkErrorsInResult(sr); System.debug('isErrorOcurred>>>'+...
0
votes
2answers
56 views

How to display an error message from a trigger Update failure

I have an odd problem. I have a trigger to update opportunity owner if custom field value changes. As I am updating an owner field by selecting random user, sometime it is also possible that owner won'...

1
2 3 4 5
9