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
3
votes
1answer
62 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
52 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
137 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
563 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
38 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
17 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
33 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
38 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
74 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
0answers
71 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
44 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
25 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
35 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
27 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: { ...
0
votes
0answers
73 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
65 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
20 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
41 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
16 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
25 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
84 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
191 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
87 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
34 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
45 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
141 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
692 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
292 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
270 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
51 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
21 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
122 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
39 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
41 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 ...
0
votes
0answers
199 views

Apex Error on CPQ Advanced Approval with with Dynamic Approver

I have created an Approval Rule in CPQ Advanced Approvals with a custom lookup to the Manager ID of the Salesperson on a Quote (Theater_Manager_ID__c) as the Approval Field. When I submit a quote to ...
2
votes
1answer
42 views

Error not bubbling up from delete trigger

I need to prevent deletion of our dummy account, which is part of the Lead conversion process under certain conditions. And it does prevent deletion. However, the error I am adding to the account ...
0
votes
0answers
148 views

{“message”:“Session expired or invalid”,“errorCode”:“INVALID_SESSION_ID”}

Help! We are getting this error with our connected app. {"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"} What could be causing this? We are using sandbox. The Instance URL ...
0
votes
0answers
33 views

Standard text field throw error on inputting and not after save button is clicked

Billing Country is a standard compound field where on typing value , is there a possibility to throw an message rather than on save throws like validation rules.
0
votes
1answer
27 views

Is there a list of all places in SF config where UI error messages can be defined?

When creating an Account I encountered an error message: Looks like a custom message but I searched over every possible place I know where custom error messages can be created and didn't find it. ...
0
votes
1answer
920 views

No COMPONENT named markup://svg found [duplicate]

After downloading the SLDS I have copied a detail form from the lightning design system to the salesforce console. But when I save there is a popup saying "No COMPONENT named markup://svg found". I ...
5
votes
1answer
3k views

LWC: How to get access to proper Error message when statically calling an Apex method from LWC?

I call an Apex method statically. @AuraEnabled public static Id insertx(){ insert new Account(); } From a LWC component: insertx().then( () => {}) .catch(error => {this.error = error;}...
1
vote
2answers
2k views

How to use Lightning-Record-Form onError to display custom error message

Let's say I have a Lightning-Web-Component that uses lightning-record-form like this: <lightning-record-form record-id={recordId} object-api-name="Opportunity" fields={myFields} ...
2
votes
1answer
1k views

Lightning Web Components Clear Lightning-Messages

Let's say I have a Lightning Web Component which looks like this: <template> <lightning-record-edit-form object-api-name="Opportunity" onsuccess={handleSuccess}> &...
1
vote
1answer
2k views

LWC Navigation: “this[f.NavigationMixin.Navigate] is not a function”

When attempting to use the Lightning navigation service in my component's base class (.js), I receive the following hard error when functionally testing in the UI: this[f.NavigationMixin.Navigate]...
1
vote
2answers
144 views

System.QueryException: execution of BeforeUpdate caused by List has no rows for assignment to SObject ()

I am receiving the following sync error in Pardot: System.QueryException: execution of BeforeUpdate caused by List has no rows for assignment to SObject () I think it is this trigger that is ...
0
votes
0answers
19 views

Error on Dashboard

Can you please help me to understand why I am getting this error. Arithmetic error: Division by zero Error is in expression ’{!IF((item.actualRev/item.targetRev)*100 >= 100,‘background-color:...