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
François COMBEAUFrançois COMBEAU 

Build a Discount Calculator - FIELD_CUSTOM_VALIDATION_EXCEPTION

I finalized with Success the "Build a Discout Calculator" since it work perfectly on my Playground #02 environment.
However, I get this nasty message which prevent me to validate this challenge. What should I do ?
Error Message on "Build a Discount Calculator" challenge
Best Answer chosen by François COMBEAU
Amit Chaudhary 8Amit Chaudhary 8
Please check you have any trigger which is creating opportunity record ? if yes then please deactivate the same and try again

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Please check you have any trigger which is creating opportunity record ? if yes then please deactivate the same and try again
This was selected as the best answer
François COMBEAUFrançois COMBEAU
Hi Amit,

That was a good answer. I deactivated the "Account Deletion" trigger and my challenge is validated. Do you confirm it sounds like a bug from Trail head or is their a rational behind it ?

Best Regards

François
victorng8victorng8
Yeah this problem is caused by the AccountDeletion ApexTrigger created in previous trails.
Just Deactivate/Delete it to pass the challenge