Module: Custom Metadata Types Basics
Unit: Use Custom Metadata Types in Formulas, Default Values, and Validation Rules
Hands-On Org Name: CRM Training
Error Message:
"An unexpected error occurred while inserting or updating test records and we couldn't check your work. Make sure account and opportunity records can be inserted and updated in this org, and click 'Check Challenge' again. If this continues, contact the Trailhead Help team."
Description:
The automated verification script is failing with an unexpected error when attempting to insert/update test Account and Opportunity records in my playground . Please assist in resolving or clearing the backend check state for this org.
#Trailhead Support #Trailhead Challenges #Salesforce Admin #Salesforce Developer
Hello @Abhay Ram Solanki
Deactivate this checkbox and try the step in Trailhead again
Object Manager --> Opportunity --> Field and Relationships --> Discount Percent Field --> Click Edit --> Uncheck "Always require a value in this field in order to save a record" and Save.
Also, check these similar issue discussions:
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007UpAE7SAN
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X94z4SAB
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X9pVpSAJ
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T68W1SAJ
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLR0bSAG
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007equsRSAQ
Please check if any other automation (validation Rule, trigger, flow) is activated on the Account object; if any, then try to deactivate it.
If it is not working, then try in a new, fresh org; it might be the existing record causing the issues in your org.