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
249 views

Force.com migration tool is not working after git auto packing repository

I am using git and force.com migration tool for deploying code into sandbox. It was working correctly for many days (including todays morning) until git automatically started to 'Auto packing the ...
0
votes
1answer
810 views

Visualforce error handling

Just like we catch display error with apex:pageMessages tag, is there any way to catch visualforce errors? Sample error: Visualforce Error : Division field undefined I get the above error when ...
1
vote
1answer
347 views

Javascript Error on Custom Button Single Quote in Name

I have a custom Javascript button on the Case object that creates an Opportunity. I am getting the error: "A problem with the OnClick JavaScript for this button or link was encountered: missing ) ...
2
votes
1answer
21k views

Lightning Component: Cannot read property 'get' of undefined

I've read through the different posts regarding this error, and for the life of me I cannot figure out why it's not working right.... I would really appreciate some help. I've checked to make sure ...
2
votes
2answers
2k views

Difference between addError(errorMsg) and addError(exceptionError)

Wondering if anyone can explain the difference between errors and exception errors, or, more specifically, when one should use addError(errorMsg) instead of addError(exceptionError)? The ...
0
votes
1answer
26 views

Public Write Access allows for mass edits, how to throttle editable batch size for certain users for specific field?

I need to conditionally restrict the number of records that apex allows to be edited, based on user profile, number of records in the save transaction, and an oldmap newmap field compare. See attempt/...
0
votes
2answers
67 views

Is redirect from a controller possible

I have a part of a visualforce page that redirects to a URL that works. I have another condition in my controller that is supposed to show an error condition if a certain condition is false. It only ...
2
votes
2answers
2k views

How to addmessage from a trigger to a visualforce page

I have a visualforce page with a controller extention. This page has some inputfields where I want to send a waring on the page before insert if the fielsd are filled in incorrectly. I am using a ...
1
vote
1answer
572 views

REST API to /interaction/v1/events fails 403

Im trying to trigger an API event for a journey. I got my endpoint, my auth token, but when im using this to hit /interaction/v1/events, im getting this error 403. {"documentation":"https://code....
1
vote
2answers
1k views

I am seeing the Visualforce page message in my debug logs but cannot get it to display on the page!

First, let me state that all of the following code works except forgetting the error to display on the page and that is a big problem! With that said, I have googled all day and have read at least 25 ...
0
votes
0answers
1k views

Invalid integer error?

I am having the strangest error attempting to take a string from a custom setting and make it into an integer array. I am new at this but I cant wrap my head around why this is happening or how to fix ...
0
votes
1answer
251 views

“INSUFFICIENT_ACCESS” to what?

I am working a new project and when I moved it to the sandbox from my developer org I get this error creating leads, if I included an email address, or selected an agency type other than lender. If I ...
3
votes
1answer
10k views

Displaying an error message on a visualforce page

So I'm trying to display an error message on a visualforce page using ApexPages.addMessage or ApexPages.addMessages As suggested in numerous threads and posts like this one: https://www....
3
votes
2answers
1k views

UNABLE_TO_LOCK_ROW error

I'm getting this error on before insert: Developer script exception from Organization : Chat_copyUserAgentToNewCase : Chat_copyUserAgentToNewCase: execution of BeforeInsert caused by: System....
0
votes
1answer
154 views

I want to compare two values similar to contains function in apex controller

I have fetched field value on account I want to compare the values like contains function public class CreateOppExtension { Opportunity opp{set;get;} public string Customergrp; public ...
0
votes
2answers
64 views

Outbound Change Set

I created a test class to test a trigger and I am getting the following error when trying to deploy the change set. I don't know if the error is with the Test or the change set, error below: ...
2
votes
1answer
3k views

A value cannot be stored to my custom field in type Task

I've created a custom field of type DateTime in Task object. I try to add to my custom field an object from type DateTime. But I receive the following error message: A value cannot be stored to ...
0
votes
3answers
130 views

How to display error messaages in visualforce pages based on field value conditions

I have a VF page on VF page.There are few validation rules on Opportunity object,Which are throwing as exceptions after clicking on save.Instead i want to display error on VF page. VF page: <apex:...
1
vote
2answers
95 views

Checkbox formula returning #Error when True, correct False value when False

Good evening to all! I'm trying to figure out why a syntax-correct Checkbox formula is returning an #Error when it encounters a True result, but a correct empty checkbox when encountering a False ...
0
votes
1answer
460 views

Generic error message in Communities

In Communities, I'm getting a generic error message(An error occurred while trying to update the record.Please try again) instead of my custom error message. Can some one please help me, if there is ...
4
votes
1answer
3k views

NUMBER_OUTSIDE_VALID_RANGE: value outside of valid range on numeric field: 100.0

I get this error in the results of a Bulk API upsert: 'NUMBER_OUTSIDE_VALID_RANGE:Normalized Score: value outside of valid range on numeric field: 100.0:normalized_score__c --' The metadata for that ...
0
votes
1answer
1k views

How to get error reason for bulk requests with failed records, via API

After a Bulk API upsert, I can inspect the batch after the fact and see that my 4 records failed. { 'apexProcessingTime': '0', 'apiActiveProcessingTime': '1', 'createdDate': '2017-07-21T15:33:47.000Z'...
-1
votes
1answer
21 views

What does [ERROR]objGlobalMap mean [closed]

I Am trying to debug and have the following error mean, as I dont see this in Line 8 of my Class: USER_DEBUG [8]|ERROR|objGlobalMap:::{acceptedeventrelation=AcceptedEventRelation, account=Account, ...
1
vote
1answer
487 views

Live Agent - Communities

I'm getting an error and chat won't initiate. Try refreshing the page. If that doesn't do the trick, give your Salesforce administrator the following error ID, and describe what you were trying to ...
4
votes
2answers
6k views

lightning:input Clear validation error messages

I have enabled error messages (validation failed) for Lightning:input components inside my lightning component A using inputCmp.showHelpMessageIfInvalid() I am trying to clear the Lightning:input ...
5
votes
3answers
7k views

Display Apex Exception message nicely in Lightning toast

My Apex controller method might throw a custom exception @AuraEnabled public static Id myAction() { // Provoke exception Integer foo = 10 / 0; and I want the toast to display it properly ...
5
votes
2answers
6k views

Best practice for catching and displaying action errors in Lightning components

There are zillion of ways to handle or ignore errors thrown from actions calls in Lightning controllers. var action = cmp.get("c.controllerMethod"); action.setCallback(this, function(response) { ...
0
votes
1answer
363 views

Validation Rule Visual Force Page

I am trying to display validation rules errors in a VisualForce page I have, but the message isn't showing. I have the <apex:pageMessages /> tag inside my page and it works for required fields ...
0
votes
1answer
23 views

Incompatible element type Id for collection of Account

I have this save error "Incompatible element type Id for collection of Account", and i don't know how to remove it. I've found many subject on Internet but nothing seems to correspond to my specific ...
0
votes
3answers
62 views

Trigger - Error - AccountUpdateTerms: System.LimitException: Too many SOQL queries: 101

I wrote a trigger that updates 4 fields into account that are related... our customization makes that we have Billing and Shipping accounts, so the shipping account has a lookup field that relates ...
0
votes
0answers
279 views

Open Visualforce Page through @future method

I have a future method (callout) and I would like to open a visualforce page to display if there are errors. Is it possible? For example : @future(callout=true) public static void doSomething() { ...
0
votes
1answer
75 views

Formula Field Help or Alternative - Automated Solution

Management asked my co-worker to create a formula field they can use for reporting. He doesn't have a stack exchange account (and doesn't want to make one just yet /shrug) so I'm posting in his ...
1
vote
1answer
508 views

fieldsToNull throwing INVALID_FIELD error

I am creating an SOAP upsert request and attempting to use the fieldsToNull tag to blank out a date field after it has already been given a value. I keep getting an INVALID_FIELD error. Bellow is the ...
1
vote
1answer
847 views

Updating formula result based on checkbox set to true

I'm working on a formula field that will display various options on a field called Option Picked based on the amount in the secondary custom field called "last month GTV" If Client type is "Customer". ...
1
vote
1answer
207 views

Napili Customer Community - ec 301 redirect to Salesforce.com site. How to set up redirects?

I have a Napili Customer Community in my Sandbox. Its built with custom Themes/Layouts and Lightning Components. If Im logged in, and close my laptop - When I open it back up, its on Salesforce.com ...
1
vote
0answers
885 views

Uncaught Action failed: aura:if$controller$handleTheTruth [Cannot read property '$getReference$' of null]

We are facing an error in our lightning component. All seems to be working good but unnecessarily this error pops up. Suppose I have performed any task from button click in the component, all will run ...
1
vote
1answer
328 views

Conversion Error - Leads without the company field populated cannot be converted to a Business Account

I have Person Account enabled in my org. The default Account Record Type for my profile is set to Person Account. Whenever I try to Convert leads, I'm getting this error message... Leads without ...
0
votes
2answers
1k views

Show the validation error below the input field

REquired functionality:Show error message below the input text field I have created a vf page where I am able to show the validation error when the text field is blank However inorder to do that I ...
1
vote
1answer
47 views

How can I get count of errors from a mass update in apex

I have an update in catch try written below. try{ update acctsToUpdate; }catch(Exception e){ String t = 'Account State Address Update'; AdminErrorMessage.SendError(e,t);...
5
votes
1answer
1k views

Complete list of Standard Field Validation Error Messages

This is specifically dealing with custom Visual Force controllers that do data validation and error checking prior to attempting to save records via a DML statement. During our validations we will ...
0
votes
0answers
131 views

Delete Contacts Failing

I am pretty new to Salesforce and have been tasked with deleting all data and starting new. As I understand it, the best/only way to do this is to use the Data Loader or the Mass Delete in the web app....
2
votes
1answer
450 views

Proper Way To Display Error Message on Multi-Line Opportunity Product Page

So I am having some trouble displaying an error that happens on the Opportunity sObject. Currently, there is a validation rule that works perfectly. However, this is usually only hit when I save an ...
1
vote
0answers
56 views

Validate adding to the list

I am developing a website on Salesforce. I have two main pages - login, home. On the home page, I just rerender different blocks with products of various types, information about the site and shopping ...
0
votes
0answers
714 views

Users unable to convert leads - insufficient privileges

When my sales users open a Lead record and press the "Convert" button they get the following message: Insufficient Privileges: You do not have the level of access necessary to perform the ...
1
vote
1answer
2k views

Process Builder SOQL Limit Error

I am building a solution that tracks and logs timestamps for various tasks in our system. I have built a flow in Process Builder to trigger based a couple conditions when a record is created or ...
0
votes
1answer
24 views

leadsource is “web” then update phone number field 123 using workflow

I want to do if LeadSource Field on Contact Object has "web" value then update phone field with 123 using workflow but its given error that Formula result is data type (Number), incompatible with ...
1
vote
1answer
279 views

How to detect invalid_client_id in oauth flow?

My web application follows the example in https://github.com/developerforce/Force.com-Toolkit-for-NET/tree/master/samples/WebServerOAuthFlow to initiate a traditional oauth flow. In my application, ...
0
votes
1answer
4k views

Force IDE: Unable to deploy package to server - Problem: Error parsing file: Element

I am trying to mass create fields on the account object but whenever I try to deploy the fields I created to the server I get the following error. If you guys have any thoughts about what could be ...
1
vote
1answer
902 views

Visualforce Google Maps has stopped working [closed]

The code has not been amended for more than 4 years and now Google maps does not load, say: This page has not loaded Google Maps correctly. See the details technical of the problem in the console of ...
0
votes
1answer
653 views

Error: Compile Error: Comparison arguments must be compatible types: Schema.SObjectField, Boolean at line 221 column 63

Below is the code. What deoes this error mean. if((salesRepMapping.Account_Owner__c == true) && (Account.KRM_Program__c == false)){ a.OwnerId = salesRepMapping....

1 2 3
4
5
9