You need to sign in to do that
Don't have an account?
Stefan Garcia
Creating Object Relations | Error ("FIELD_INTEGRITY_EXCEPTION")
Hello,
I believe that I have completed all of the requirements within the Create Object Relations Trail - BUT - when I "Check Challenge" - I receive the error message below.
Error Message:
"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: 00536000001A7k9AAC: [User__c]"
Error Screen Shot:
Additionally - below is a screen shot of the customer object I have created (i.e. Campsite Reservations).
Please let me know and thanks in advance for the help!
Custom Object Screen Shot ("Campsite Reservations"):
I believe that I have completed all of the requirements within the Create Object Relations Trail - BUT - when I "Check Challenge" - I receive the error message below.
Error Message:
"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: 00536000001A7k9AAC: [User__c]"
Error Screen Shot:
Additionally - below is a screen shot of the customer object I have created (i.e. Campsite Reservations).
Please let me know and thanks in advance for the help!
Custom Object Screen Shot ("Campsite Reservations"):
In Campsite Reservations field User__c should be lookup to User object
User__c Lookup(User) Its need to be this
All Answers
The Name field for Campsite Reservation must be a 'Auto Number' type (not Text). Use 'CR-{0000}' as the display format for the Name field and a starting number of 1.
I believe that I have already done that - can you see below?
Please see below.
In Campsite Reservations field User__c should be lookup to User object
User__c Lookup(User) Its need to be this
Thanks again for the assistance Deepak!