Questions tagged [error]
Error - A mistake or Getting unexpected output or Bug
857
questions
-2
votes
0
answers
23
views
I tried to do deployment from SFDX and I've got an error "Dependent class is invalid and needs recompilation"and that error occurs after recompilation
I tried to do deployment from SFDX and I've got an error "Dependent class is invalid and needs recompilation" and that error still occurs even after "recompile all classes" and ...
-1
votes
1
answer
30
views
Flow formula expression is invalid: Syntax error. Found ')'
I am also running into the same error The formula expression is invalid: Syntax error. Found ')'
I am trying to create a formula in a flow.
IF ( {!radio_Please_select_a_product} == {!...
0
votes
1
answer
34
views
The datediff function requires 3 argument(s)
We have been working on this query for a while and can't understand what the error means that we are getting. The error is "The datediff function requires 3 argument(s)"
SELECT
a....
0
votes
0
answers
38
views
DHTMLXGrid library import to Lightning Web Component
I would like to ask if someone has used DHTMLXGrid library https://dhtmlx.com/docs/products/dhtmlxGrid/ with Lightning Web Component. Is it compatible with Lightning Web Components or locker service ...
0
votes
0
answers
14
views
React Native SDK IOS - Error
I need help installing the SDK in the IOS application. An error is appearing in the process of performing the "Build"
We follow this documentation: https://github.com/salesforce-...
0
votes
1
answer
21
views
List update return Update access denied for object, controller action methods cannot be executed
List update return Update access denied for object, controller action methods cannot be executed
I would like a help with update for a list...
For some reason when I click to update it returns the ...
0
votes
1
answer
45
views
Method does not exist or incorrect signature: void keyset() from the type Id
I think is something very small, but i dont what can be, i am new in apex class
List<Deal_Registration__c> deal = new List<Deal_Registration__c>();
if (Deal_Registration__c....
0
votes
1
answer
48
views
Handling Missing Required Fields in LWC Component
There is a LWC that has been built for custom approval cases on the opportunity object. Recently we have made a view fields on the opportunity object as required fields. There are some older records ...
-2
votes
1
answer
54
views
Error : Method does not exist or incorrect signature: void calculateTotalAmount(List<Bill__c>, Boolean) from the type BillTriggerHandler
This is my Bill Trigger:
trigger Billtrigger on Bill__c (before insert, before update, before delete, after insert, after update, after delete,after undelete) {
if(Trigger.isBefore){
...
-1
votes
1
answer
18
views
Check Email is already present or not in org using apex
I just want to whether an entered email is already present in org or not.
I used the below code but I am getting the errors like
force-app\main\default\classes\emailcheck.cls Unreachable statement (...
2
votes
1
answer
32
views
SOAP XSL Integration error during upsert: "cannot specify Id"
Below is an example of the SOAP request that is being sent to Salesforce from our app.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://...
0
votes
1
answer
44
views
Getting the Error Code: 6'101 when using Connected Objects for my TCRM Recipe
I am testing a recipe that accesses the data from "connected objects" instead of a data set, selected only necessary columns. I performed sync of objects a few hours before. Getting the ...
1
vote
2
answers
133
views
CPU Timeout Error When Inserting 2000 Records through Apex
I created an apex class that is activated by a button for a 1 time use insert of about 2000 enrollment records. The code works with small amounts of records but when with the full 2000 I get a ...
1
vote
1
answer
27
views
Using j-fischer error logging framework, Log Monitor not showing whole log data in namespace org
When I am using the log monitor in the developer org , the log data created is fine and completed. But when i am using log monitor in a namespace Org , the log data is not coming as whole. The script ...
0
votes
0
answers
27
views
Default "Assigned To" on Task Creation
When creating a new task, I would like the "Assigned To" field to default to a specific queue. On the Global Action, I am trying to add it as a Predefined Field Value, but the formula editor ...
1
vote
0
answers
27
views
amcharts index.js is rejected by loadScript() in LWC with empty exception
We tried to include amcharts5 libraries - index.js, animated.js and xy.js in LWC. Animated.js and xy.js is loaded properly in LWC but index.js is failing with an empty exception and it goes inside the ...
0
votes
0
answers
25
views
Marketing Cloud Journey 'Hard Error' to Same Contact Key
I've encountered a 'Hard Error' without any further details. The journey takes in new records from the Data Extension, and then sends out the email to the Contact associated with it.
In this scenario, ...
0
votes
1
answer
41
views
Rest API code 400 "message":"Callout loop not allowed" [duplicate]
I tried to call Salesforce Api /services/data/v54.0/actions/standard/createServiceReport in order to create a service report but I got this error :
the status code returned was not expected: 400 Bad ...
0
votes
1
answer
54
views
lwc input rich text strange behaviour / error
I am using the lightning-input-rich-text base component and as soon as i mouse click on the body portion of it i get the following error underneath - irrespective whether there is some value or not.
...
0
votes
1
answer
21
views
Where can I find the origin of this error?
Trying to create a ServiceResource assigned to a ServiceAppointment in Flow createRecords element, I get this error:
FLOW_ELEMENT_ERROR This error occurred when the flow tried to create records:
...
0
votes
0
answers
481
views
Quick Action: You can't perform this action on this page
Since Spring22 upgrade, a strange behaviour has been observed and despite our investigation, we have not found the solution yet.
When we click on a custom Quick Action on some Accounts (and only on ...
0
votes
0
answers
25
views
error: unsupported port: 444
I am getting an error when adding a site in the Remote Site Setting section.
error: unsupported port: 444. supported ports are 80, 443, and 1024 to 65535
It is an external service and the provider ...
0
votes
1
answer
43
views
Error List index out of bounds: 0, what'is problem please
I'm trying to format the CPFs (character set) from a list, but I'm getting the following error: List index out of bounds: 0
for what I'm researching this error happens because I'm trying to access an ...
0
votes
0
answers
289
views
Cannot read properties of undefined (reading 'get') - mentioned everything correctly
my component
<aura:attribute name="showConfirmDialog" type="boolean" default="false"/>
<div class="slds-m-around_xx-large">
<aura:if isTrue=&...
0
votes
1
answer
31
views
Component error while creatinge record using LWC
I am trying to create record for an object using LWC. But whenever I am trying to paste the component on a page it is showing up a component error as shown below:
My code as shown below:
HTML ->
&...
-2
votes
1
answer
72
views
The apex trigger function .addError() on AfterUpdate is not working for my code [closed]
I am trying to create an exception in facility cloud salesforce, when the occupied area of a building is greater than total area. There is no error in the code, but the code is not working. I am not ...
1
vote
1
answer
26
views
Internal Error happens when try to insert 5000 or 10000 in one transaction 1294474088-313147 (-1775489667)
To reproduce specific problem which occurs only when there are 50000 users on the org, we need to insert 50000 users into sandbox. When we try to do that, we receive Internal Salesforce Error issue. ...
1
vote
1
answer
42
views
Why creation of Apex Trigger on Change Event for Custom Setting fails if it is available in the picklist?
Change Event for Custom Settings is available in the picklist to create Apex Trigger, but when you try to create an Apex Trigger on that, it fails. Why?
0
votes
1
answer
75
views
preview files not work NavigationMixin
i create lwc component and i need prewiew files from ContentVersion. for this i create:
controller:
public with sharing class SendInvoiceService {
@AuraEnabled(cacheable=true)
public static List<...
0
votes
1
answer
27
views
Facing error in trigger on Account Object
I wrote two triggers on Account object but since we should write 1trigger at one object at a time when am trying to add that with previous trigger it's throwing the error saying - Missing '' at '...
0
votes
2
answers
128
views
Cannot retrive picklist values in LWC ERROR: Error during LWC component connect phase: [Cannot read properties of undefined (reading 'values')]
// Object = Free_Budget__c
// Picklist = Reason__c
import { getPicklistValues, getObjectInfo } from 'lightning/uiObjectInfoApi';
import Reason from '@salesforce/schema/Free_Budget__c.Reason__c';
...
-3
votes
1
answer
25
views
Unexpected Public Token and variable does not exist [closed]
I am getting the following errors in my code. 'Unexpected token 'public'' and 'Variable does not exist:quoteCurrencyTotal' and the same for quoteCurrency and costCurrency. What am I doing wrong? I am ...
0
votes
1
answer
263
views
"The subscriber preview failed to generate. Review the details, correct all issues, and try again." upon selecting subscriber for preview & test?
UPDATE: Resolved
In case anyone else is having this issue, it turns out it was something obvious. There was nothing wrong with our footer - for some reason our Footer was set to "None" in ...
-2
votes
1
answer
79
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 ...
0
votes
0
answers
108
views
SOQL : Field not found but it exist
I am doing a simple query on orders but I get an error :
Query:
Select Id,(SELECT Id, OrderId, LineNumber from OrderItems) From Order
Error:
No such column 'LineNumber' on entity 'OrderItem'. If you ...
-3
votes
2
answers
81
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 ...
0
votes
0
answers
17
views
Error ID: 0 - This page has an error. You might just need to refresh it. [NoErrorObjectAvailable] Script error
I'm trying to insert a script in Customer Community through Builder > Settings > Advanced > Edit Head Markup for a cookies popup at the opening of the community.
I've inserted this at the top ...
3
votes
1
answer
78
views
Getting a formula validation error, can anybody spot where I am off?
IF (
AND (
ts2__Job__c.Days_Search_Open__c >= 0,
ts2__Job__c.Days_Search_Open__c <= 4
),
"0 - 4",
IF (
AND (
ts2__Job__c....
0
votes
0
answers
106
views
Failed to deploy source to org
Given:
I am trying to deploy helloWorld project but its unable to deploy project and giving errors listed below.Instead of getting ended with exit code 0 I am getting Deploy Errors
Create ...
0
votes
1
answer
26
views
getting error while adding cmp "You cannot have device specific size attributes for <lightning-layout-item> component without specifying the size attr
<template>
<template if:true={apartmentFound}>
<lightning-layout multiple-rows>
<template for:each={apartments} for:item="apart">
<...
1
vote
0
answers
260
views
LWC Flow Control - Finish throws exception
THE CONTEXT:
I am creating an LWC as a screen flow element. The LWC is very simple, it displays in a radio button group all of the existing Opportunity record types.
Once the user selects a record ...
0
votes
0
answers
72
views
LWC Display detailed Error
I have an LWC that deletes a record. There is a trigger that prevents that record from being deleted if it is linked to some other records. When I try to delete one of these records, I get a generic ...
-1
votes
1
answer
31
views
Validation Rule Error: Missing ')'
There are 2 dependent picklists: Scenario__c and Platform__c
When selecting a picklist value for Scenario__c with anything other than "In-Progress" or "Confirmed"; the picklist ...
0
votes
0
answers
45
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 ...
0
votes
1
answer
32
views
Re-sending an errored out triggered email
Recently one of my trigger's data extensions was updated, and this in turn broke my ampscript within the template associated to the trigger.
This caused calls to the trigger associated to queue the ...
0
votes
0
answers
32
views
Unable to show a pop up message in visual force page when city (field) is blank
Here, I need to show a popup message in VF Page, But my PDF(command button) having some issues, So please let me know what I am missing here.
my javascipt code is
<script>
...
1
vote
0
answers
695
views
Deploying Experience site fails due to 'The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.'
I am trying to deploy my Experience site to production with a change set, however I keep hitting
The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.
Even though ...
1
vote
0
answers
130
views
Aura component unable to find apex controller method
This problem is going on and on on my orgs.
I use VS code as my IDE and whenever I deploy a freshly written @AuraEnabled method in a controller, for some time my org does not seem to recognize it. I ...
0
votes
0
answers
261
views
Chat Icons Missing - Refused to get unsafe header "Server Timing" Error
We are missing the minimize and close icons inside the chat window. I've changed the background to white / black and they are still missing so it's not a CSS issue. Inside my console I'm getting a &...
0
votes
1
answer
202
views
List has no rows for assignment to SObject: ERROR APEX
im trying to validate a new outbound set into production but still get following error code:
List has no rows for assignment to SObject
for this code:
@isTest
private static void ...