If you run across the following error where the "lis_person_name_family" is missing or empty
Go into your LMS settings where the First and Last name is configured, and correct the date to ensure the values are correctly entered.
Example provided for Canvas as follows.
Canvas Profile Settings