function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prabhat Sharma 6Prabhat Sharma 6 

Error while validating trailhead challenge : Project - Build Reusable Lightning Components

While validating step 3 of this project, I'm getting the below error
User-added image
Kindly help.
SabrentSabrent
One of the queries in your code is not returning anything to the list that's the reason for the error. 

After running your code in execute anonymous, inspect the debug logs and you will know exactly where your code is failing.

To make it easier add system.debug statements after every list
//something like this.
System.debug(' MyList1 has ' + MyList1.size() + ' records.');

Kidnly post code snippet or post the URL to the module/challenge you are trying to do and I can help you with the error.