Questions tagged [error]
Error - A mistake or Getting unexpected output or Bug
911
questions
1
vote
1
answer
24
views
Issues with Json2Apex
I've generated JSON2APEX class for complicated JSON, but when I created an instance of this class I can't deploy class where this instance is created, compilator doesn't see inner classes and throws &...
1
vote
1
answer
65
views
+50
Case Assignment Rules cause permissions error for User, but Case is still created
Our Salesforce system has a private OWD for the Case object, with access opened up via Owner-Based Sharing Rules, Case Teams & the Role Hierarchy. We recently implemented assignment rules to start ...
-1
votes
1
answer
36
views
User Apex Error - List has no rows for assignment to SObject, I have added the exact error which am getting please go through it and help me
I have wrote below apex code, but its not working.
public without sharing class AP_FlowQuestionCtrl {
@AuraEnabled
public static QuestionInfo getQuestionRecord(
String ...
0
votes
0
answers
69
views
Can a User create a Case even if the assignment rules will cause them to lose access to it?
We have a bunch of case assignment rules in our system. Most Cases are created via an integration with an external web form, but some Cases are manually entered by Users in Salesforce (these are the ...
0
votes
0
answers
37
views
Unable to resolve Experience Site CSP Errors in sandbox
I'm not sure what has changed in Experience Cloud but suddenly I'm getting CSP errors for some images that I'm linking to in an HTML component. I'm struggling to resolve these errors and get the ...
-4
votes
0
answers
44
views
Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, EmailMessage: execution of AfterInsert [closed]
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, EmailMessage: execution of AfterInsert
caused by: System.NullPointerException: Attempt ...
1
vote
0
answers
71
views
Is it possible to deploy new pages to an enhanced lwr site with sfdx?
In my development org, I created a new page in my site using builder. I then retrieved the entire site with
sfdx force:source:retrieve -m DigitalExperienceConfig:SITE_NAME_HERE
which gave me the new ...
0
votes
0
answers
39
views
Dataloader error - !DAORowUtil.errorLastRun!
I am using dataloader to import a file but it's throwing error as.
Dataloader error - !DAORowUtil.errorLastRun!
I've tried using dataloader.io and the error there displays as
Error on line 1: There ...
0
votes
0
answers
23
views
Started to pay again, but my Nightscout app is not working
guys. I cancelled my paid subscription to Heroku last month, but now I decided to keep it on, as I want to have my Nightscout account alive.
However, although I enabled the paying option, I still see ...
1
vote
1
answer
60
views
Error handling if no data from parent to child LWC
I am new to salesforce and javascript. I am passing an object from parent LWC to child LWC. but some fields in the object are empty or null. Since I am directly accessing them in the child component ...
0
votes
1
answer
27
views
Lookup function in email builder returning error "invalid field" and does not pull data
I am trying to pull first name of a contact to my email (emailbuilder) through a simple lookup on my shared data extension.
<div style="display:none">
%%[
var @dataExtension, @...
0
votes
2
answers
51
views
Flow - Error Occurred: Too many query rows: 50001
I have built a flow that displays the closest accounts within a 10 mile radius. The flow is launched via a button on the account the user is currently viewing. Below is the flow:
This works perfectly ...
0
votes
1
answer
29
views
I am Trying to chain queuable class and write test class but i am getting error System.AsyncException Maximum stack depth has been reached
error which i am facing
System.AsyncException: Maximum stack depth has been reached
public class AccountQueable implements Queueable{
public void execute(QueueableContext qc){
Account ...
1
vote
1
answer
95
views
Setting up debugger with Apex Salesforce in Visual Studio Error "Either your org or user doesn't have the permission to debug Apex"
I am trying to set up breakpoint and debug my code in Apex, but for some reason I get the following error when running the debugger:
My lunch.json is as following:
I am using Scratch ORG and my user ...
0
votes
1
answer
32
views
Invalid constructor syntax, name=value pairs can only be used for SObjects: Calendarview
I am attempting to create a CalendarView object for my users. I am basing it off of the example code found here: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/...
0
votes
1
answer
32
views
Example Code from CalendarView Object Doesn't Compile?
I am attempting to create a calendar view object for my users. It is my first forray into Apex programming, so I have been referencing the example code in the developer docs.
I ran into an issue with ...
-1
votes
1
answer
53
views
Error: Incorrect number of parameters for function 'IF()'. Expected 3, received 1 on Validation Rule
I've been getting error on validating my formula to check if an option list has a certain value, and if any of the field has been changed, and I'm getting the error that it only received 1 parameter, ...
0
votes
0
answers
15
views
Keep receiving "Unknown Error" when updating Objects
A lot of my reps have been flagging errors when trying to update existing records on standard object from our Org.
UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you ...
0
votes
1
answer
67
views
Developer Edition - Salesforce Keeps Navigating To Salesforce Classic
I don't know why my Salesforce Developer Edition keeps directing to Salesforce Classic and getting those errors: DevTools failed to load source map: Could not parse content for https://xxx.my....
0
votes
0
answers
43
views
NUMBER_OUTSIDE_VALID_RANGE value outside of valid range on numeric field: 100.0
Using Salesforce REST API, I am getting this error on some records, and I cannot find the reason why.
I already checked this answer: NUMBER_OUTSIDE_VALID_RANGE: value outside of valid range on ...
1
vote
1
answer
127
views
Flow running as Guest User for logged-in user
I have an Experience Cloud site that has several screen flows embedded in it. I'm getting flow errors for multiple flows that say the running user is the site's guest user. There is no way for guest ...
0
votes
0
answers
259
views
Is it possible to add a fault path to the last element of a flow?
I'm adding fault paths into my flows, and whenever I try to add one to the last element of a flow (ie, "Update Status to Reopened" below), it always disappears as soon as I save it and ...
1
vote
1
answer
28
views
Related List Error on Package Creation
I have been able to do all the steps in creating an unlocked package,
Authenticate
Retrieve
Convert
But when I go to create the package, I am getting 2 types of errors:
Component [force:...
0
votes
1
answer
172
views
How to fix error in develop console: Failed to save test.cmp: Invalid attribute "name": Source
I am trying to show data of object.
Object:
test.apex:
public with sharing class test {
/**
* Webkul Software.
*
* @category Webkul
* @author Webkul
* @copyright ...
0
votes
0
answers
34
views
Salesforce CLI Export Error sObject type 'Product2' is not supported
I logged into CLI successfully with the command
sfdx force:auth:web:login -r https://login.salesforce.com
And tried exporting using the below command and below is the error
C:\Users\xxxxx>sfdx ...
0
votes
1
answer
119
views
Aura Component's <ltng:require> scripts not always loading
I am trying to add some drawing capabilities to the dreamhouse-lwc's auraPropertyListMap. The aura component uses the leaflet library, so I added the leaflet.draw plugin to the ltng:require. The ...
0
votes
0
answers
242
views
User gets "Another user recalled or responded to this request" error when approving a record in Lightning
Our Approval process was working fine until yesterday, we started facing this error. Even though we have not made any changes in the setup. Even with admin profile we are facing same issue
"...
0
votes
0
answers
17
views
why has "remote rejected (preconceive hook declined) errror: failed to push some refs" happened?
I'm making a website with Django from the textbook crash course python, cmd said tree was clean, but when I tried to push to Heroku I get this error. What can I do?
0
votes
0
answers
32
views
SERVER_ERROR ui.services.exceptions.SObjectException
I want to update a Task but when I tried to use the saveLog() API method then I got this
message:
code: "SERVER_ERROR"
description: "An error occurred while calling the saveLog() API ...
0
votes
1
answer
153
views
LWC component Dynamic Picklist Property causing rendering error on Community Record Page Context only
I've a custom LWC (Lightning Web Component) built to be used for a community (or Digital Experience). The component can be put on a Home Page or a Community Record Page.
I've few properties that ...
0
votes
0
answers
245
views
How do I fix dot-dot-slash error when running yarn dev using LWR v0.8.1
I've created a single page app with LWR v0.6.5 and it works great locally. When I upgrade to LWR v0.8.1 and run yarn dev the app returns this error:
[info] Watching: /Users/me/my-app/src/modules/...
0
votes
1
answer
55
views
Build Test Class For Invocable Apex Class (Invalid type: FilterObjectsByIds.filter)
I'm having difficulties building a test class for an Apex Class I found online, being used in a Flow to help update records from a many-to-many relationship.
With the current setup, I get the error ...
0
votes
0
answers
126
views
Bizarre Flow error when deleting records that were queried: ENTITY_IS_DELETED
I have a Platform-Event Triggered Flow which does the following:
After insert of a Platform Event record...
Get OpportunityLineItem records related to an Opportunity
If the result of the above query ...
0
votes
0
answers
87
views
Error while creating a Salesforce Einstein bot in Trailhead Playground with "Create New Bot" button
I'm new in Einstein and I wanted to learn how Einstein bots work by putting them in action.
However, I think I did configure everything necessary (for example enabling the chat feature and Einstein ...
1
vote
1
answer
138
views
Flow Related Error: System.LimitException: Too many SOQL queries: 101
I created a flow that captures the 'Duration' spent in each Opportunity Stage. When I run the flow I am getting the following error: System.LimitException: Too many SOQL queries: 101. I know it is ...
-1
votes
1
answer
44
views
Parameter Error, " Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 1 Validation Rules
I created a validation rule, however, one field is giving me an error: Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 1.
Here is the original validation rule:
...
0
votes
2
answers
294
views
Strange error force:org:shape:list: Cannot read properties of undefined (reading 'length')
Strange error force:org:shape:list: Cannot read properties of undefined (reading 'length')
When I executed a command force:org:shape:list, I am obtaining a very strange misterious error: Cannot read ...
0
votes
2
answers
40
views
From post install script weird error: Not Serializable: System.Version stack trace External entry point
I execute a post install script and sometimes a weird error is happening:
Not Serializable: System.Version stack trace External entry point
I don't understand what is going on since looks like the ...
0
votes
0
answers
787
views
Receiving Error ID in Debug for Flow
I have a record triggered flow on the lead object. The flow is supposed to realize that one step in the process has been completed, updating a field and sending an automated email. User asked if this ...
1
vote
0
answers
81
views
How do i remove this error?
@isTest
private class DummyTest {
static final String NAMESPACE = PeopleCloudHelper.getPackageNamespace();
static testmethod void testCombinedAllType() {
System.runAs(...
3
votes
0
answers
162
views
Recalculate formula field in unit test code
While trying to recalculate a formula field "cross-object" i came across this weird error.
Code to reproduce:
Product2 product = new Product2(
ProductCode = 'CODE1',
// ...
1
vote
1
answer
107
views
workbench access issue "this app is blocked by Transaction Security"
some of my colleagues have issue with accessing to workbench. When they try to login they receive below error:
app_blocked: this app is blocked by Transaction Security
Is it SalesForce account issue?...
1
vote
1
answer
223
views
Getting Insufficient Privileges Error Trying to Rename Custom Object API Name
I'm attempting to rename the API name of a custom object, however when I change the name and click save I get the following error:
You do not have the level of access necessary to perform the ...
0
votes
1
answer
84
views
Error While Calling Method
I have written a code for validating the email address. when i click on validation email button it is showing the error like below:
This page has an error. You might just need to refresh it. Unable ...
0
votes
1
answer
553
views
Uncaught (in promise)
I am working in this app and everything works so fine and no errors so far but I accidentally click this "SFDX: Turn On Apex Debug Log for Replay Debugger" instead of new LWC so I tried to ...
0
votes
0
answers
208
views
Error while upserting PricebookEntry
Issue
I am getting this error while upserting pricebookentry on an external ID
Batch_RDM_PriceBookEntries_Update:execute:errorMessage : The following error has occurred....
1
vote
1
answer
289
views
Why gack Id Error ID: 248606545-14096 (-1147209962) is displayed when I try to review the information for my managed package?
Why gack Id Error ID: 248606545-14096 (-1147209962) is displayed when I try to review the information for my managed package?
I cannot view the details of my 1GMP because of this Gack Id.
0
votes
0
answers
159
views
Inline editing in datatable error on saving
I created a datatable with inline editing but there is an error popups if I try to save it after editing. I open the console and it says "Apex update result: false". Can anyone help me why ...
0
votes
1
answer
232
views
Component Error has occurred: Uncaught Error in $A.getCallback() [ErrorAttempt to de-reference a null object]
I am not a developer but would like guidance into an issue a specific User sees when trying to add List Members to a Campaign. This only applies in Prod and not UAT. Not sure where to begin.
A ...
0
votes
1
answer
150
views
Getting a 404 error for the Salesforce CDP Consent AP Action "Shouldforget"
I am using Salesforce's documentation on how to use their Consent API to delete records in CDP by using the write parameter action "shouldforget". Nonetheless, I am getting a 404 Not Found ...