Questions tagged [error-messages]

A reference to text or codes that's displayed on a screen or written to a log from numerous possible sources including: system debug logs, page messages, exception handlers, API's such as REST, etc., that will often contain diagnostic information helpful in troubleshooting the actual source of an issue that caused an operation to fail.

Filter by
Sorted by
Tagged with
0
votes
1answer
455 views

lightning:recordEditForm error. Field does not exist

When using lightning:recordEditForm I am getting the following error in the <lightning:messages />: Field does not exist. Here is the markup I am using: <lightning:recordEditForm aura:...
13
votes
0answers
892 views

why is the value in [] for insufficient access rights on cross-reference id: [] always/usually empty?

OK, I know how to debug this error and there are plenty of web resources to assist so please don't answer with those techniques. What I'm more after is why the ID value in [] is typically null for ...
0
votes
1answer
2k views

Unexpected token `<`. in Apex trigger

I have the following trigger: trigger AccountAddressTrigger on Account (after insert, after update) { List<Account> accs = [ SELECT ShippingPostalCode, BillingPostalCode ...
1
vote
1answer
368 views

Roll Up Field of Open & Closed Activities on Account - Using an APEX class

The use case is that I am trying to have a roll-up field on the account object that is a sum of the total # of Open and Closed activities on the account. This would be easy with a Trigger, but I want ...
0
votes
1answer
49 views

List has no rows for assignment to SObject when the value is returned

Why am I getting the error: List has no rows for assignment to SObject? Here is the function which produces the error: @AuraEnabled public static void setCharacterPose( String ...
0
votes
1answer
716 views

State/Country Picklist: The BillingStateCode field contains New Jersey, which isn't an available state

I am trying to migrate our production org to State/Country picklists. I followed the instructions of scanning my org in a Dev sandbox. There was no data to convert because it was a new blank sandbox, ...
9
votes
2answers
6k views

Issue with error messages on Lighting:recordform

There seems to be an issue with the error handling on lightning:recordForm, and some real limitations on lightning:recordEditForm. Trying to determine if this is a bug or a mistake on my part. ...
0
votes
1answer
45 views

Formula help using and/if/or together with a picklist

This formula works: IF( AND(RecordType.Name = 'Solutions', DATEVALUE(Account.CreatedDate) <= TODAY() - 10, CreatedBy.Profile.Name = "Perkins Access Standard User", ISPICKVAL( StageName , 'Won ...
0
votes
1answer
158 views

Customize Duplicate Error Message

We have a unique field that blocks multiple records for being submitted for the same date. How do I customize this error message? Here is the section of my code grabbing the exception: public ...
0
votes
1answer
38 views

SQL Query for Zip Code Error Message

I am trying to create a sql query for all database contacts within a certain number of miles of a zip code. I keep getting an error message saying there was a syntax error near the word 'code'. Any ...
0
votes
1answer
154 views

How to handle Exception for bulk update in trigger

I have one Object for which we are doing bulk data update from Mulesoft, there is nothing which we are doing in salesforce for the same. Now due to some validation, few records are getting failed. I ...
0
votes
1answer
414 views

RaiseError not logging Error message into DE

I have a requirement to cancel a send if certain conditions are not met. My current code cancels the send, but does not log the conditions. According to the RaiseError Documentation, the last term (...
0
votes
2answers
175 views

Apex.Message in Iframe

What am I doing wrong? I hope this is just a simple mistake and me writing it out will even help spur some thought. I have a VFP embedded in a related list on the Lead object. When a user clicks a ...
1
vote
0answers
308 views

Override Standard “Insufficient Access rights” Message with custom error

I'm trying to override the standard "* insufficient access rights on object id" error message for users who do not have "write" access to records. I'd like to change the message for better UI ...
1
vote
0answers
309 views

Displaying Error Messages in Salesforce Mobile when using the Chatter “Post” Action

I want to prevent Chatter posts being created in certain conditions, displaying a relevant error message to users in the process. In this following example, I have created a trigger that prevents ...
0
votes
1answer
320 views

Unexpected Token Error on JavaScript Button

I have the following code on a button {!REQUIRESCRIPT("/soap/ajax/22.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/22.0/apex.js")} if (({!Service_Call__c.Incomplete_Parts_Count__c} > 0)) { ...
1
vote
0answers
90 views

Data Type Conversion Error on Approval Submission in Flow

I have a flow that runs the following steps: Screen allowing the following user inputs: Total Allowable (Currency) Total Paid (Currency) Has Supporting Documents (Text Dropdown) Reason Code (Text ...
1
vote
0answers
417 views

Error: Component Class instance initialization error

I've had multiple components pop up with this error. The function is always W.protoype.Bb and seems to be in the internal salesforce code. Sometimes the descriptor (i.e. markup://lightning:layout) ...
2
votes
1answer
266 views

Show error message if blank, if populated then show iFrame

Okay so I'm just going to preface this with the fact that I'm very new to the whole Apex thing, and I really appreciate your help! Here's the scenario: I've managed to make a snazzy Visualforce page ...
0
votes
1answer
5k views

How to avoid validation rule contradicting the process builder?

I have a process builder with several flows. I also have a validation rule. Both the validation rule and the process builder are applicable for one and the same custom object. It is possible the ...
0
votes
1answer
26 views

Group the validation message shown visualforce [closed]

I have visualforce page which has some validation. So the problem certain error messages comes in from validation rule(9 in nos), certain validations are done in the apex class of the visualforce page....
0
votes
1answer
1k views

ExactTarget - Insert Row in Data Extension using REST API - CustomObjectNotFound

I'm trying to add rows into a data extension in exact target but I'm getting this error: Failed to resolve the Custom Object from the provided ObjectReferenceIdentifier`. For testing purposes, my ...
1
vote
1answer
411 views

Display error messages from unique field error

We have a unique field on an object, populated by workflow (datestamp + userId), which prevents a user from submitting two records on the same day. I'd like to display an error message on the ...
1
vote
2answers
791 views

Custom error message not being displayed in a table cell in lightning component

I have the following piece of code <aura:iteration items="{!v.wrapAccountList}" var="arItem" indexVar="index"> <tr> <td> ...
0
votes
1answer
58 views

Error on page lightning conponent

I have a community page where I have a lightning component which gives me an error in the builder. This was a component which I removed from the page. I copied the component into another component ...
0
votes
1answer
128 views

Static method cannot be referenced from a non static context: System.Pattern System.Pattern.compile(String)

I receive the following error message: Static method cannot be referenced from a non static context: System.Pattern System.Pattern.compile(String) Here is my code: private static Pattern ...
0
votes
1answer
502 views

How to get the UserName and territory name assign to user in single query?

I am new to the salesforce I am facing following issue. I want to show error message where I want to Display the userName and associated territory name. I am not able to get the both. Can you please ...
0
votes
0answers
215 views

Automation objectname error

I am all the sudden getting some errors in my automation, which I have not touched for quite some time.. But Im not sure what the error means.. Step 4 - Error on 2 activities 4.1 SQL Query Full ...
1
vote
1answer
100 views

How to Restrict user to have more than one territory?

I want to show an error message when admin tries to associate the user of a particular profile with more than one territory. The user of this profile should be assigned to one territory only. If the ...
0
votes
0answers
24 views

Adding Text To System Error Output?

I'm writing triggers for two highly interdependent objects, and they kind of need to circle around passing the insert/update ball back and forth to each other to the extent allowable because there are ...
3
votes
0answers
167 views

No such column 'Description' on entity 'Attachment'

I am using salesforce partner web service API Version 42.0. I call description field from attachment object. This attachment is in the custom object I created. And somehow got this error. System....
0
votes
1answer
312 views

Apex CPU time limit exceeded and An unexpected error has occurred. Your development organization has been notified

When I try to deploy on my production environment I receive the following error message: Apex CPU time limit exceeded and An unexpected error has occurred. Your development organization has been ...
3
votes
1answer
269 views

error when pushing Managed Package into scratch org: ISV

Implementing SFDX for some new work. Here is what I have so far, the Dev Hub is a business org, created a project, created a scratch org, retrieved a managed package via the MetadataAPI, unzipped the ...
0
votes
1answer
82 views

if a record is submitted for approval to different users,if any one of them approves or rejects it should reflects to all other users

I have written custom code to submit record for approval to different users.assume there are 10 users received approval requests among those at-least one user approves or rejects record the status of ...
0
votes
3answers
3k views

Error: Illegal assignment from Schema.SObjectField to Id

I get an error when I try to update lookup field in apex. Here is the method implementation: public void addTaskCommentHistory(Task task) { if(task == Null) { return; } ...
4
votes
1answer
615 views

Determine if an SObject has an error

Is there a way to calculate if an SObject in a trigger context has had an error added to it (either with addError or through a validation rule)? I have some trigger processes I don't want to run if ...
-1
votes
1answer
121 views

SOAP Create SQL Activity Error

Hello, I successfully created a query activity via SOAP API but upon running that query I receive an error, see below: --- inner exception 1--- System.Data.SqlClient.SqlException: Error[0]: -- ...
0
votes
0answers
559 views

Sharing a record with Read/ Edit ability (Insufficient access rights on cross-reference id.)

I have two objects RequestCredentials and ProjectInformation objects. ProjectInformation is the master and RequestCredentials is the detail. I faced an error when creating a record of type ...
1
vote
1answer
315 views

Eclipse Force.com IDE cannot create project

I am getting the following error when I try to create a New Force.com project: The selected wizard could not be started. Plug-in com.salesforce.ide.ui was unable to load class com.salesforce.ide.ui....
1
vote
1answer
2k views

Understanding error: [Value number out of range for numberformat options property style]

I'm working through a Trailhead tutorial, and I am getting an error that confuses me. I've reduced it here to the minimum code I can for reproducing the error, and I'm hoping someone can explain to ...
2
votes
1answer
186 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY with Webhook Guest Users and Managed Packages

Adding this to the body of knowledge Use case: Existing org with 100% successful regression tests Existing transaction of webhook that creates Account + Opportunity, then updates the Account. Works ...
0
votes
3answers
441 views

Throwing an error/pop up on record and need to save it in salesforce

On case object we have a field Delivery Number(Text) whenever user enters that value if that number is duplicate. We need to show pop-up/error message (basically inform user) that it is already exists ...
0
votes
1answer
909 views

How can I add custom error message and remove the error message thrown by Site.login in visualforce page?

How can I add custom error message and remove the error message thrown by Site.login in visualforce page? Im having trouble removing the error message thrown by Site.login that says "Error: Your ...
0
votes
1answer
238 views

Trigger Variable Does not Exist - No methods

Other questions on this topic are referencing high-level coding solutions that I'm not capable of at the moment. I am attempting to write a low level trigger that updates fields. This is extremely ...
2
votes
1answer
281 views

“unexpected token” error on my Conga Composer button

I have never created a Java Script button before but I tried to create a List View button on our Invoice Object. Use Case: select multiple invoices and run Conga Composer button to view what invoices ...
1
vote
1answer
81 views

Inserting a record after reading XML sent by external app

External app will send XML in their request to salesforce webservice class and webservice class will have to insert a object record.I have written a webservice and it is able to get the xml in string ...
1
vote
1answer
247 views

Single Sign-On Error page

If the error happens during SSO to Salesforce Community, then a standard error page is shown, with an uninformative message - Single Sign-On Error. We can't log you in.... Error code and description ...
0
votes
1answer
113 views

Installed apps frequently fail with similar error

My organization would like to perform actions in Salesforce that are not included in the base functionality, so we would like to install Apps. Obviously we use well reviewed (4+ stars, many reviews, ...
2
votes
1answer
2k views

Error in getting record Id in Lightning component quick action

I am getting the Error: Component class instance initialization error [Cannot read property 'g' of undefined] quickActionHandlerHelper.js failed to create component - forceChatter:...
0
votes
1answer
289 views

Insert failed. First exception on row 0; first error: MIXED_DML_OPERATION

I'm receiveing an error. I have tried using the fix system.RunAs but still it is failing. System.DmlException: Insert failed. First exception on row 0; first error: MIXED_DML_OPERATION, DML ...

1 2
3
4 5
9