The default parent 'parent' is not in the scope of the 'realm_name' realm.
Explanation
The default parent specified for the entity type is not in the scope of the realm.
Programmer response
Use a valid parent within the scope of realm or ensure that the realm information is configured correctly.