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
Sachin Ks 5Sachin Ks 5 

I am trying to finish the "Create custom objects, fields, and relationships" Challenge.

Error I am getting is "Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, User: id value of incorrect type: 00528000003zbMiAAI: [User__c]"

In the question, one point is "
Add a custom field to Campsite Reservation with the type 'Lookup' related to the 'User' object with the field name and label of 'User' and Child Relationship Name of 'Campsite_Reservations'. The resulting API name should be 'User__c'."  I am little confused about this, should we create a a new object called User? or should we put lookup to 'Campsite' Object and name the Field User??This is the Campsite Reservation Object
You create new lookup relation field in Campsite Reservation object  to User object with

Related to: User
Fieldname: User
Child relationship Name: Campsite_Reservations

The field should look like this 

User-added image

User-added image