+ Start a Discussion
Viktoria Farino 1Viktoria Farino 1 
Step not yet complete in My Trailhead Playground 5
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: PMEAJEIG
Charan MandapatiCharan Mandapati 
The challenge is 

The Apex class must be called ContactAndLeadSearch and be in the public scope
The Apex class must have a public static method called searchContactsAndLeads
The method must accept an incoming string as a parameter
The method should then find any contact or lead that matches the string as part of either the first or last name
The method should finally use a return type of List<List< SObject>>
NOTE: Because SOSL indexes data for searching, you must create a Contact record and Lead record before checking this challenge. Both records must have the last name Smith. The challenge uses these records for the SOSL search

I have written the followig code for ContactAndLeadSearch class
public class ContactAndLeadSearch {
    public static List<List<SObject>> searchContacctsAndLeads(String searchword) {
        List<List<SObject>> searchLead = [Find :searchword IN ALL FIELDS RETURNING
                                         Lead(LastName), Contact(LastName)];
        return searchLead;
    }

}

I have alos created contacts in lead and contacts with last name Smith.
But when checking the challenge I get the error "Executing the 'searchContactsAndLeads' method failed. Either the method does not exist, is not static, or does not return the expected search results."

The log file generated is
30.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,FINEST;DB,FINEST;NBA,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WAVE,INFO;WORKFLOW,INFO
Execute Anonymous: List<Contact> contacts = [SELECT ID from Contact WHERE LastName = 'Smith']; List<Lead> leads = [SELECT ID from Lead where LastName='Smith']; System.assertNotEquals(contacts.size(),0); System.assertNotEquals(leads.size(),0);
01:21:51.2 (2142431)|USER_INFO|[EXTERNAL]|0052v00000bvR7u|mandapaticharan@brave-panda-rpsvz.com|Pacific Standard Time|GMT-07:00
01:21:51.2 (2170579)|EXECUTION_STARTED
01:21:51.2 (2176878)|CODE_UNIT_STARTED|[EXTERNAL]|execute_anonymous_apex
01:21:51.2 (2401411)|VARIABLE_SCOPE_BEGIN|[1]|contacts|List<Contact>|true|false
01:21:51.2 (2463659)|VARIABLE_SCOPE_BEGIN|[1]|leads|List<Lead>|true|false
01:21:51.2 (2582941)|HEAP_ALLOCATE|[79]|Bytes:3
01:21:51.2 (2613502)|HEAP_ALLOCATE|[84]|Bytes:152
01:21:51.2 (2628506)|HEAP_ALLOCATE|[399]|Bytes:408
01:21:51.2 (2642831)|HEAP_ALLOCATE|[412]|Bytes:408
01:21:51.2 (2655370)|HEAP_ALLOCATE|[520]|Bytes:48
01:21:51.2 (2680056)|HEAP_ALLOCATE|[139]|Bytes:6
01:21:51.2 (2710360)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:1
01:21:51.2 (2843783)|STATEMENT_EXECUTE|[1]
01:21:51.2 (2848696)|STATEMENT_EXECUTE|[1]
01:21:51.2 (2859120)|HEAP_ALLOCATE|[1]|Bytes:47
01:21:51.2 (2882649)|HEAP_ALLOCATE|[1]|Bytes:4
01:21:51.2 (2919050)|HEAP_ALLOCATE|[52]|Bytes:5
01:21:51.2 (2943444)|HEAP_ALLOCATE|[58]|Bytes:5
01:21:51.2 (2958073)|HEAP_ALLOCATE|[66]|Bytes:7
01:21:51.2 (3207639)|SOQL_EXECUTE_BEGIN|[1]|Aggregations:0|SELECT ID FROM Contact WHERE LastName = 'Smith'
01:21:51.2 (9582402)|SOQL_EXECUTE_END|[1]|Rows:1
01:21:51.2 (9620070)|HEAP_ALLOCATE|[1]|Bytes:8
01:21:51.2 (9636190)|HEAP_ALLOCATE|[1]|Bytes:29
01:21:51.2 (9671720)|HEAP_ALLOCATE|[1]|Bytes:8
01:21:51.2 (9740848)|VARIABLE_ASSIGNMENT|[1]|contacts|[{"Id":"0032v00002z0iEOAAY"}]|0x3503b13c
01:21:51.2 (9752499)|STATEMENT_EXECUTE|[1]
01:21:51.2 (9757295)|HEAP_ALLOCATE|[1]|Bytes:44
01:21:51.2 (9774642)|HEAP_ALLOCATE|[1]|Bytes:4
01:21:51.2 (10056582)|SOQL_EXECUTE_BEGIN|[1]|Aggregations:0|SELECT ID FROM Lead WHERE LastName = 'Smith'
01:21:51.2 (16181160)|SOQL_EXECUTE_END|[1]|Rows:2
01:21:51.2 (16239134)|HEAP_ALLOCATE|[1]|Bytes:12
01:21:51.2 (16266868)|HEAP_ALLOCATE|[1]|Bytes:58
01:21:51.2 (16326773)|HEAP_ALLOCATE|[1]|Bytes:12
01:21:51.2 (16383323)|VARIABLE_ASSIGNMENT|[1]|leads|[{"Id":"00Q2v00001WRJc3EAH"},{"Id":"00Q2v00001XrjPTEAZ"}]|0x71bff914
01:21:51.2 (16395197)|STATEMENT_EXECUTE|[1]
01:21:51.2 (16507556)|STATEMENT_EXECUTE|[1]
01:21:51.16 (16585324)|CUMULATIVE_LIMIT_USAGE
01:21:51.16 (16585324)|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 2 out of 100
  Number of query rows: 3 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Maximum CPU time: 0 out of 10000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 100
  Number of Email Invocations: 0 out of 10
  Number of future calls: 0 out of 50
  Number of queueable jobs added to the queue: 0 out of 50
  Number of Mobile Apex push calls: 0 out of 10

01:21:51.16 (16585324)|CUMULATIVE_LIMIT_USAGE_END

01:21:51.2 (16622364)|CODE_UNIT_FINISHED|execute_anonymous_apex
01:21:51.2 (18459022)|EXECUTION_FINISHED

Can some one tell me where I am doing it wrong?
Lokajit PalakshaiahLokajit Palakshaiah 
Please help me to resolve the below error for verifying the challenge in Trailhead.

Step not yet complete in tolokajit@brave-moose-809gnv.com
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: OEYLPNAG
tolokajit@brave-moose-809gnv.com
Launch
Verify step to earn 100 points
Kavita Badgujar 10Kavita Badgujar 10 
Most of us might be reeciving a following error message while solving the stage 3 of this super badge.

Open Support Cases Challange
​​​​​​​

The Ursa Major Solar Residential Sales team loves their customers and strives to help them resolve their support issues. Whether it’s the family in town experiencing a faulty converter or the researcher in the desert with a loose panel banging in the wind, the team is here to help. To focus on the most pressing cases first, the team needs a report showing open cases for all accounts grouped first by Account Name then Priority.
Create a summary report (called Open Support Cases). The report should show details and only include the fields Case Owner, Subject, and Case Reason.

Error message we receive
Open support cases
Scott ByrdScott Byrd 
Getting the following error: BoatSearchResults.cmp must handle the BoatSelect event by calling a controller function named onBoatSelect

Here is my code:

BoatTile.cmp
<aura:component description="BoatTile">
    <aura:attribute name="boat" type="Boat__c"/>
    <aura:attribute name="selected" type="Boolean" default="false"/>
    <aura:registerEvent name="BoatSelect" type="c:BoatSelect"/>
    <lightning:button name="{!v.boat.Id}" class="{!v.selected ? 'tile selected' : 'tile'}" onclick="{!c.onBoatClick}">
        <div style="{!'background-image: url(' + v.boat.Picture__c + ')'}" class="innertile">
            <div class="lower-third">
                <h1 class="slds-truncate">{!v.boat.Contact__r.Name}</h1>
            </div>
        </div>
    </lightning:button>
</aura:component>
BoatTileController.js
({
    onBoatClick: function(component, event, helper) {
        let boatId = event.getSource().get("v.name");
        let boatClickEvent = component.getEvent('BoatSelect');
        boatClickEvent.setParams({'boatId' : boatId});
        boatClickEvent.fire();
    }
});
BoatSelect.evt
<aura:event type="COMPONENT" description="BoatSelect">
    <aura:attribute name="boatId" type="String"/>
</aura:event>
BoatSearchResults.cmp
<aura:component controller="BoatSearchResults" >
	<aura:attribute name="boats" type="Boat__c[]"/>
    <aura:attribute name="selectedBoatId" Type="String"/>
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
    <aura:handler name="BoatSelect" event="c.BoatSelect" action="{!c.onBoatSelect}"/>
    <aura:method name="search" action="{!c.doSearch}">
        <aura:attribute  name="boatTypeId" type="String"/>
    </aura:method>
    <lightning:layout multipleRows="true">
        <aura:iteration items="{!v.boats}" var="boat">
            <lightning:layoutItem size="4" padding="around-small">
                <c:BoatTile boat="{!boat}" selected="{boat.Id === v.selectedBoatId ? true : false)}"/>
            </lightning:layoutItem>
        </aura:iteration>
        <aura:if isTrue="{! empty(v.boats)}">
            <lightning:layoutItem size="12" padding="around-small" class="slds-align--absolute-center">
                <lightning:formattedText value="No boats found"/>
            </lightning:layoutItem>
        </aura:if>
    </lightning:layout>
</aura:component>
BoatSearchResultsController.js
({
    doInit: function(component, event, helper) {
        helper.onSearch(component, helper, "");
    },
    doSearch: function(component, event, helper) {
        console.log("BoatSearchResults doSearch");
        let boatTypeId = event.getParam('arguments').boatTypeId;
        console.log("boatTypeId: " + boatTypeId);
        helper.onSearch(component, helper, boatTypeId);
    },
    onBoatSelect: function(component, event, helper) {
        let boatId = event.getParam('boatId');
        component.set('v.selectedBoatId', boatId);
        console.log('selectedBoatId: ' + component.get('v.selectedBoatId'));
    }
});
This code is fully functional, so this is likely something that Trailhead is looking for that I did differently.

Thanks,
Scott Byrd


 
Joseph DisterJoseph Dister 
I'm on the step where I "Build Lookup Logic to Find Matching Salesforce Users" and keep getting this error when I Veirfy Step.
Kingslee Velu 5Kingslee Velu 5 
I am getting below error after creating a data model through CSV for the above trailhead challenge. "Session" object is created through "Lightning Object Creator" but got below error. Checked the "Session" object and fields are already there. Not sure what I am missing.
Please share with me the details to resolve this error. Thanks.

Step not yet complete in My Trailhead Playground 2
We can't find the Date and Time fields on the Session object.
 
NiyorkNiyork 
Receiving the following error when veryifing step in a NEW dev edition
Thoughts?

There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: VIHVDIID

TIA
Best Answer chosen by Niyork
IAMSIMPLYMAJORIAMSIMPLYMAJOR
I've encountered this error before and if you have sfdx or some sort of local ide, i'd download my components and deploy to a new org or trail playground. its not worth the time to resolve it. I spent hours trying to go through my audit trail and check org settings but it was faster to just redo it.
Kishor Shegale 8Kishor Shegale 8 
Hi ,
I am doing the "Einstein Analytics and Discovery Insights Specialist" Challenge #3 and I am getting below error while checking the Challenge .
I am stuck since several days with this issue and as suggested in error I created new Developer Edition (DE)  org and checking Challenge still I am getting same issue in new and old org at Challenge #3 

Challenge Not yet complete... here's what's wrong:
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: MLDDDEXM
Vinitha SubramanyaVinitha Subramanya 
Team,
I have been trying to login to salesforce and trailhead with my personal account but I forgot my password and tried resetting it. Below is the error I am getting. I had to use my official saslesfforce login to raise a ticket the team as my salesforce account too is not working.

My username is "vinitha.subramanya@gmail.com". Can you please reset/unlock my account? I need to complete a few trailheads asap.

Regards,
Vinitha
User-added image