ERROR in Build a Battle Station App, Build the Object Model - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Miguel Ibabe BotellaMiguel Ibabe Botella 

ERROR in Build a Battle Station App, Build the Object Model

Hello

I have a error message when i have finished the challenge 

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: [nn__c]: [nn__c]

Thank you
Best Answer chosen by Miguel Ibabe Botella
Ankush AgarwalAnkush Agarwal
Hi Miguel,

You might have created nn field for other challenge or practice and marked it as required. You need to edit this field and uncheck Required checkbox.

Go to Setup --> Object Manager --> Account or Contact or Opportunity (Click on object on which you have perfomed this challenge) --> Fields & Relationships --> edit nn field and uncheck Required checkbox

It should resolve this error

All Answers

Krupa KrishnaKrupa Krishna
Hi Miguel

Firstly, please check the field labels on all the fields you have created.
[nn__c]: [nn__c] ---> should be displaying field name

example: Insert failed. First exception on row 0; first error: Required_field_missing: Required fields are missing: [Quantity__c]: [Quantity__c]

May I suggest you please check with the below link from the success community with a similar issue and a suggested workaround.
https://success.salesforce.com/answers?id=9063A000000iYjfQAE


Thanks!
Ankush AgarwalAnkush Agarwal
Hi Miguel,

You might have created nn field for other challenge or practice and marked it as required. You need to edit this field and uncheck Required checkbox.

Go to Setup --> Object Manager --> Account or Contact or Opportunity (Click on object on which you have perfomed this challenge) --> Fields & Relationships --> edit nn field and uncheck Required checkbox

It should resolve this error
This was selected as the best answer
Miguel Ibabe BotellaMiguel Ibabe Botella
Thanks very much. I have could finished that challenge