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
Amber McNamaraAmber McNamara 

App Customization Superbadge Challange 2 Unexpected Error Volunteer_Job__c missing

I am working on step 2 of this Superbadge. I had an error message when I tried to verify it since I skipped a step. Once I fixed the error, I went back to check the challange again and am now getting the following error message:


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.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Volunteer_Job__c]: [Volunteer_Job__c]
Close errors
2

Any suggestions on how to fix this?
SandhyaSandhya (Salesforce Developers) 
Hi,

1. Check field level security for the Volunteer_Job__c and check if you have trigger code and you are inserting or updating the Volunteer_Job__c  with out providing the values for required fields of Volunteer_Job__c .

Or else try in new trailhead playground to avoid the confusion.

Please mark it as Solved if my reply was helpful. It will make it available for other as the proper solution.
 
Thanks and Regards
Sandhya