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
penchala raju 2penchala raju 2 

Ensure that you do not have any validation rules that would prevent the deletion of products.

I got stucked in PD2  Advanced apex specialist challenge2 - 
Update the codebase to use best practices.

I am getting below error while clcking check challenge. I have checked validation rules in my org but still same error. Thanks in advance.error
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Please note that Questions about how to pass Trailhead challenges are not on topic, because these challenges are intended to be independent demonstrations of your abilities.
Trailhead Help (https://trailhead.salesforce.com/en/help?support=home) can provide assistance for situations where Trailhead does not appear to be functioning correctly.   
You can reach out to them if this is the case.Hope above information helps.


 Please mark as Best Answer so that it can help others in future.

Thanks,
 
keerthi Thattekeerthi Thatte
Hi!How you able to solve this penchala raju?
rr ramrr ram
Thank you for sharing this Visit my (https://arringtones.co.in/tag/bgm)
Toby GoughToby Gough
I don't know but I wonder if they could potentially use a flow triggered on delete that does a check and forces an error. Think trying to update a lookup field on the user making the delete with a bad ID or something. The error handling to notify the user or whomever why the record could not be deleted.  PrepaidGiftBalance Mastercard (https://www.prepaidgiftbalance.vip/)
Test Org 166Test Org 166
penchala Raju .. Did u get answer of this ??
" i am getting below error while clcking check challenge. I have checked validation rules in my org but still same error. Thanks in "