Hi, I am having trouble getting this challenge checked. I took all the steps for both validations but the error message says, "An unexpected error occurred while inserting Opportunity records and we couldn't check your work. Make sure Opportunity records can be inserted in this org, and click "Check Challenge" again. If this continues, contact the Trailhead Help team."
Can someone help me with this?
Divya Chauhan (Kcloud Technologies) Forum Ambassador
Hello@Jessica Osias,
- here are the steps:-
- First click setup then open object manager.
- Second click opportunity then open field dependencies.
- Third edit field dependencies and make sure every lost and won values are included then save it then check your challenge.
If not working
- check, is there any other automation (validation Rule, trigger, flow) is activated on Opportunity object, if any then try to deactivate
- If not working, then try in new fresh org, it might be the existing record causing the issues in your org.
- https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007UpAE7SAN
Eric Burté (DEVOTEAM) Forum Ambassador
Hello, you have some previous configuration preventing opportunity records from being created. Please undo this configuration (required field, validation rule, or missing or incorrect picklist dependencies..). Try to create manually an opportunity to target the configuration issue.
Otherwise, you can still create a brand New playground (click 3 dots icône next to Launch button, in the challenge section, and then chose Create playground) without previous interfering configuration. Eric
I am a member of Trailhead Help, Can you please check with the above suggestions and let us know if the issue still exists or is resolved? If it is resolved, please post the solution or mark any one of them above which helped you to resolve your query and mark it "Best Answer" to close this thread. If not, kindly provide a few more details of the badge along with the error message.
Thank You!
++TrailheadHelpFollowUp