+ Start a Discussion
Carol Thiago CostaCarol Thiago Costa 

App Customization Specialist - Challenge 1 - List has no rows for assignment to SObject

Hello community!
I have a problem validating Challenge 1 on the Superbadge App Customization Specialist.
I have already created the new playground and installed the package correctly.
When trying to validate the challenge, the message appears
"Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: List has no rows for assignment to SObject
"
I've also used previous suggestions as well.
Could anybody help me?
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Carol,

Generally this exception is because of you are not getting any record in your SOQL query, which meet the where criteria so it's give error.

Please check the below article for more details.

https://www.forcetalks.com/salesforce-topic/system-query-exception-list-has-no-rows-for-assignment-to-s-object/


Please note that Questions about how to pass Trailhead challenges are not on topic, because these challenges are intended to be independent demonstrations of your abilities.

Trailhead Help  :https://trailhead.salesforce.com/en/help?support=home

can provide assistance for situations where Trailhead does not appear to be functioning correctly. You can reach out to them if this is the case.

Hope above information helps.

Please mark as Best Answer so that it can help others in future.

Thanks,
Carol Thiago CostaCarol Thiago Costa
Hello @Sai Praveen,
Thank you very much for the tips, but in this challenge I don't use coding, my development is totally declarative.
So, I can't apply your tips.