+ Start a Discussion
Vijaya DVijaya D 
Hi All,

I'm trying to call apex method in lightning aura component. After all successful save I'm getting the error An internal server error has occurred
Error ID: 1621501516-145166 (1614096034) 
 while previewing the application. Can you some help me to sort it out, I'm new to lightning.

Best Answer chosen by Vijaya D
Shikhar .Shikhar .

Could you pleasedo following things to see what's causing the issue.
1. Remove everything and just try to save the record with the fields (Remove the Education Experience section as well) that you mentioned in your previous comment.
2. If you are able to save the record, try adding the fields one by one so that the error can be traced. 

Admin Advanced >  Advanced Formulas > Using Basic Logic in Checkbox Formulas

The formula I used is:
NOT(IsClosed) && (CloseDate <= (Today() - 1))
Also tried:
AND(NOT(IsClosed),(CloseDate <= (Today() - 1)))

The error code I get is:

"Hey McFly, unless you are planning to go back in time, please update your close date"

Trialhead is giving the error:
Challenge Not yet complete... here's what's wrong: 
The validation rule does not reference the 'IsClosed' and 'CloseDate' fields correctly. Take a look at the requirements again.

When I test it out myself, it's working as expected. Any ideas on what it could be?
Best Answer chosen by jprichter
Jeff DouglasJeff Douglas
Everyone, give it a try now. We just pushed a fix so that should do the trick.

Jeff Douglas
Trailhead Developer Advocate
Patrick McClellanPatrick McClellan 
I'm having trouble validating challenge 2, with regard to Shinje Tashi's user settings.
Challenge Not yet complete... here's what's wrong: 
Shinje Tashi does not have the user settings he needs.

The instructions say: "This sales data quality specialist supports the entire company and needs to be assigned a role that can see and access all account, contact, and opportunity records for the entire company. Use the Standard User profile."

First off, it seems odd not to handle this through a separate profile, but I'm trying to follow the directions. So...

I created Shinje as an active user, User License: Salesforce, Profile: Standard User. There isn't a role specified for him, and the instructions suggest providing access to all acct, contact and oppty records through a role assignment, so I created a Sales Data Admin role, reporting to the CEO. That role should provide RECORD access. Additionally, for OBJECT access, I created a permission set granting full access (CRED, View All, Modify All) to Acct, Contact, and Oppty objects and assigned it to Shinje. I created a separate permission set granting access to the Language preference field on Acct, named that permission set "Bilingual Pilot" as instructed, and assigned it to Shinje.

I'm not sure what I'm missing...

Best Answer chosen by Patrick McClellan
Eric JJ van HorssenEric JJ van Horssen
Permission set not needed, The role you created will not be able to see teh records owned by the role above (CEO)

Set the Role simply to CEO
Cody PiersonCody Pierson 
Hi there!

I've been asked to restrict the valid Close Dates for Opporunities to the last day of the month when the Stage is not Closed Won/Lost.

I've found a fromula that does a great job restricting the dates in general, but I can't figure out how to add the additional condition that it should only apply the date limitation when the Opportunity is in certain stages.

    MONTH( CloseDate ) = 12,
    DATE( YEAR( CloseDate ) + 1, 1, 1 ),
    DATE( YEAR( CloseDate ), MONTH( CloseDate ) + 1, 1 )
  ) - 1 

Any help/insight would be greatly appreciated!
Best Answer chosen by Cody Pierson
Maharajan CMaharajan C
Hi Cody,

If you want to exclude for Closed Won / Lost... Then Use the below Validation Rule...
NOT( ISPICKVAL(StageName, "Closed Won") ),
NOT( ISPICKVAL(StageName, "Closed Lost") ),
CloseDate != (
MONTH( CloseDate ) = 12,
DATE( YEAR( CloseDate ) + 1, 1, 1 ),
DATE( YEAR( CloseDate ), MONTH( CloseDate ) + 1, 1 )
) - 1

Pradeep K 55Pradeep K 55 
Challenge Not yet complete... here's what's wrong:
The solution for extending access is not assigned to the right user or is not granting access to the right field.

Tried all the options like changing the Timezone, language...
But not able to proceed further
Best Answer chosen by Pradeep K 55
Pradeep K 55Pradeep K 55
I don't have option to select Pacific Daylight Time, could see only Standard Time

User-added image
Dannilo FrancoDannilo Franco 
I'm getting the same error even though I'm using the code provided by other users here. The new field is also created.
trigger AccountAddressTrigger on Account (before insert, before update) {
    for(Account a : Trigger.new){
        If (a.Match_Billing_Address__c == true) {
            a.ShippingPostalCode = a.BillingPostalCode;

Is there anything wrong with it? 

Thanks in advance.
Best Answer chosen by Dannilo Franco
Dannilo FrancoDannilo Franco
Hey Sumit,

I just fixed the problem! For some reason the Trigger was inactive. I actived it and checked the Challenged and worked properly!


Tobias KrönkeTobias Krönke 
Hi there, I hope you can help me with the following issue. We've setup a SAML 2 Salesforce application in our Google Admin console (https://support.google.com/a/answer/6194938). Login is working, if we start the login process from within Google (for example GMail, see 1st screenshot). However, the login fails if started from https://company_name.my.salesforce.com. We then end at a generic error page https://company_name.my.salesforce.com/_nc_external/identity/saml/SamlError (see 2nd screenshot).

Thank you for your help!

User-added image

User-added image
Best Answer chosen by Tobias Krönke
Tobias KrönkeTobias Krönke
Yay, never mind. I could get the other side working. By inspecting the reuqests made in the whole redirect process in my Chrome dev tools I found the base64 encoded SAML response. After decoding it with https://www.base64decode.org/ it reveiled the actual error:
<saml2p:StatusMessage>Invalid request, ACS Url in request https://company_name.my.salesforce.com?so=00A78000000bhJUZSAD doesn't match configured ACS Url https://company_name.my.salesforce.com.</saml2p:StatusMessage>
So all I had to do was change the ACS-URL in the Google application to the expected one. It's the one that's called Login URL in your Salesforce SAML Single Sign-On Settings. So far I have not seen any guide pointing out that detail.

I want dump question in Salesforce Administration Certification.

Best Answer chosen by Admin (Salesforce Developers) 
Ankit AroraAnkit Arora
Abbey BurokerAbbey Buroker 
I am currently working on the Business Administration Superbadge in trailhead and am stuck on step #5. I cloned the Utility Opportunity Page record type to create the Residential Opportunity record type. After removing and adding the fields listed in the description, I continue to get an error that there are still unwanted fields on the page layout. Has anyone seen this or have any suggestions? Thank!
Best Answer chosen by Abbey Buroker
I got an issue for the following step, but @Nagendra, sent me the following message...

May I suggest you please check with below link which has step by step explanation on the business administration super badge for step no 4, 5, 6.
Hope this will help you pass the challenge.

Kindly mark this as solved if it's resolved.

Charlene NguyenCharlene Nguyen 
I keep receiving the "Houson, we have a problem," message - I've logged in before and I can't reset my password. What should I do?
Best Answer chosen by Charlene Nguyen
Mahesh DMahesh D
Hi Charlene,

Could you please use both Email ID and User Name unique from old ids.

Make sure that you never used this User Name any time with Salesforce.

Safe side, create one new Gmail Account and provide that id in both email and user name.

Please do let me know if it helps you.