The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
18 views

Automation error in step 2

I am building an automation in Automation Studio. In order to prepare to do so I: Created a standard data extension Created a filter to segment the standard data extension Created an interaction ...
2
votes
1answer
17 views

Create custom error message for batch process

Good day everyone, At the moment, I've created a batch process wherein its purpose is to parse csv file and save the parse data to salesforce object. During the batch process I have to check the data ...
3
votes
1answer
92 views

How to debug the mysterious “duplicate value found: <unknown> duplicates value on record with id: <unknown>” error

I've just spent several hours trying to fix a deployment that was failing with the following extremely helpful error message: Error: objects/Opportunity.object(2098,13):duplicate value found: ...
1
vote
1answer
22 views

Converting Database.SaveResult error messages in more friendly feedback messages

I am implementing an interface from where you can update & insert records in SFDC, through a CSV file. After I process the files accordingly to my specifications, I want to perform an Update and ...
0
votes
1answer
44 views

Uncaught error in markup://ui:click Error in Salesforce1

We are getting the following error when we try to click the "my tasks" list views from Salesforce1. Not sure what it means or even where to start. Any suggestions? We have quite a bit of custom ...
2
votes
2answers
28 views

Error message: Only user and group IDs may be used in inline mentions

I've written a program where I used the ConnectApi class and especially the postFeedElement function. First I've implemented all in a Dev. Org (Spring '15) where I tested it, the tests ran all well. ...
2
votes
1answer
73 views

Show DML exception in VF page

Summary of what i am doing - I have a standard Object - ServiceContract, its child (detail) standard object ContractLineItem, and a custom object (Transaction_Line_Item__c) which is a detail to ...
0
votes
1answer
53 views

Need to cover upto 85% [closed]

I written a test class for one class.I am getting 83%. I want to cover 85% or above 85%. can you please help me out to cover 85%. Below are the class and test class.
2
votes
1answer
75 views

Why does the SOQL parser give a primitive message like 'Unknown error parsing query'?

If you make a mistake/typo in a SOQL query in the Developer Console, you frequently get the - not helpful - message "Unknown error parsing query". I started programming in the early 80s, in BASIC of ...
4
votes
1answer
76 views

Can you make trigger exceptions pretty in standard page layouts?

We have a situation where it is possible for a trigger to throw an exception that will be shown to the end user. This isn't ideal as the user sees a lengthy message containing what is essentially a ...
0
votes
2answers
92 views

display an error message on Page Layouts?

How can I display an error message in a Page Layout, not in Visualforce?
-1
votes
1answer
36 views

Validation to check if related record available

How to throw some message to user if check box is checked on parent then related record needs to be created if there is no related record in salesforce.How to achieve this
2
votes
1answer
485 views

Apex Trigger giving “cannot specify Id in an insert call: [Id]” error

I'm pretty new to Apex and writing a simple trigger for when an account submits a form on our website (tracked on the formSubmit__c object) to create an Opportunity and am getting the following error ...
3
votes
0answers
44 views

Use Apex: page messages with Java script remoting

I am using javascript remoting in my VF page. I want to display any excpetion coming in Remoting as Apex page messages . Any direct way I can do that? Thanks, Ray
0
votes
2answers
192 views

How to show error message on standard detail page from apex controller?

I have a button called Sync on Order object. I want to sync only those orderlineitems whose IsSynced field has value as 'No'. If there are no such orderlineitems then i want to display a message on ...
0
votes
1answer
30 views

Can anyone explain these weird Compile Errors?

So I've got some trigger code here that pop Compile Errors when I attempt to save it. 1. String ED = Event.Description; String Solution = ED.substringBetween('(',')'); Error: Compile Error: ...
0
votes
0answers
35 views

Salesforce sync errors: soqlBatchQuery failed

Our Marketo and Salesforce sync is failing with the following error message: Salesforce sync errors: soqlBatchQuery failed - An unexpected error occurred. Please include this ErrorId if you contact ...
0
votes
2answers
116 views

System.NullPointerException: Attempt to de-reference a null object

I keep getting the System.NullPointerException: Attempt to de-reference a null object on my trigger at line 21. I've attempted to add != null to that line and I get an error too. Please see the code ...
2
votes
1answer
127 views

DML 10001 Apex Class Error

I have a class that is failing. Sometimes the trigger associated to it is mentioned in the error message. The error messages I receive are listed below. These classes used to run just fine. I'm not ...
0
votes
1answer
37 views

Error message on enabling read permission on opportunity

I am getting below error message when enabling Read permission on Opportunity object for a profile. Any one knows that this means? Permission Read Real Time Evaluation Method Elements depends on ...
2
votes
1answer
164 views

VF, show RemoteAction error message

I'm writing VF page and I'm curious. What is the best way to show error message on page from RemoteAction? Should I just create some <div> and set to it's error message or there is way to set ...
1
vote
3answers
333 views

VF Action to Redirect to a Standard Page with Custom Error Message

I have a VF page that produces an Excel file based upon certain products underneath an Opportunity. How would I go about using a VF action to redirect back to the Opportunity standard screen if no ...
1
vote
2answers
39 views

Hyperlink in apexpage.message

How to add hyperlink in apexpage.message() in apex class? I got some solution link but it is displaying the message on the top of the visual force page. I want message in some division/section of ...
2
votes
2answers
393 views

How do I query for the Product Object?

In trying to use a query based on product standard object in a Batch Apex program. select name from product/products returns error even in Developer console. Errors : sObject type 'Product' is ...
0
votes
0answers
36 views

Saving CSS in SalesForce website

I keep getting this error that's driving me nuts whenever I try to save my CSS file. What are SalesForce' restrictions on CSS? What would cause this? I'm quite certain that there is nothing wrong ...
0
votes
0answers
56 views

“Too many SOQL queries: 101” alerts

Since I deployed the Apex trigger below, I got many "Too many SOQL queries: 101" alerts which were caused by other triggers. Here is the code of the new trigger: trigger calcBusinessHoursSecurity ...
1
vote
1answer
297 views

Error when validating External Data Source for SharePoint Online

I get the following error when trying to validate and sync my newly created External data source for SharePoint Online in Salesforce: "Status An unknown error occurred while accessing Files ...
1
vote
2answers
876 views

Error handling for View State of vf page in Apex Salesforce

I have one vf page in which I have a requirement to display huge data but as we know Vf page has View state Limit as 135 KB , hence after reaching this Limit salesforce throws Exception as "Maximum ...
0
votes
1answer
88 views

Apex error Message doesn't appear on error condition

I have a save method like this, that will prompt on some error condition : public void Save() { lstAcct1.clear(); for(Integer j = 0;j<records.size();j++) { if ...
0
votes
3answers
286 views

How to display different error messages at different places on a Visualforce page

How can I control how error messages from apex show at different places on a page? I`d like to show ErrorA to RegionA if ErroA occured, and ErrorB to RegionB if ErrorB occured. Does anyone have any ...
1
vote
1answer
93 views

Validation Error in New Flow

I have created a flow in which a record update takes place. I get the following error message and I cannot understand why I am getting it, as I am not updating this field. ERRORS : ...
2
votes
1answer
57 views

An Opportunity Trigger working in Sandbox (no data) but fails in Production :(, please help!

Thanks again for all the help I have received from the past, this community is awesome! :) I have written the code below and for some reason it works in Sandbox but fails in Production when I try to ...
2
votes
3answers
407 views

Triggers and Custom Validation Rules are in place, how can I make the system to only show Custom Validation Rules' error message?

I have written a few triggers for our business org and have multiple validation rules in place. I was wondering if there's a way to only show Custom Validation Rule's error message instead of a long ...
1
vote
1answer
214 views

Weird error appearing in Eclipse (Force.com IDE V31) with Cases

I have a line of code that for some reason shows up as a compile error even though it saves fine to server. I get this error in different orgs as well but I can force Eclipse to save and it saves the ...
2
votes
1answer
278 views

No Such Column on Entity Error

I'm working on integrating Click and Pledge for a client. I am by no means a SF developer but have more than decent admin skills. I keep getting this error - "No such column 'MiddleName' on entity ...
3
votes
1answer
53 views

ToolingAPI.cls for Apex: How to get CompilerErrors at ContainerAsyncRequest in v31+?

Im trying to patch ToolingAPI.cls in order to use it with API v32. I run it successfully for a couple of month now with v29/30, but due to changes to the API, I need to adapt some parts. Unfortunately ...
0
votes
0answers
105 views

Vertical Required bar in Visualforce

I didnt get the required vertical bar in visualforce page after disabling the show header and standard stylesheet. My visualforce page code as follows <apex:page standardController="contact" ...
1
vote
2answers
299 views

Required Error Message in Visualforce Page

Hi folks, Can anyone tell me how to show the custom error message(red color) in visualforce after disabling the show header and standard stylesheet? Below is my VFP for ...
1
vote
1answer
142 views

Error: Allow Forecasting is not allowed for this License Type

I am creating a Chatter Free user on a development org and received this error: Error: Allow Forecasting is not allowed for this License Type. The checkbox is already grayed out so it is not ...
3
votes
0answers
124 views

Add Error on standard list view

does someone know how to show an error in an object's listview after a dml operation? I have written a simple trigger that prevents user to delete closed opportunity List<Opportunity> ...
1
vote
1answer
170 views

Error Message for web service call?

I am trying to write a valid error message for when certain lists/calls return empty, without having to remove 'void' from my class, what is the best practice/syntax for this task? I know I can remove ...
0
votes
0answers
115 views

Error when reading metadata: INVALID_TYPE: This type of metadata is not available for this organization

I am trying to get a list of all metadata objects with the given name. However, the code below fails: connection.readMetadata("ApexClass", new String[] {"SampleDeployClass"}); with this error: ...
3
votes
1answer
360 views

Wrong Required field error message [duplicate]

This is my vF page: <apex:page controller="NewNoteControllerExtension" tabStyle="Account"> <apex:sectionHeader title="New Note"/> <apex:form > <apex:pageBlock > ...
7
votes
3answers
2k views

What controls the 'severity' of ApexPages.addMessages(exception)?

I'm trying to crystallize out some 'best practises' for Visualforce Page exception handling. I think, at a minimum, a page should look something like this: <apex:page ...
0
votes
0answers
75 views

Curl Error with Salesforce

I'm getting a curl error with Salesforce when I completed the form. So, I would like to know if you any clues to help me. My Network System admin told me that the communication between the web-to-lead ...
1
vote
3answers
207 views

Lead trigger to query Zip Code custom object not working

I'm trying to implement lead assignment based on zip codes, and I'm running into an error with the code. I set up a Zip Code custom object, Zip_Code__c, where the name is the zipcode. Both the custom ...
6
votes
2answers
61 views

How to handle error emails from customer orgs as an ISV partner

We currently send all the error emails produced by our ISV package installed in customer orgs to a generic email list. The more packages we have and the more dynamic we assign developers to product ...
0
votes
0answers
820 views

Error “System.String Exception: Invalid Id :Second External Entry Point ”

Getting This Error For Only 1 Specific Record this is my Trigger It is Working fine for 500+ Records but, Only for One Record I Am getting this Error trigger Create_Payment_Schdule on ...
0
votes
3answers
211 views

SendEmailError Messaging.SendEmailError[getTargetObjectId=null;]

I've written a method which should send messages to the current user, the System Administrator, and a list of other addresses that I specify. public static void sendErrorEmail(String body) { ...
4
votes
1answer
201 views

Winter 15 preview new error messages: valueOf() function

We have been experiencing serious issues today with the release of Winter 15 into our sandboxes... Salesforce System Error: 1702643372-49547 (938791604) (938791604) Error is in expression ...