Questions tagged [error]

Error - A mistake or Getting unexpected output or Bug

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

INVALID_SESSION_ID: This session is not valid for use with the API error When Using setPassword()

setPassword() method not working with lightning component with call the method from apex and giving an error as INVALID_SESSION_ID: This session is not valid for use with the API any workaround to ...
-2
votes
1answer
36 views

How to avoid the 'Too many SOQL queries: 101' error in trigger helper?

I have a before insert and before update trigger with helpers and helper for these helpers. In both helpers I get the 'Too many SOQL queries: 101' error because of queries in loops. How do I get SOQLs ...
0
votes
0answers
24 views

Error 'Java Heap Space' in Data Loader

With Data Loader (Version 44.0.0),I am trying to insert Attachments in Salesforce. There are 12k PDF files. Each file is around 190 kb. So total attachment are 2.28 GB This is the structure of my ...
0
votes
0answers
10 views

How to Export Visualforce page as a .XLSX file? [duplicate]

I have developed a visualforce page which is exported as a .xls file and works well. But need to upgrade it to the .xlsx file when downloaded. Below mentioned is the snippet of the Page attribute ...
0
votes
0answers
14 views

Query - innerjoin customer data extension with file drop data

Goal: automate a tradeshow email based on file drop data. I've successfully ingested the file drop to a data extension. Now trying to find customers that qualify for the email send based Business Name ...
0
votes
1answer
18 views

Credibility of data when getting time out error in an update

If my query is updating a data extension and gives a time out error, does the destination data extension suffer any changes to its data or is it exactly the same as before running the activity? ...
1
vote
1answer
31 views

Illegal conversion from List<ActiveContactListController.ContactsWithRoles> to List<AccountContactRelation>

i have this code i getting the error the following error, i'm new to salesforce developer someone can help me? public class ActiveContactListController { @AuraEnabled public static List&...
0
votes
1answer
35 views

How to Make Pardot Authorisation Request?

I have a training org where I'm making API callouts for authorise to the Pardot environement, but recieving the error :- Error Code :- 49 Error :- Access Denied, The details of the API url which I'm ...
10
votes
1answer
219 views

$Setup cannot resolve protected setting in managed package after Spring 2020

A custom button in a managed package uses a protected custom setting in the same package to retrieve a namespace: /apex/{!$Setup.Constants.URL_Namespace__c}PageName?param=value When installed with ...
3
votes
3answers
72 views

Can a trigger with error ruin the batch it was fired from?

Consider I have a batch class which updates 50 records of Task. The batch class ran successfully and updated the Task records.Now the Task object has a trigger that runs on after/before update. Due ...
0
votes
0answers
14 views

“URL No Longer Exists” when accessing record from event/task reminder

When logging into SF, users get a pop-up Event/Task reminder for that day, which is great. But when users try to access these records through the pop-up, they're redirected to a "URL No Longer Exists"-...
1
vote
1answer
60 views

NavigationMixin is embedding js code in url - Error

On a custom tab I have a LWC component that wants to use NavigationMixin to reference another custom tab. In my Controller I have defined that call like this: import { NavigationMixin } from '...
3
votes
1answer
171 views

LWC constructor() error: “Must call super constructor in derived class before accessing 'this' or returning from derived constructor”

I'm getting the following error: Must call super constructor in derived class before accessing 'this' or returning from derived constructor after adding a very simple test constructor to my LWC ...
0
votes
1answer
30 views

Handling Apex errors from the setCallBack function

Is there any better way to handle errors that comeback from the setCallBack function for Apex calls in Aura components? Maybe a better way to get rid of some of the elses I have in in my logic? ...
2
votes
1answer
30 views

Auth errors and callout errors in Scratch org

I have an app that makes API Rest calls to my cratch org. Till yesterday everything was working fine. Yesterday I have configured scheduled apex class job to run in the night. But when checked the ...
0
votes
0answers
41 views

Insert a new record with multiple fields Error 431 HTTP

I am trying to insert a new records in my custom object Monitor__c with too many fields, when I execute my code in an anonymous window in the developer console, It delivers the following error: ...
2
votes
2answers
565 views

How do I do a universal SOQL?

I made a Trigger for an Object1 that gets Id from Object2. Rather, Object1 entries already have Object2 IDs, but now I need to make a lookup based on it. The Object2 can be any object you want: system ...
2
votes
2answers
47 views

Displaying Custom 404 Error Page in Commerce Cloud

I've been trying to display a Custom 404 page in Commerce Cloud. The page has been created in the Cartridge because it was easier/faster doing it that way than having to recreate a full html page, zip,...
1
vote
2answers
55 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
26 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
54 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
103 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
1answer
69 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
42 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
73 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
49 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
52 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
23 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
76 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
30 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
37 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
51 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
72 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
53 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
36 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
32 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
40 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
43 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
59 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
41 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
25 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
92 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
35 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
121 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
59 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 ...

1 2 3 4 5 14