The 'Account' profile did not have the appropriate object and field-level security for the Account object. (Trailhead, Data Security, Control Access to Fields) - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Tristan RhodesTristan Rhodes 

The 'Account' profile did not have the appropriate object and field-level security for the Account object. (Trailhead, Data Security, Control Access to Fields)

I keep getting this error, and i cannot fathom why. I've trawled the forum (and google) and I beleive I've done everything in accordance with the instructions, and as per peoples interpretations. can anyone help to show me what i've done wrong please? (NOTE: Screenshots below are from copy of 'read only' profile cloned to make 'Account' profile, as forums seem to suggest this is how to do it rather than clone os 'standard user' profile as per Trailhead challenge.
Profile Object Permission
Profile Accounts Rating field permission
'Rating' Permission set account object field settings:
'Rating' Permission Set, Account object, Rating field settings

As with everythin i've got stuck on in Trailhead, I bet it's staring me in the face. Thanks in advance!

 
Best Answer chosen by Tristan Rhodes
Tristan RhodesTristan Rhodes
I repeated the challenge in a different Playground, and it worked, so there must be some quirk/error with the first playground I used.
Douglas, Permission set does not need assigning for this particular challenge, only creation of the profile and permission set.
Amit, as per my post, i did clone 'read only' as an effort to get it right as that's what others did to fix the 'error', but thanks anyway.

All Answers

Doug BurkhartDoug Burkhart
Did you assign the Permission Set to the User?
Amit SinghAmit Singh
++ Have you cloned Standard User Profile seems that you have cloned Read Only Profile
Tristan RhodesTristan Rhodes
I repeated the challenge in a different Playground, and it worked, so there must be some quirk/error with the first playground I used.
Douglas, Permission set does not need assigning for this particular challenge, only creation of the profile and permission set.
Amit, as per my post, i did clone 'read only' as an effort to get it right as that's what others did to fix the 'error', but thanks anyway.
This was selected as the best answer
Naveen DhanarajNaveen Dhanaraj
Step1 Setup->Manage Users->Profiles->New Profile->Named:"Basic Account User"->save
Step2 In Basic Account User page-> Field-Level Security->Account[ View ]->Uncheck Rating Visible->save
Step3 Setup->Customize->Accounts->Fields->Rating->Set Field-Level Security->Uncheck Basic Account User Visible->save

Step4 Setup->Manage Users->Permission Sets->New->Named : Account Rating->save
Step5 Click Account Rating-> Apps Object Settings->Accounts->Check both permissions of Rating
Tristan RhodesTristan Rhodes
Naveen, Thanks for feedback, however your instructions are wrong as the profile has to be named "Account" not "Basic Account User".
Greg FiorentinoGreg Fiorentino
Tristan,
  Even though this post is almost a month old. I feel your pain I tried for over a week to get this challenage done, it had to something with my playground. I created a new playground just for this challenage and it worked! Must be somethin in older modules that cuased a problem. 

Greg 
VISHUVAPANDI P SECVISHUVAPANDI P SEC
I am not having Rating in Field Permissions. What to do ????
Tristan RhodesTristan Rhodes
VISHUVAPANDI P SEC, see "best answer" above. It's likely to be an issue with your playground.
David WorralDavid Worral
Thanks for posting Tristan. Using another Trailhead Playground worked right away!
Mark ChesneyMark Chesney
Hi, I had the same issue, spent lots of time stuck.  Then I read this alternative solution (https://trailhead.salesforce.com/help?article=Data-Security-Trailhead-Challenge-Help):

You can also remove access through Field Accessibility, by unchecking the Visible box for the field.

(another resource: I also saw that this video exists (http://salesforce.vidyard.com/watch/UFBD2u_NM12BVNhXKsSn4g), but I didn't watch it)
Benjamin SagerBenjamin Sager
I just had the same problem and for me I realized that I was skipping this step. 
"Object Permissions: Contacts (Read, Create, Edit)"

Once I realized I had to go to Contacts and Edit it Read, Create, Edit. I passed the trailhead. 
Ben M. AcikgozBen M. Acikgoz
Hello Everyone,
I had the same problem and then just applied the suggested permission to all Rating fields, including 'Prospect Rating', it worked...