Overview
This article explains why, when importing users using the User Import/Export Extension, the following error may occur:
Error in email property, expected type string but found type null
Applies To
- User Import/Export extension
Cause
The error occurs because one of the users attempting to be imported has a null or empty value for their email address. Consecutive users attempted to be imported after a user with a null email will also fail to import.
Solution
Ensure you are not importing users with null email fields.
Correct formatting:
{
"user_id":"123",
"given_name":"John",
"family_name":"Doe",
"email":"j.doe@example.com"
}
Incorrect formatting:
{
"user_id":"123",
"given_name":"John",
"family_name":"Doe",
"email":null
}