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
Wilson LamWilson Lam 

Suggestion Box: Adding Business Logic, Error Message

Hello. I keep getting this 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: [Suggestion_Category__c]: [Suggestion_Category__c]


Any idea how to fix this? I am on module "Adding Business Logic." I followed everything step by step so I am not sure what is going on with this error message. Any help would be greatly appreciated. Thanks.
Best Answer chosen by Wilson Lam
Rahul_kumar123Rahul_kumar123
Hi Wilson Lam,
please check the below screen shot 

User-added image

Please mark it as solved if it is resolved.

Best Regards,
RahulKumar.

All Answers

Amit Chaudhary 8Amit Chaudhary 8
It look like that you created the Suggestion_Category__c field as required field please edit the same field and try to remove required check box

 
Rahul_kumar123Rahul_kumar123
Hi Wilson Lam,
please check the below screen shot 

User-added image

Please mark it as solved if it is resolved.

Best Regards,
RahulKumar.
This was selected as the best answer
Li Li 36Li Li 36
Thanks, that's the same error I got and this way fixed it.