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
Sparsh SharmaSparsh Sharma 

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.

I am getting this error and I have done every thing correctly still I don't understand whats the problem here
VinayVinay (Salesforce Developers) 
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.

Thanks,
Sparsh SharmaSparsh Sharma
thanks for your reply but i have already done that and still i am getting the same error
manikanta lalammanikanta lalam
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. 
Suraj Tripathi 47Suraj Tripathi 47
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. 

Thank you!

Regards 
Suraj Tripathi
Veronin SkadvizVeronin Skadviz
The same thing happened to me when i was sncing PC and Cloud Storage account
https://megasync.top/
Aparna .Aparna .
Does anyone get solutions against this question. If yes then please let me know. I am also stuck at this point.
Shubham DighoreShubham Dighore
Please provide solution in that error.
 
Nisha Wandile 4Nisha Wandile 4
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.
ashwin kukadeashwin kukade
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.
Arun Kumar 1141Arun Kumar 1141
Hi @Sparsh Sharma,

You can go through the below documentation for your reference:
https://developer.salesforce.com/forums/?id=906F0000000BIQlIAO

Hope it helps.
Thanks! 
 
Shridhar PanditShridhar Pandit
AND(
NOT(ISBLANK(AccountId)),
MailingPostalCode != Account.ShippingPostalCode)

Using this formula will errors solve.