You need to sign in to do that
Don't have an account?
![Sachin Ks 5 Sachin Ks 5](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
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](/forums/servlet/rtaImage?eid=9060G000000Xdux&feoid=Body&refid=0EM0G000000c049)
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??
Related to: User
Fieldname: User
Child relationship Name: Campsite_Reservations
The field should look like this