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
0answers
118 views

400 Bad Request in Enterprise org

We have created an application on Salesforce. This application has three components 1. Salesforce cloud, 2. Unified Gateway server and 3. Mobile client for Android To perform end-to-end testing, ...
0
votes
1answer
33 views

Need help with a trigger detecting related records and the use of addError with Trigger Contexts

Apologies to ask this but I am struggling. I have begun writing a trigger that will handle the automatic-closing of cases under certain conditions. I have got bits and pieces working well but I am ...
0
votes
1answer
132 views

Wrong date Apex error message

i want to make an this.addError with a condition on a date field this condition must get the error if the date is write in a wrong way like this: 19/13/2017 i have already an if condition in this ...
0
votes
2answers
2k views

Error Message Display from Custom VisualForce Button without JavaScript

We are trying to remove all the custom buttons which was using Java Script code and replacing the same with VF buttons.(Migrating towards lightning) However, i am not able to display the validation ...
0
votes
1answer
58 views

Visualforce Page Error

I am getting an error when I try to save data from a Visualforce page calling a controller method. Can anyone help me figure out how to avoid this error? The error is: List index out of bounds: 1 ...
1
vote
0answers
42 views

Upserting a custom bridging object

I have been trying to upsert using the Bulk Data wizard and keep running into the same error no matter what I try. (And I have done this before with no problems - same object and type of data.) I ...
0
votes
3answers
157 views

Visualforce Error Message

I am getting the following error message from my VF page and controller extension. Does anyone know how to resolve? apex:inputField can only be used with SObjects, or objects that are Visualforce ...
0
votes
3answers
83 views

Compile Error: Non-void method might not return a value or might have statement after a return statement

I'm getting the above said error and I have included a return statement where ever an if statement has ended. The error is at the line if(tripType == 'Start'){ The code is given below. public ...
1
vote
2answers
72 views

Date logic suggestion

In my leave management module i am applying error messages for below conditions- if(w.le.Start_Date__c >w.le.End_Date__c){ counter++; ApexPages.addmessage(new ApexPages....
1
vote
2answers
2k views

Error: There's a problem with this state, even though it may appear correct. Please select a state from the list of valid states

I am updating records through batch class. I have state/Country picklist enabled for my ORG, however for few set of records BillingState picklist is having following values i. UNKNOWN VALUE ...
0
votes
1answer
55 views

List has no row exception: Queryerror

I have below line placed in controller that fires list has no row exception. I just need to show a custom message instead when the query returns no value. Apex code: Id CI=[select ...
1
vote
1answer
230 views

Writing an Error message to a text field: Illegal assignment from List<Database.Error> to String

I am trying to write the leadConversionResult error message to a custom field. As you can see I already write the error to the debug log. When I attempt to assign to a text field I get the following ...
0
votes
1answer
56 views

Contact Same No On Account Trigger Test class

How do I cover addError() in Unit Test Class for the below Trigger. trigger ContactSameNoOnAccountTrigger on Contact (before insert) { List<Account> objAccount = new List<account>(); ...
1
vote
0answers
84 views

Import Users in Salesforce Error when User licenses limit exceeded

With Talend Open Studio for Data Integration, the tSalesforceOutputBulkExec component is used to import users in Salesforce. I tested the import of 1000 new users whith only 30 user licences ...
0
votes
0answers
99 views

How to find which rows got failed in StandardSetController.save()

I have a VF page with inline edit mode on and a controller having a set controller. A validation rule is present to check if LastName == '11', then show message 'Custom Error'. Now when I edit the ...
0
votes
1answer
269 views

Why error on getContent() You have uncommitted work pending. Please commit or rollback before calling out

I am getting a log error when running this code. It is launched from the report schedule. You have uncommitted work pending. Please commit or rollback before calling out The part of the code ...
0
votes
1answer
357 views

Entity is deleted error in test class inbound change set salesforce

The below test class covered 100 % code coverage but while deploying in production it is giving the error as System.DmlException: Insert failed. First exception on row 0; first error: ...
4
votes
1answer
300 views

Is it a good practice to set debug points in possible failure points in our Apex code?

For example we're using validation methods to verify customer address. Since this is a paid 3rd party service used by our client, if client missed paying for the service, data validation would fail ...
1
vote
2answers
32 views

Unexpected Java Error in Visualforce component with Apex Class as attribute

All, I've created a Visualforce component which takes an instance of an Apex wrapper class as an attribute. However, when I attempt to insert the component into a VF page, I get the following error ...
0
votes
1answer
366 views

Debugging Visualforce in Communities

I want to set up a self-registration process for a community. When I submit the data from the registration form there occurs an error message: Error occurred while loading a Visualforce page It's ...
0
votes
1answer
2k views

Still get the same error INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: [] even though the query is successfully executed. Fatal error

In order to get the PermissionSetAssigment object I execute the following query which return one object and that same object is added to the listPermissionSetsUnlockUser List<...
0
votes
1answer
479 views

Self registration error message

I want to implement a self registration process for communities. The problem is when I submit my entries in the registration form, the error message "Your request cannot be processed at this time. ...
2
votes
0answers
329 views

Survey Force app error “Authorization required” thrown sometimes

We are using Survey Force to send a survey to non-SF users and while some of them submit their answers without any issue, others are required to login in order to submit their answers. We have checked ...
0
votes
1answer
30 views

I have a controller class in which I want to delete the selected records and make exception record as a hyperlink

it throws exception as a statement but I want to make the exception record Id as hyperlink so that when I click on the link it will redirect to detail page of related record code is: for(integer i =...
1
vote
1answer
431 views

What causes Error 1463999005 during deployments

We are attempting to deploy a large batch of metadata and are receiving this error: objects/MyObject__c.object (MyObject__c.MyField__c) -- Error: An unexpected error occurred. Please include this ...
1
vote
1answer
365 views

I am getting Null value for apex class property

I am trying to conditionally refresh my Case page depending on if the particular case has been updated or not. I use the below JavaScript and mark-up code to refresh my page <apex:page ...
1
vote
1answer
918 views

Create child record using flow

I have a parent object of Project and a child object of Project Notes. I want to create a Project Note using a screen element inside a flow. I will have a button on the Project record to initiate ...
0
votes
1answer
31 views

Why has this error happened?

Error: Duplicate id in list: 0012800000pArJzAAK Error is in expression '{!Savemeth}' in component in page accounteditcontrollerpage: Class.AccountEditController.Savemeth: line 55, column 1 ...
0
votes
1answer
398 views

How to display URL in Error message in User Standard object using Trigger

I have tried all the ways still its not working. Can you please help.... Trigger: trigger UserDelegatedApproverExpiration on User (before update){ for(User u: Trigger.new) { String ...
1
vote
1answer
690 views

Data Loader Error no viable alternative at character

I am receiving the ERROR in Data Loader that says: No Viable alternative at character `"` Does the below query look correct? Select Bill_To_Contact__c, bill_to_first_name__c, ...
0
votes
1answer
2k views

Comparison of two dates in if statement

In my controller i try to compare two dates and if it tru return the error message. Date Today = system.Today(); Date StartDateParsed = Date.parse(startdate); if(StartDateParsed <= Today){bring ...
1
vote
3answers
30 views

visual force pages insufficent privileges

I programmed a VF page and I put it inside a section of a custom object. Now when a user open one record and doesn't have the privileges to see the VF section, the system shows this page inside the ...
0
votes
0answers
200 views

error in self-register partner community

I set the login of my Partner Community (the image below shows the attributes). In my org person account is activated. The profile associated with the partner community user is "partner NXP Pre-Sales"...
0
votes
1answer
31 views

Error Displays Successfully But Record is Still Inserted in the Database

I have two apex classes and one trigger. ApexClass1 handles the record insertion, while ApexClass2 handles mostly all the computations and errors. ApexClass2 is called on the trigger Trigger1. All of ...
1
vote
0answers
69 views

Cell-level error msgs in PageBlockTable

I've built a PageBlockTable that allows users to enter multiple values at one time. I'm trying to add some dynamic error messaging to the table to let users know which fields/cells need their ...
0
votes
0answers
168 views

Compilation Error: ChatterAnswersAuthProviderRegistration

I'm trying to validate a new apex class, but ran into a slew of test failures. Afterward I went to compile all my classes and got the following error (same error I get with the aforementioned ...
4
votes
2answers
9k views

How to resolve an “Unknown user permission: SendExternalEmailAvailable” deployment error

When attempting to deploy profiles, you may encounter the error "Unknown user permission: SendExternalEmailAvailable". What does this mean, and how can you resolve it?
1
vote
2answers
101 views

Compile error for scheduled apex test class (expecting a right parentheses, found)

I'm getting the following error when trying to save my test class for a schedulable class: expecting a right parentheses, found 'Test' Here's the main class: global class deleteConvertedChatter ...
4
votes
1answer
2k views

Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: []

I am trying to add users to the chatter groups based on region field on User object using trigger and apex class. When ever I am creating or updating a user it is giving Invalid Cross reference key ...
5
votes
1answer
705 views

Batch Apex class failure - CPU time limit exceeded

I am facing a sudden bug that arose from a custom scheduled batch class in the system. This scheduled job has been running smoothly for over a year now, but it seems as though a recent influx of ...
0
votes
1answer
461 views

Is it possible to show standard and custom error message at the same time?

I want to know that is there a method to show the standard error message and custom error message at the same time? Also, in my script, there are several custom error messages. Is it possible to show ...
1
vote
0answers
454 views

“Requested value 'APIObject' was not found.” error with SOAP Create/Update Requests from WSDL

We have been working with integration tools that are very strict about the use of the Marketing Cloud WSDL "as is". At the moment we are working on a mc.test.exacttarget.com account. The issue is ...
5
votes
0answers
441 views

problem displaying Community password reset link error messages

In our Community I am using custom Visualforce pages for login and reset password and the change password pages. We occasionally have customers that the password reset link they get via email ...
4
votes
1answer
556 views

call javascript function when error message exists

I have a scenario where I have to produce a sound when a specific error message exists out of many error messages from the apex class. I built a JavaScript function for the sound. <audio id="...
2
votes
0answers
59 views

QUOTE APPROVAL PROCESS ERROR _ ClassCastException

I found the follow error when a user tries to approve a quote using Salesforce1 app and sending an approval email (quote approval email is correct and approval process is well configured in sfdc org): ...
2
votes
1answer
173 views

Unknown PUSH_ACTION for ETPushService: com.geico.mobile.MESSAGE_OPENED

I am getting following error when I press on custom action button for a Rich notification ... Unknown PUSH_ACTION for ETPushService: (applicatinId).MESSAGE_OPENED ...
5
votes
1answer
3k views

Salesforce Lightning: Sorry to Interrupt Popup

Okay, so this only happens every once in a while and I don't seem to see a pattern as to when it happens or what I am doing while it happens. If I am navigating through Lightning, sometimes this ...
1
vote
2answers
531 views

Uncaught type error

So I've been running into an odd problem. I am attempting to add a button to a custom visual force page that will change ownership without going to an edit page. For some reason it's throwing an error....
2
votes
1answer
1k views

Autoflow Error Message

I have a process set on the Opportunity object that launches an autoflow to create an Account and then link that Account back to a lookup field on the Opportunity. All works great. However, when ...
4
votes
2answers
328 views

Visual Flow Load Failure. Can't Load Invocable Actions

When I load any visual flows in my org I get a load error. Most of the time it won't open the flow though sometimes it does get through on the oldest version I have available. I tried opening a case ...

1
3 4
5
6 7
9