We can't create a contact by itself (without an associated account). Make sure the validation rule applies ONLY when the contact has an associated account.
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.
hi , i too getting the same error (We can't create a contact by itself (without an associated account). Make sure the validation rule applies ONLY when the contact has an associated account.), please help me if your problem is resolved.
Hi Sparsh, Go through these links,it will help you. https://developer.salesforce.com/forums/?id=906F0000000BIQlIAO https://salesforce.stackexchange.com/questions/252197/create-a-validation-rule-to-check-that-a-contact-is-in-the-zip-code-of-its-accou
If you find your Solution then mark this as the best answer.
I'm new to the sales force. This was a problem for me as well. I completed all of the steps. Finally, I switched playground. Actually, I've made a new admin intermediate playground. However, I had a lot of trouble finding error with the validation rule. So I completed this challenge using my prior playground, and it worked.
Hey buddies try to switch your org i was also facing this issue, but as soon as i switched my org it works & i have completed my assesment. This occurs because we have to create more than one org while solving the trails and our assesments require some fields mandatorily and that we have created in our different org, so that may be the possibility, this can be a suggestion only i am still new to Salesforce.
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.
Thanks,
Go through these links,it will help you.
https://developer.salesforce.com/forums/?id=906F0000000BIQlIAO
https://salesforce.stackexchange.com/questions/252197/create-a-validation-rule-to-check-that-a-contact-is-in-the-zip-code-of-its-accou
If you find your Solution then mark this as the best answer.
Thank you!
Regards
Suraj Tripathi
https://megasync.top/
This was a problem for me as well. I completed all of the steps.
Finally, I switched playground. Actually, I've made a new admin intermediate playground. However, I had a lot of trouble finding error with the validation rule.
So I completed this challenge using my prior playground, and it worked.
You can go through the below documentation for your reference:
https://developer.salesforce.com/forums/?id=906F0000000BIQlIAO
Hope it helps.
Thanks!
NOT(ISBLANK(AccountId)),
MailingPostalCode != Account.ShippingPostalCode)
Using this formula will errors solve.