以前のチャレンジが残っていた場合のエラーメッセージ

[まとめページに戻る](https://qiita.com/Keiji_otsubo/items/60afc2a8d211b6f7d89f)

+ [Wonter 24 以前のチャレンジが残っていた場合のエラーメッセージ2](https://qiita.com/Keiji_otsubo/items/ce4e634e2ba2ac5a7f37)


二度と同じ間違いをしないようにチェックしておこう。

# System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount_Percent__c]: [Discount_Percent__c]

+ [approval processがある時は操作が違う？](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XHSf0)

:::note
actually had to deactitivate the approval process, mark as required, then unmark as required. thanks for checking in.
:::

+ [Create Initial Submission Actions](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000IPri5)

:::note
I think the settings for the previous challenge remain. Please deactivate.

Setup-->Object Manager --> Choose (Opportunity)-->Fields-->Edit(Discount_Percent__c) and uncheck required
:::

+ [System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount_Percent__c]: [Discount_Percent__c]](https://qiita.com/Keiji_otsubo/items/8fb3e8ac649bd93cbf4a)
+ [詳細な説明](https://qiita.com/Keiji_otsubo/items/8fb3e8ac649bd93cbf4a)
+ [Help with Create a Simple Custom Report](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PezsL)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/dfe10cac-92f3-b15f-607a-c2effe9aff43.png)

+ [Item 1 has errors in these fields: Discount Percentage](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YveEKSAZ)


# REQUIRED_FIELD_MISSING, Required fields are missing: [Loan_Amount__c]: [Loan_Amount__c] this is my error

:::note
I think the settings for the previous challenge remain. Please deactivate.

Go to Setup --> Object manager --> Choose (contact) --> Fields & Relationships --> Edit Loan Amount  and uncheck Required checkbox.
:::

+ [Step not yet complete in My Trailhead Playground 1 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, Requ](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000HDAisSAH)

+ [組織で予期しないエラーが発生したため、この評価チェックが完了しませんでした: System.DmlException: Insert failed.行 0 の最初の例外。first error: REQUIRED_FIELD_MISSING, 値を入力してください: [Discount_Percent__c]: [Discount_Percent__c]](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmOdo)

:::note
過去に実施した設定が問題を起こしています。

設定-->オブジェクトマネージャー --> 商談を選択-->項目-->項目(Discount_Percent__c) の必須設定を外します
:::



# System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount__c]: [Discount__c]

+ [Create Initial Submission Actions- error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007MaWUg)

+ [bulk apex triggers](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000mVfh)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/23ac3113-04c1-385d-89c7-11b210d290ec.png)


:::note
Setup-->Object Manager --> Select Object-->Fields-->Edit(Discount__c]) and uncheck required 
:::



# : REQUIRED_FIELD_MISSING, Required fields are missing: [Field_Label__c]: [Field_Label__c]

+ [#TrailHead Challenges. Build a Discount Approval Process Create Initial Submission Actions Not able to Submit. Showing E](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007VgvmbSAB)

:::note
Problem got fixed. Issue was that instead of Discount Percentage in criteria I chosen Discount Percent which was a different field.
:::



# We created an account with one opportunity. We expected the account's 'Potential_Value' field to show the amount of that one opportunity, but it didn't.
[Implement Roll-Up Summary; Amount not showing](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000BqMnASAV)

:::note
I think the problem is due to the existing automation of the playground. Deactivate it or use a new playground.
:::

# We updated an account that had 'Match_Billing_Address__c' set to false. We expected the trigger not to fire, but it did. Make sure the trigger fires only if 'Match_Billing_Address__c' is true.

トリガーのソースを提示

+ [Apex Trigger Challenge](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000BqLIB)

他のトリガーが干渉していたみたい。

:::note
Deactivating the other Apex Triggers related with Account object ensures that the trigger works freely, and faces no conflicts.
:::

+ [Apex Triggers challenge not getting complete even when the solution seems to be working fine](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QLQf0)

:::note
Thanks everyone for the help!  I found the issue. Issue was happening since as part of "Developer trail" I had created validation rules on account object. For the module on Apex triggers, challenge button was attempting it without the required accountnumber value. I disabled the validation rules on account object and it was able to mark it as complete.
:::

# First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Account number must be 8 characters long.: [AccountNumber]

:::note
I think the settings for the previous challenge remain. Please deactivate.

Go to Setup -> Object manager -> Choose (Account )-> Validation Rules. 
Find that validation rule and deactivate it.
:::

+ [First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Account number must be 8 characters long.: [AccountNumber]](https://developer.salesforce.com/forums/?id=9060G000000BiZlQAK)

+ [I'm unable to fill the field "Account Number" with the values 117](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PepGnSAJ)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/bfb9c652-535e-de70-d454-c0ec95c91240.png)

+ [ID Field not Mapping with Dataloader.io - Use Dataloader.io to Update Data](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000E98mE)

+ [Sample Insert Related records not working.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007UQ7sr)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/3e9083cc-4e78-2eef-bcb0-1d94299d1682.png)

+ [DESENCADENADORES](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eqAicSAE)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/db4bf790-9976-654e-95a7-b427371b6c50.png)



+ [Step not yet complete in My Trailhead Playground 1 There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Update failed. First exception on row 0 with id 001Qy000016tBBnIAM; first error: R](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000SWjfU)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/c8f844ac-6c1d-403a-9d11-89b100a13183.png)


:::note
I think the settings for the previous challenge remain. Please deactivate. 

Setup-->Object Manager --> Choose (Account)-->Fields-->Edit(Price__c) and uncheck required
:::



# System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Suggestion_Category__c]: [Suggestion_Category__c]

:::note
I think the settings for the previous challenge remain. Please deactivate.

Setup-->Object Manager --> Choose (Suggestion)-->Fields-->Edit(Suggestion_Category__c) and uncheck required
:::

+ [Unable to complete "Add Business Logic"](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000Gzh5ASAR)

# REQUIRED_FIELD_MISSING, Required fields are missing: [Volunteer_Job__c]: [Volunteer_Job__c]

:::note
I know the question was asked long back. I faced the same issue recently while trying to complete the App Customization Specialist superbadge. I just edited the field 'Volunteer Activity' filed (in the Volunteer Activity object ) and removed the check mark for the required field and tried to check the challenge 2 and it passed. Then I went back and made the field as required again. I think Trailhead team need to take a look at it.

私はその質問がずっと前に尋ねられたことを知っています。最近、App Customization Specialist スーパーバッジを完成させようとしているときに、同じ問題に直面しました。 「ボランティア活動」フィールド (ボランティア活動オブジェクト内) を編集し、必須フィールドのチェック マークを外して、課題 2 をチェックしようとしたところ、合格しました。それから私は戻って、必要に応じてフィールドを再度作成しました。 Trailhead チームはそれを検討する必要があると思います。
:::
 
+ [App Customization Specialist Challenge 2: Volunteer Activity Error](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000A8TqTSAV)
+ [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]:](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000A8AHoSAN)

[App Customisation Specialist Challenge 3 - Create App fields](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000H1c4xSAB)

# REQUIRED_FIELD_MISSING, Required fields are missing: [Desired_Num_of_Volunteers__c]

+ [How to clear: REQUIRED_FIELD_MISSING, Required fields are missing: [Desired_Num_of_Volunteers__c]](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000HD9ApSAL)


# "We can't find a notification named "Lost Opportunities". CRM Analytics Dashboard Navigation – Personalize Your CRM Analytics


+ [ I noticed one comment on the thread said removing other notifications from previous challenges worked for them. This worked for me to. ](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000HDqIo)

:::note
Removing the previous challenge notification worked for me as well.
:::

+ [CRM Analytics check challenge issue](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Or1aN)
+ [Hey, Issue trying to pass Personalize Your CRM Analytics in Trailhead](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeRin)

:::note
 Deleting the "Open Pipeline Test" notification fixed this issue for me.
:::

# We created an opportunity and expected it to have an associated task, but it didn’t. Make sure your Apex trigger inserts the task into the database.

:::note
It was an issue with a custom field setting in Opportunity Object, Discount_Percent__c in Opportunity Object was marked as the required field! I reverted it and it worked!
:::

+ [Getting this error, someone please help me out](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000ElmmSSAR)
+ [未解決 : Challenge is not completed.(Bulk Apex triggers)](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X7ESh)

# pending__c

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/0ce94c10-c177-9e09-1bc1-e299b69d4e14.png)


:::note
I think the settings for the previous challenge remain. Please deactivate.

Setup-->Object Manager --> Choose (Account)-->Fields-->Edit(Pending__c) and uncheck required
:::

[Can't complete challenge: Use sObjects and DML Unit. I would like to know the reason for the error and resolution](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000JeEz7SAF)

# We updated an account that had 'Match_Billing_Address__c' set to false. We expected the trigger not to fire, but it did. Make sure the trigger fires only if 'Match_Billing_Address__c' is true.

+ [Apex Trigger Challenge](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000BqLIB)

どうも他のチャレンジで作ったトリガーが影響しているようです。

# Account number is not numeric

+ [Not able to finish "Distribute the flow with a custom button"](https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000LHzMq)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/222d4c22-c553-24dc-881c-5e8216afef77.png)

:::note
I think the settings for the previous challenge remain. Please deactivate.

Go to Setup -> Account -> Validation Rules. Find that "Website extension" validation rule and deactivate it.
:::

+ [Need more inputs on the error that I have been getting while performing the exercise mentioned in the module.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007W62sc)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/c51096ca-3d9e-3fc8-77f5-0a62ffd6238b.png)


# Products, Quotes, & Contracts > Configure Quotes for Your Customers and Track Contracts

+ [Account Zipcode - Quotes for Edge Installation](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeZnX)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/000d126d-6ee6-6554-7bbe-6689d19bacb6.png)

:::note
Please check if any active validation rule exists in Account object. If so, please deactivate it and try the challenge requirement again.

OR

Kindly create a new playground org to complete the challenge.
:::

# REQUIRED_FIELD_MISSING, Required fields are missing: [Account_Type__c]: [Account_Type__c]

+ [Test your process challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QKZTH)

:::note
 It seems there was a require field "Account Type" on Account object which is blocking the challenge check.

Please follow below steps to uncheck the required option:

-- Goto Object Manager in the challenge took org
-- Click on Account object
-- Click on Fields&Relationships 
-- Click on Account Type field and click Edit
Uncheck the Required option and save changes.

Once this is done, please check the challenge and hopefully it works now.
:::

# Your lead is missing a field mapping for the Account.Contact__c field. For help, talk with your admin or see Map Custom Lead Fields for Lead Conversion in Salesforce Help.

+ [Sell Lightning Fast with Sales Cloud >>Quick Start: Lightning Experience for Closers>> Hunt Your Prospect](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QL820)

:::note
If the field Account.Contact__c is required, deactivate its required setting

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8kXZSAZ
:::

# 何度かみたような気がするけど、トレイルヘッドでない？

**System.DmlException: Update failed. First exception on row 0 with id aAM5f000000GtNsGAK; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Apps__c]: [Apps__c].**

+ [Error: Required fields missing](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Pf5QH)

:::note
Please deactivate.

Setup-->Object Manager --> Choose (custom object)-->Fields-->Edit(Apps__c) and uncheck required
:::

# First exception on row 0 with id 0018b00002SnbkCAAR; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Account_Object__c]: [Account_Object__c]

+ [Error Submission](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Pf5DP)

:::note
It seems there was a require field "Account Object" on Account object which is blocking the challenge check.

Please follow below steps to uncheck the required option:
-- Goto Object Manager in the challenge took org
-- Click on Account object
-- Click on Fields&Relationships
-- Click on  Account Object  field and click Edit

Uncheck the Required option and save changes.
Once this is done, please check the challenge and hopefully it works now. 

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QKZTH
:::


# You must enter an expiration date when an account has a support plan.

+ [getting errror in Set Up and Connect Postman module](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V0000798NuX)

```
[
    {
        "message": "You must enter an expiration date when an account has a support plan.",
        "errorCode": "FIELD_CUSTOM_VALIDATION_EXCEPTION",
        "fields": [
            "Support_Plan_Expiration_Date__c"
        ]
    }
]
```

:::note
I think the settings for the previous challenge remain. Please deactivate.

Goto Setup -> Object manager -> Choose (Account )-> Validation Rules( Support_plan_expiration_date_required ).

Find that validation rule and deactivate it. 

https://trailhead.salesforce.com/content/learn/projects/customize-a-salesforce-object/create-
:::

# 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: FIELD_CUSTOM_VALIDATION_EXCEPTION, The close date must be today or later: []

:::note alert
The close date must be today or later: []
:::

これが残っている --> https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000E99zOSAR

:::note
I think the settings for the previous challenge remain. Please deactivate.

Go to Setup -> Object manager -> Choose (Opportunity )-> Validation Rules(Name: Close_Date_Alert).

Find that validation rule and deactivate it.
:::

#  SLA details

+ [Issue with creating an Account in Sales App](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007T4dNU)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/1ca41e66-bfee-0041-3528-4b6aace06631.png)


# Your lead is missing a field mapping for the Contact.Loan_Amount__c field. For help, talk with your admin or see Map Custom Lead Fields for Lead Conversion

+ [Your lead is missing a field mapping for the Contact.Loan_Amount__c field. For help, talk with your admin or see Map Custom Lead Fields for Lead Conversion](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A91OQSAZ)

:::note
While creating the Contact.Loan_Amount__c field did you make Mandatory? 

If yes please uncheck it. 

and edit pagelayout and click Contact Loan Amount Field you'll get  a modal mark Required there. 

I have taken an example as delivery installation field.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/0d336835-120e-bff5-2f83-0d3df496f89c.png)

:::