Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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

What is error ID: -78170657

Logging into Salesforce generates this error: This page has an error. You might just need to refresh it. First, would you give us some details? (We're reporting this as error ID: -78170657) This ...
user avatar
0 votes
0 answers
21 views

How to throw error message on vf page when picklist value is No

I have a VF page and there is a field Price_verified__c having two values, Yes and No. When 'No' is selected and the save button is pressed, it should throw an error message: "Price should be ...
user avatar
0 votes
0 answers
43 views

"Dependant class invalid needs recompilation" error after upgrading to API version 53

I have upgrade some classes in my org to version 53, while deployment i get the error " Dependant class is invalid needs recompilation". As per the Salesforce article I have tried compiling ...
user avatar
0 votes
2 answers
45 views

Validation to allow one decimal only

I'm looking to validate percentage field type to ensure they contain only one decimal and can be between 0.0 and 100.0.I want to see an error message when more than one decimal is entered. I tried ...
user avatar
-1 votes
1 answer
46 views

Getting error while scheduling apex class : "You must select an apex class that has a parameterless constructor"

I have an apex class that was scheduled and working fine. Due to inactive user the scheduled job has stopped working and now I am trying to create a new schedule for the apex class but getting below ...
user avatar
0 votes
0 answers
34 views

Static method cannot be referenced from a non static context - trigger before update failing

I understand questions like this have been asked in the past, mostly relating to test classes from what I've seen. I've spent hours trying to find a legitimately applicable question/answer to the ...
user avatar
0 votes
0 answers
37 views

Marketing Cloud Splunk Integration

Is there any guide to integrate Splunk with Marketing Cloud? There are no solutions (or addons) available online, or any documentation that Salesforce Support could share. As I understand, Splunk ...
user avatar
  • 2,233
4 votes
1 answer
162 views

Salesforce Error Publishing Community 1715759908

I created an Experience Site in a developer sandbox. Once it was ready, I deployed the experience Bundle, Site, Network and all related metadata (LWC, Aura Components, Classes, Fields, etc.. ) to a ...
user avatar
  • 1,204
1 vote
1 answer
38 views

errorCallback not catching exception in child when thrown in apex call promise

I have a web component (lwc) with a child component that makes an imperative server call. When an exception is thrown by the server the parent component is not catching it in the errorCallback. The ...
user avatar
0 votes
1 answer
39 views

Compile Error: Unexpected token '<EOF>'. at line 29 column 1 - when trying to comment out code

I'm an administrator not very familiar with code; I have been trying to deactivate a legacy apex trigger that predates me joining my company but it is causing some system issues. An option brought to ...
user avatar
1 vote
1 answer
131 views

2GP Managed Packages don't notify on Unhandled Apex Errors

Other than the official documentation and related SFSE questions indicate the Error reporting of Second Generation Managed Packages (2GP) seems to behave differently that with 1GP. I want to make this ...
user avatar
-2 votes
1 answer
43 views

add all active users to a chatter group

I am trying to add all active users in our org to a specific chatter group using the anonymous window, but I get this error message saying Line: 7, Column: 20 Variable does not exist: id" not ...
user avatar
  • 11
2 votes
1 answer
49 views

Inner Class Without Sharing not working as expected

I found this post (Sharing rules and Inner classes), which references documentation that inner classes do not inherit the sharing of their container class. From the documentation: Both inner classes ...
user avatar
0 votes
0 answers
326 views

Display a alert message on Lightning Component (Pop up Modal)

In my pop up search when my select returns zero records, I want to show the alert message and if its searching for existing records I want show the different alert message too. I added the error ...
user avatar
1 vote
1 answer
62 views

How to get UpsertData function to insert data into the data extension?

On the landing page I have a form that is submitting and gathering all the RequestParameter values. When it gets to the UpsertData function it doesn't fire even the few values I have in the function ...
user avatar
  • 11
0 votes
1 answer
52 views

Error when sending report from sales cloud

I have been trying to send an email containing Lead Report from sales cloud. The email when received shows the message "Failed" with an error report in the body. The error states "Error ...
user avatar
1 vote
1 answer
778 views

Portal user cannot edit own account and cannot create new contacts (portal users cannot own partner accounts)

I'm creating this question to share the errors i've found trying to enable Customer Portal Users to edit their Account record, and to create new Contact records, and the solution i've found. I do it ...
user avatar
0 votes
1 answer
18 views

Apex trigger before update generate problem with Aura methode

My trigger beforeUpdate cause me a problem , i have a button in the header named Validate and this button call the methode below 'UpdateHeader' , but when the user is not the AdminUser , he can ...
user avatar
1 vote
1 answer
49 views

Issues with 2GP managed packages and connected apps

I've been unable to create a package due to this following error: : An unexpected error occurred. Please include this ErrorId if you contact support: 1290395039-462760 (-600457350) This occurs when ...
user avatar
0 votes
0 answers
60 views

NoErrorObjectAvailable Script error in my LWC

I read all question about this error and I cannot find the problem in my code. Here it is: HTML: <!-- ComboBox Main Guilds--> <lightning-vertical-navigation> ...
user avatar
  • 157
1 vote
2 answers
56 views

Apex:Form is inconsistently using JavaScript validation versus ServerSide Validation

I have very peculiar problem. I have two components that are in a visualforce page. The design is the same for all the components. We get a list of records and immediately below it we have a form that ...
user avatar
  • 1,268
-1 votes
2 answers
95 views

How to resolve "You can’t delete this auth provider as an authentication method because your org or Experience Cloud site is currently using it"?

How can Auth. Providers be removed from Experience Cloud sites? When I attempt to delete my OpenID Auth. Provider in my Sandbox, I am receiving the following error: You can’t delete this auth ...
user avatar
-2 votes
1 answer
83 views

Account Validation Rule not working

I am working on a validation rule which appears to be simple but it is not working as expected. The requirement is below. when creating an account, if the account recordtype is "child", and ...
user avatar
-3 votes
2 answers
87 views

Is it possible to know WHY SOQL retrieves EMPTY?

I have a SOQL in an APEX Class, and it works okay when I'm logged as a System Administrator User, but it gets empty when I log as a different user. I suppose it could be permissions and field ...
user avatar
  • 157
0 votes
0 answers
38 views

Marketing Cloud Simple Query with filter Bad Request - Need Help

I am making the following REST GET call: https://{{et_subdomain}}.rest.marketingcloudapis.com/asset/v1/content/assets?$page=1&$pagesize=50&$orderBy=AssetType asc&$filter=AssetType.Views....
user avatar
4 votes
1 answer
210 views

Rest API - Set polymorphic Lookup with external Id

I am wondering If it is possible to set a polymorphic lookup value with external Id with Rest API. I didn't find any documentation on this and it does work for me. Here I am trying to set the lookup ...
user avatar
  • 423
0 votes
1 answer
112 views

Salesforce FLow : Delete records of different objects (I got an error when an object not found and the flow stops without deleting the others)

I want to delete records of different objects, I have 4 object that i need to check if they exist and if it is the case i want to delete them. My problems is if for example the first object is not ...
user avatar
0 votes
0 answers
47 views

Setting default picklist values

I have 2 dependent picklists (Picklist-A & Picklist-B). I am trying to set the default picklist value for Picklist-B, based on Picklist-A selection. i.e. If Apple is selected on Picklist-A, then ...
user avatar
  • 79
0 votes
0 answers
52 views

Capture error messages with a single validation rule caused by a record triggered flow initiated by a lwc or send error msg from flow back to the lwc

I have a quick action button the calls a lwc component modal. In the final stage of the modal when I click Save lwc calls the updateRecord method of the uiRecordApi on the case object, which starts a ...
user avatar
  • 456
0 votes
0 answers
139 views

Required fields for Messaging Notification action in the flow

I have a flow in which I send an SMS and use the Messaging Notification action for that. I pass all required fields to the action but in the Messaging Templates Error Log tab I see the error: You’re ...
user avatar
  • 1
2 votes
0 answers
33 views

How to set Custom Message when throwing Exception from RegistrationHandler

I successfully integrated an Open Id connector(via Auth. Provider) with our Salesforce environment, we can log in successfully. But sometimes you should not get access because you don't have the right ...
user avatar
  • 176
2 votes
0 answers
92 views

Salesforce Flow: Error Handling

I have a screen flow and i want to manage Error Handling. So, in the "Fault" path, i have added a screen element where i show the {!$Flow.FaultMessage}. The problem is, that the FaultMessage ...
user avatar
1 vote
1 answer
157 views

How can I see how a LEX dashboard component was originally configured, after error message that field is no longer available?

I've been trying to update a dashboard I created a year ago, where multiple of the components now populate with the error message: "One or more of the fields selected in the component is no ...
user avatar
1 vote
1 answer
43 views

Clear Only Row-Level Errors in Datatable

I'm trying to do datatable error-handling using the built-in errors attribute. For the sake of example, let's say I have a datatable like this: <lightning-datatable columns={columns} data={...
user avatar
  • 461
2 votes
0 answers
186 views

Database.upsert( LIST, FALSE) returns for each Database.UpsertResult only CUSTOM validation errors when a record has both CUSTOM and SYSTEM errors

I am wondering if the statement I posted as the title is correct and/or perceived as a normal flow of execution. THE CONTEXT: I've got an APEX method that is used from a Lightning Component to upsert ...
user avatar
1 vote
0 answers
78 views

UNABLE_TO_LOCK_ROW error on user object triggered by platform event trigger only during deployment of destructiveChanges.xml

We have a platform event trigger that fires when users login. It fires hundreds of times per week and does not throw any errors. Three times in the past week, it has thrown an UNABLE_TO_LOCK_ROW ...
user avatar
  • 4,203
-4 votes
1 answer
109 views

Custom error message is not showing on Visualforce page

// VFP <apex:page controller="NumberClassErrorMessage" wizard="true"> <apex:form > <apex:pageBlock title="Number Calculations"> &...
user avatar
1 vote
1 answer
33 views

Error on Save: How to Inform the User in a Controller Extension

I have built a controller extension for use in a custom NewQuote page (see image below). The controller extension initializes a number of custom fields with data from the Opportunity. The Quote ...
user avatar
  • 163
2 votes
2 answers
341 views

Display Validation Error for Inline Editing

I have an LWC with a lightning-datatable that allows for inline editing. If the field update violates a validation error, how do I display that specific validation error. I conole.logged the error ...
user avatar
  • 329
0 votes
1 answer
125 views

Handling errors with future callouts from Trigger

My design is that whenever an account is created, It calls an 'after insert' trigger that makes a future callout to an external system and sends the account details. If there's an error in the future ...
user avatar
2 votes
2 answers
926 views

Display error in toast from imperative call

I am trying to show the error message from the apex method exception as a toast message while doing imperative call in lwc. I am using ldsUtil.js to simplify the error message. But either way, I am ...
user avatar
  • 295
-2 votes
1 answer
3k views

How to display an error message through text in a record triggered flow [closed]

Need to display an error message on a record triggered flow.
user avatar
0 votes
0 answers
26 views

Handle new data from a merged Lead

I have a process that is sending Lead data out of Salesforce. The system of record is Salesforce. 3 months later, the Lead data sent comes back into Salesforce with updated data. There is a chance ...
user avatar
  • 2,698
0 votes
1 answer
41 views

Apex: Where is a good/recommended place to store custom error messages?

In order to avoid creating duplicate string literals (the error messages) in both the class that would, for example, throw an exception and its corresponding test class, where is a good/recommended ...
user avatar
0 votes
0 answers
103 views

Is it possible to create a custom error message for an autolaunch flow when it fails?

Heyyo I'm using a flow to update a text field on the opportunity. It loops through the added products on the opportunity product line and then updates the text field. I also have a validation rule on ...
user avatar
  • 3
0 votes
0 answers
104 views

Unable to update Multi-Select Picklist via Apex (INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST_

I have a Multi-Select Picklist that is being updated from a Lightning Component. I have a server-side apex class that is handling the logic for updating the field after user input. What is frustrating ...
user avatar
0 votes
1 answer
139 views

Informatica job failing with UNABLE_TO_LOCK_ROW:unable to obtain exclusive access to this record or 1 records: 001

Our Contact model is Private and there is a relationship with the Account object but it is a Lookup and NOT Master-Detail. We also have a custom setting which makes sure that not Triggers are running ...
user avatar
  • 191
0 votes
1 answer
500 views

LWC Lightning-input custom validation for max length, no error message comes on blur

<pre> <lightning-input type="text" label="Enter some text" max-length=10 message-when-too-long="Max 10 characters allowed"></...
user avatar
0 votes
0 answers
252 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 ...
user avatar
2 votes
1 answer
118 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: ...
user avatar
  • 61.5k

1
2 3 4 5
10