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

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
30 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
8 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
15 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
15 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
29 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
20 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
46 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
29 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
31 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 ...
14
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 crush anyway, and we can find the error in logs even without this construction. What the main point of try/catch? ...
0
votes
0answers
9 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
86 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
81 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
143 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
570 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
101 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
22 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
48 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
52 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
77 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
94 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
123 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
29 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
37 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
28 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
156 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
79 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
22 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
44 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'...
0
votes
0answers
19 views

Am getting Outh Error 1800 while trying to login to salesforce from external application

Am getting Oauth 1800 error when I create a developer account with region as United states , and when i create a developer account with India or Australia am able to successfully sign in from ...
0
votes
0answers
28 views

Encountering an error Error: invalid cross reference id when attempting to save a Survey

I am encountering an error error Error: invalid cross reference id when attempting to save a Salesforce Survey version that was created by another user. I must save it before I can Activate it. Does ...
1
vote
4answers
165 views

Apex CPU time limit exceeded error in trigger

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
1answer
327 views

How do I add a toast message to a standard Salesforce page? Something like addError, but not an error

How do I display information in a toast message using Apex? I want to show the message via a trigger on the Opportunity object. I can't use addError, because addError prevents the user from saving the ...
0
votes
0answers
18 views

Insufficient Privileges Error message- when trying to print SO- PDF

Purchasing manager is no longer able to print SO- PDF - keeps receiving this , error message - IN SF- Classic but everyone else is fine, and can perform the action just related to her PC - Could this ...
0
votes
1answer
134 views

How to achieve custom error handling on lightning:inputField base components?

With the record:EditForm lightning base component, one can now easily ensure that picklist values are displayed dynamically based on the record type that is chosen. Instead of having to leverage the ...
0
votes
0answers
36 views

how do I throw an error for a site.com guest user

I am trying to throw an error for a site.com guest user but I am not getting any exception what am I missing? Apex: public class webToCareerAttachments { private final Career__c webCareer; ...
0
votes
0answers
49 views

How can i get HTML element in a lightning component controller?

Scenario: I'm saving a record in a modal popup, when the record is saved i need to check if there are any error added on the page. The record is exposed using: <force:recordEdit aura:id="...
1
vote
1answer
195 views

I want to display an error message on top and bottom of a Visualforce page using Apex. How to do so?

We have used this code previously for showing error, but now we want to show the error on top and on the bottom of the page: ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.ERROR, ...
3
votes
1answer
831 views

SFDX won't push to scratch org? No error detail

My current scratch org is expiring today, so I created a new scratch org and tried to push my source. It seems like it's working on the task for a minute or so, then gives me an error with no detail: ...
2
votes
1answer
417 views

How to track down an internal server error?

I'm getting an internal server error message, wondering how I track down the cause? I have a custom lightning component (lwc) that runs fine when dropped into a tab on a Campaign record page. ...
0
votes
1answer
367 views

Apex trigger helper class - deployment error “variable does not exist”

I'm trying to deploy an apex trigger from sandbox to production. But when I test/validate in production I'm getting the error "variable does not exist" for the trigger's helper class: Trigger '...
0
votes
1answer
66 views

Custom error messages on standard salesforce edit view from other object trigger

When I insert a Case I have a trigger that automatically inserts an opportunity among other things to that Case. When something fails due to an expected error I want to be able to customize the error ...
2
votes
0answers
26 views

How do I show a custom error message instead of 'No applicable approval process was found'? Salesforce [duplicate]

I would like to show a custom error message to override the standard Salesforce message of 'No applicable approval process was found.' The error message is due to the user not checking a box, which ...
1
vote
1answer
147 views

Resolving AMPscript Error Codes

I've received a MC Support case for a journey triggered send that outlines these 4 error codes relating to an AMPscript listed below. OMM_FUNC_EXEC_ERROR OMM_VAR_SET_EXPR_INVALID ...
-4
votes
1answer
40 views

apex error for trigger [closed]

hi all i have written this code but it is showing error expecting this ';' instead of ')' can anybodt tell me the answer? trigger triggeroncountry on country__c (before insert) { Lead mylead =...
0
votes
0answers
55 views

Only display the error messge returned from System.AuraHandledException?

How would I parse out only the error message that I get from my server side code as seen here: http://prntscr.com/nlldsn Here's the try/catch block I'm using: try { insert ...

1
2 3 4 5
8