Questions tagged [error]

Error - A mistake or Getting unexpected output or Bug

Filter by
Sorted by
Tagged with
1
vote
2answers
37 views

Hitting html body limit of 32000 characters with only one Email

Good Morning, Like the title says, I do not understand why I'm hitting the charathicter Limit, I used a character counter online, copy and pasted my Email and it only returned ~1400 characters. The ...
0
votes
1answer
29 views

Why this error occurs?

I got this error when write in field: "Description" But this profile have permission to Edit How can I see this "access right"?
0
votes
1answer
23 views

Finding details about HTTP error 400

I am trying to implement some functionality with DatedCoversionDate object. Unfortunately it is not possible to change it with DML but there is a way to use API calls. here is an example Http h = ...
0
votes
0answers
21 views

Lightning salesconsole org started throwing error from today : [NoErrorObjectAvailable] Script error

From today morning we started recieving this error in our salesforce lightning console. The error stacktrace says : a()@https://hcscace--****.lightning.force.com/auraFW/javascript/...
-3
votes
2answers
41 views

could some help me to avoid 101 error in below code please

trigger removeMember on CampaignMember (after delete) { removeMemberOnCampaignMemberHelper.afterdelete(trigger.old); } public class removeMemberOnCampaignMemberHelper { public static void ...
8
votes
1answer
86 views

Which date format to use with inputs for the Quick Actions REST API? (INVALID_TYPE_ON_FIELD_IN_RECORD)

I'm receiving the error INVALID_TYPE_ON_FIELD_IN_RECORD when invoking a custom sobject quick action to create a record and its payload specifies a Date or DateTime field as an input value. For ...
0
votes
0answers
44 views

Marketing Cloud SOAP API UpdateRequest response Bad Request

I'm trying to send a SOAP request to the Marketing Cloud API so I can unsuscribe a person from a list but the response always is "Bad Request". Here is the request I'm sending: <soapenv:Envelope ...
0
votes
1answer
22 views

Unable to push Animation rule from Scratch org to Developer Edition Org

I am trying to complete App Builder Maintenance trailhead for Summer 19. However, I don't want to make change manually in the target organization since this is not interesting. Instead, I am ...
1
vote
0answers
62 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, ...
1
vote
0answers
44 views

Error in Journey Builder: Limit exceeded

I get an error in Journey Builder: Limit exceeded. We are using SC data. Connector is the latest version, number of active flows is one. Any ideas what can cause this?
2
votes
1answer
24 views

Lightning component docs are not avialbe

Why every lightning document that I'm trying to open give me the next error : Example Urls: https://developer.salesforce.com/docs/component-library/bundle/lightning:card Actually all the next ...
0
votes
2answers
39 views

Error sending email - REQUIRED_FIELD_MISSING, Email body is required.: []

Trying to send email from apex and receiving error: System.EmailException: SendEmail failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Email body is required.: [] I have the ...
1
vote
1answer
31 views

Dual SOQL statements syntax

This trigger will send an email anytime an Account has 5 cases created within 8 days. I need to create two SOQL queries as I am accessing fields from Case and Project__r. Currently receiving error ...
0
votes
1answer
21 views

Invalid type for Map

I have a Map inside a Map where I want to put values of type String (TechDayMonthYear_2__c) and Decimal (AttendanceRate_2__c). But I get 2 errors "Invalid type: tp.AttendanceRate_2__c" and "Invalid ...
0
votes
1answer
64 views

Marketing Cloud: Error: Violation of PRIMARY KEY constraint. Cannot insert duplicate key in object

Everyday we have an automation running to import new magento customers from an FTP file to our contact DataBase. Today, for the first time we had this error message. Query failed during execution. ...
2
votes
0answers
25 views

How to export data tree using SFDX with User object lookup field

I've a custom object with a custom User lookup field. When I use force:data:tree:export command results into following errors: Reference User not found for UserLookupField__c. Skipping record ...
0
votes
0answers
36 views

Journey Builder in-journey data evaluation

We'd love to set up some self-monitoring for journeys that run on automation over the weekends so we don't have to log in and monitor all the time. My idea is to have include ourselves in each DE, ...
1
vote
1answer
37 views

Winter Release '20 - Lead Conversion Account Trigger Error

I just wanted to post this somewhere so that others are aware. The Salesforce Winter '20 release for Financial Services Cloud comes with an error attached to the Account-Account Relationship (AAR) ...
0
votes
1answer
37 views

Error on Package Installation - In field: object - no CustomObject named WorkFeedbackRequest > found

I have built an unmanaged package and was able to deploy it to several orgs. Unfortunately at the current Service Cloud org I get the following error: In field: object - no CustomObject named ...
0
votes
1answer
52 views

How to update all records through Trigger? [duplicate]

I have to automate the logic with Trigger. If the Comment__c field is updated in 1 Tool__c record, it should be updated in all another Tool__c records. It's about 700-1000 actual records. When I'm ...
0
votes
1answer
33 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
1answer
29 views

Is there a problem to send Map<Id,String> to batch?

I'm trying to send Map to Batch From Queueable apex Map < Id, String > conList = Insert_Update_Contact(data.Students, countryMap, citiesMap); System.debug('conList -> ' + conList); //...
0
votes
1answer
29 views

ANT Migration Tool deployment error: “Bad file: XML document structures must start and end within the same entity”

I know what this error means, but the XML I'm deploying (below) was generated by the Migration Tool after running ant retrieve, and every XML validator I've tried says it's valid XML, without typos. ...
0
votes
1answer
32 views

When method called 2 times: Uncommitted work pending. please commit or rollback before calling out

I have a method: public static CreateUpdateAPI (Account acc) { //do WS callout //perform DML } When i call it from Anonymous console with one Account it runs properly. But when i call the ...
6
votes
1answer
55 views

Cannot migrate deprecated unlocked package2 component since Winter 20'

I am unable to migrate a package2 member from one unlocked package to another. Before Winter 20', as per these instructions, deprecating a member from the first package and installing the second ...
0
votes
1answer
39 views

Duplicate id in list: broken script

I have a script: List<Apartment__c> apartmentsToUpd = new List<Apartment__c>(); List<House__c> houses = [SELECT Id, Tenants__c, EntryDate__c, DepartureDate__c, Opportunity__c FROM ...
0
votes
0answers
23 views

Lightning date input validation on Firefox

I'm experiencing an issue with my standard date input Lightning Web component on firefox. I use it with a min and a max. It works well in Chrome but in firefox, when I enter the min, it is not ...
4
votes
1answer
68 views

How to push source to Scratch org if project code exceeds 50mb limit?

I have a managed application which I'm now trying to move to DX platform of development, but I'm getting an error of exceeding maximum storage: Maximum size of request reached. Maximum size of ...
-1
votes
1answer
30 views

Error Handling in methods that return account

I have an Apex method that receives an Account record as input and returns Account record. What if an error occurs and i want to return it to the user? I cannot return String, since the method returns ...
0
votes
1answer
31 views

'Attempt to de-reference a null object' with Field__c.contains()

When I use contains, I get Attempt to de-reference a null object: for(Gear__c g : gears{ if(toolsMap.get(g.Id).Status__c == 'Off' || toolsMap.get(g.Id).HelpText__c.contains('Hello there!')){ ...
4
votes
2answers
91 views

Can I put a package's LWC that uses other custom LWCs from the package in a flexipage for a custom object?

We developed a package, with a fully lowercase namespace, that includes custom objects. We created an LWC, we'll call it "c-container". This LWC uses another LWC, we'll call it "c-child", in its ...
0
votes
1answer
46 views

Internal Server Error - Updating records

I'm getting this error: FATAL_ERROR|Internal Salesforce.com Error. Based on the flags that I put on the code, the error happens when I'm trying to update a (large) list of records that I previously ...
0
votes
0answers
30 views

Apex controller Attempt to de-reference a null object error!

We've implemented an API using SOAP API, that connects to an external database, which we can search within our Salesforce org. I'm running into an Attempt to de-reference a null object error: Here ...
2
votes
0answers
142 views

Load third party JS in LWC

I created a static resource with just one JS file. However when component rendered it gives me an error "undefined". Template: <!-- videoPlayer.html --> <template> <div class="...
0
votes
0answers
19 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
21 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
45 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
31 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
162 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
447 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
111 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
64 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
80 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
169 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
22 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
20 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
26 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
110 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
276 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
123 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 ...