Questions tagged [error]

Error - A mistake or Getting unexpected output or Bug

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Lightning flow error - Works fine on desktop but fails on FSL app

I have a lightning flow that creates an object record and child records related to it. When I try to run this flow using quick action in FSL app on iPad it gives "Required fields missing: ParentId" ...
0
votes
1answer
12 views

Creating A Default Scratch Org in Visual Studio Code for Salesforce.. Getting Error with Exit Code 1

I am new to Salesforce Development. I just installed Visual Studio Code. I did successfully auhorize my Dev Org. But I am having issues when creating a Default Scratch Org. THe following the error ...
0
votes
1answer
19 views

How do I stop oncomplete action on button if action throws error and display the error, on a modal VF page?

I have a modal VF component displayed over a VF page (opened as a result of click on a button on the underlying page), from which I enter a few criteria and then click a button to generate a VF PDF ...
0
votes
0answers
20 views

Where can I find the list view for queues

I am trying to create a package for migration. I am getting the error: "ListView - LiveChatTranscript.Queue1_LiveChatTranscript - The queue queue1 has not been setup to support the object: ...
0
votes
2answers
48 views

Error using dynamic lists in Lightning Web Components

I'm coding an autocomplete feature and I'm stuck with a problem. When my tracked list value is updated with the array that had just been sorted, sometimes an error happens and the list is not updated. ...
1
vote
2answers
88 views

Unable to load 3rd party lib in Lightning Web Component

I'm trying to import a 3rd party javascript library from static resources in my lightning web component. I followed the exemple given in LWC documentation. I encounter the folowing error : ...
0
votes
2answers
68 views

Error when wrapping Lightning Web Component in Aura App

I have an developed with the new Lightning Web Component framework. The issue comes when I wrap it in an Aura app it order to expose it direclty at a single URL. Everything works except that when I ...
1
vote
1answer
32 views

Stack trace reference in Salesforce Commerce Cloud

On my sandbox, in my logs, I got an error and I got a reference to the stack trace of the error: Stack trace <ref:a6d7f20c52ed080c41c1e8e66b1bac4f> Is it possible to find the stack ...
0
votes
2answers
46 views

“Cannot read property 'setCallback' of undefined” in “window.setTimeout”

I'm trying to call a function every 10 seconds. But I'm getting this error: Uncaught Error in $A.getCallback() [Cannot read property 'setCallback' of undefined]. What is wrong? doGet : function(...
0
votes
1answer
17 views

Permissions error when attempting to “View All” Activities in Lightning

When I log in as one of our users from a desktop browser and click the "View All" button on the Activities (timeline) component, I get the following error message: You can't view this page, either ...
0
votes
0answers
20 views

Lightning Community - Top of Page Cut Off

I have a Lightning Community using the Partner template. Sometimes when I go to a page, the top inch or so doesn't load. The space isn't empty - it's totally gone and the rest of the content has ...
0
votes
0answers
13 views

“Failed to Initialize a component” after logging in

A coworker received the following message yesterday while logging into Salesforce. Failed to initialize a component [Definition does not exist on the client for descriptor:markup://force:...
0
votes
0answers
24 views

Best way to log an error [duplicate]

Which is the best way to log an error/debug logs in Production enviornment (Salesforce/apex)?
0
votes
0answers
63 views

Getting errors with LWC trees during expansion and contraction

Hello I am working with lazy loading of the Lightning Web Component - Trees. The data is loaded correctly and I don't get any errors then. But, I am getting errors on my browser dev console when I try ...
4
votes
1answer
181 views

Attempt to de-reference a null object: list initialization

I initialize the list at the beginning of the code. In one of the methods, I add values ​​to it. In another method, the list is already empty. But I need these values ​​in the second method. How to ...
6
votes
1answer
82 views

When and why to use $A.reportError?

In the documentation Using JavaScript Promises it is mentioned To show an error message in a catch() method, use $A.reportError() Why would I want to use $A.reportError that at all? I could use ...
0
votes
0answers
27 views

Trailhead Error on Verifying Step - There was an unexpected error while verifying this challenge

I keep intermittently running into this error while working through different Trailhead exercises. Sometimes it disappears without my changing anything in the org at all (except letting time pass and ...
0
votes
1answer
29 views

ContentDocumentLink Throws an error using ContentVersion Object “ContentDocument ID: id value of incorrect type”

today i'm trying to upload some files to SF using Content objects. I already uploaded the ContentVersion record and the image is in SF now. The problem is when i try to upload the ContentDocumentLink ...
1
vote
2answers
180 views

Flow Error - Apex CPU Time Limit Exceeded

I have a flow that is supposed to update multiple Account records and then triggers a process builder to update their related Opportunities. This happens at the start of the new fiscal year to set up ...
0
votes
0answers
36 views

Error on a Future Method, But I Don't See How It's Being Called to Begin With

The only awareness I have of the error is from this email notification : Apex script unhandled exception by user/organization: 0051H000009g2Fv/00D1H000000NPnk Failed to invoke future method 'public ...
0
votes
0answers
27 views

Visualforce dropdown rendering invisible values

I have a Visualforce page using Lightning stylesheets with reRender attributes on the time selectList. For some odd reason, some users are experiencing intermittent issues with the picklists ...
0
votes
0answers
13 views

ErrorObjectNotFound javascript error on upload csv

I was working on a feature to load records as picklist values on to a custom lookup component from a csv upload. The functionality was working as expected, but I get an error that says "...
0
votes
1answer
99 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
0answers
81 views

Deployment fail record page

When i try run deployment appears this error, anyone know what is this? error: invalid property [rowstodisplay] in component [force:relatedlistcontainer] []1 i think this happened because i inserted ...
2
votes
0answers
62 views

403:denied_by_security_policy:create_denied when subscribing to platform events

This error is thrown when I try to subscribe to a platform event using the EMP-connector. I followed the steps outlined in the documentation: https://developer.salesforce.com/docs/atlas.en-us.220.0....
0
votes
1answer
33 views

PDF generation failed. Check the page markup is valid. When adding <tr> tag in VF page

I have a VF page as PDF. I have added <table>, <tr>, <td> for all the section. When I am running the page it is throwing error: PDF generation failed. Check the page markup is ...
2
votes
1answer
145 views

SFMC SSJS error handling - try catch

I have the following code: <script runat="server"> Platform.Load("Core","1.1.1"); try{ var logDE = DataExtension.Init("testDE"); throw "this is an error"; logDE.Rows.Add({"c1":"...
1
vote
0answers
31 views

How to customise community generic error pages

I have a community using URL: https://xxx-mydomain.cs83.force.com/community/s/ When I remove the /community/s/ I get a salesforce branded error page. I want the generic Salesforce error page to be ...
0
votes
0answers
16 views

Prevent 'Uncaught Action failed' popup from displaying in lightning

Problem Throughout our code base we use throw 'Error', in lightning, to prevent code from continuing. There are times we display our own error toast and do not care for the Salesforce provided one. ...
-2
votes
1answer
47 views

Upsert failed. First exception on row 1; first error: FIELD_INTEGRITY_EXCEPTION, This price definition already exists in this price book: [] [closed]

guys, anyone would help me to understand with this error? I new in salesforces.
2
votes
1answer
232 views

Launch Flow from Button in Lightning Community - “down for maintenance” error

Summary: I'm getting a "down for maintenance" error in my Lightning community when I click a custom button that launches a screen flow to create a user from an existing contact. The button works in ...
0
votes
0answers
84 views

Invalid_grant:authentication failure when signing on to Salesforce Workbench

I'm unable to login to Salesforce Workbench using a custom Salesforce domain for Sandbox environment. I'm getting the error invalid_grant:authentication failed. However if i try to sign on to a ...
2
votes
0answers
480 views

Workbench error

When the use the following query: SELECT Id,Name,Status_vod__c FROM Call2_vod__c WHERE Status_vod__c = 'Submitted_vod' and LastModifiedDate<= 2017-03-31T23:59:00Z I get the following error ...
0
votes
0answers
28 views

How to join Partner program? Email error

I am trying this trailhead, AppExchange Partner Basics, and I can't register for Partner program: https://trailhead.salesforce.com/content/learn/modules/isvforce_basics/...
4
votes
1answer
270 views

Error: Cannot find module '@oclif/config'

I already sort of asked this question but there doesn't seem to be a solution for it. So I figured I would ask a new question about work arounds people have done. When running any form of sfdx ...
0
votes
1answer
20 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. ...
4
votes
2answers
576 views

Error when running sfdx update to 7.1.3 then sfdx push errors

When I ran sfdx update from 6.56.0 to 7.1.3 I got the error below. And when I run sfdx force:source:push I'm getting the below error. Are these two related? I'm not sure where to start on the second ...
2
votes
1answer
54 views

Error when using setOrgWideEmailAddressId in SingleEmailMessage [resolved]

I'm trying using setOrgWideEmailAddressId in my class Apex but he return this error: 718403274-125341 (195485361) Code: @AuraEnabled public static void sendEmailReference(String strEmail){ ...
1
vote
2answers
787 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} ...
6
votes
2answers
223 views

SOQL query causes internal Salesforce error

I've hit an unhandled exception when writing a query, and I'm curious if anyone here has seen the same thing. This is not a timeout issue - the error happens almost immediately, so it's not a query ...
3
votes
2answers
585 views

Concurrent requests limit exceeded - how to find the problematic code

I am a developer for a Salesforce org that serves as a community portal for thousands of users. We have been consulting with a large team of developers for years and everything we have is custom coded....
2
votes
0answers
128 views

Error handling when publishing platform events

We are in the process of redesigning our system to use platform events as a replacement of traditional trigger-based approach when all processing happen synchronously sharing single transactional ...
0
votes
1answer
115 views

System.UnexpectedException: Invalid parameter value for parameter “Decryption Exception”

I tried to execute some code in a sandbox and I got an odd error message: System.UnexpectedException: Invalid parameter value '****' for parameter "Decryption Exception". Looks like it happened ...
0
votes
0answers
61 views

Exception method getStackTraceString is empty ()

I'm sending any errors that our try/catch blocks catch to Slack and for some reason all the Exception info is filled out apart from the getStackTraceString method. It's a method within a class: try {...
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:...
1
vote
1answer
207 views

FIELD_INTEGRITY_EXCEPTION when creating Price Book Entry from flow

I have created a flow that creates a pricebook entry for new products (based on a custom field on the Product object), however when I debug the flow it comes up with the following quite generic error: ...
-1
votes
1answer
47 views

grunt build does not work for SGJC

I am trying to follow the steps described over here. So, I come to the part where I am ready to run the grunt build command. And here is the output I am getting after running it: $ grunt build >&...
3
votes
1answer
364 views

“SerialBatchApexRangeChunkHandler Internal Salesforce.com Error” from a batch execution

We are an ISV and we have a managed package. In the managed package we have an implementation of Database.Batchable that is also implementing Database.Stateful. It is global, so is part of our exposed ...
10
votes
1answer
3k views

Log to console in a Lightning Web Component

I am attempting to write a Lightning Web Component, but continually run into errors in my Javascript that I can't debug. I've been trying to log my error but when I put console.log() anywhere in the ...
0
votes
1answer
38 views

SearchUi.orgHasAccessToSearchUiPages error

I'm seeing a strange error today. Our org has a visualforce page where guest users insert a record. One of the fields for this record is a lookup. We allow these users to use the spyglass to search ...