Title: Importing Users Error Message
Last modified: January 20, 2024

---

# Importing Users Error Message

 *  Resolved [bangbingo](https://wordpress.org/support/users/bangbingo/)
 * (@bangbingo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/)
 * When i import users with the roles as Parents, the message pops-up reading in
   red colors “Invalid role (parent)” and on checking the “Users” I find the names
   captured, but there names and other details are missing…and the final message
   reads “**Errors, warnings and notices found**” how would i fix this up. Will 
   appreciate big time.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17359105)
 * [@bangbingo](https://wordpress.org/support/users/bangbingo/),
 * There are probably two problems. The first is that in the role column you have
   to use the role slug. If you use the slug you will not have this problem and 
   they will be assigned correctly. As it is a non-standard role look where you 
   created it to see the role.
 * Regarding the rest of the data, you will have to use the corresponding meta key.
   Which one do you have problems with?
 *  Thread Starter [bangbingo](https://wordpress.org/support/users/bangbingo/)
 * (@bangbingo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17359216)
 * I am using Ultimate Member plugin, so i created these roles:
 * Role: Teacher -> Role ID : um_teacher
 * same way with students. How do i capture these roles to make them captured correctly?
 * I hope i am not missing something.
 * Regards
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17359257)
 * [@bangbingo](https://wordpress.org/support/users/bangbingo/),
 * The roles have no IDs, the roles have slugs.
 * Anyway, it seems um_teacher is the slug of the role teacher, so you have to look
   for the slug of the student role.
 * If you use it, it will work.
 *  Thread Starter [bangbingo](https://wordpress.org/support/users/bangbingo/)
 * (@bangbingo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17359265)
 * So, on the csv file, collumn for Role, what should i indicate so that it may 
   capture the teachers role correctly??
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17359278)
 * You have to use the role slug.
 * I understand it would be um_teacher but since I don’t use or know Ultimate Member
   I can’t tell you for sure.
 * If you are a PHP developer you can invoke get_editable_roles() to see the roles
   available in your installation with all their data.
 * If not, you can always use a plugin to help you with this task like this [https://wordpress.org/plugins/user-role-editor/](https://wordpress.org/plugins/user-role-editor/)
 *  Thread Starter [bangbingo](https://wordpress.org/support/users/bangbingo/)
 * (@bangbingo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17359740)
 * Thank you for the suggections, I really appreciate that.
 * I followed the instructions and added the (um_teacher) on the role and it picked
   up well. But issue is when i finally import the users, the “NAMES” collumn on
   the Users menu is blank, meaning its not picking the names of the users imported.
 * secondly, when i add collumn for Groups, since am using the ultimate member groups,
   i added the (um_group_name of group) on the groups collumn, but still it doesnt
   assign the users to those groups. Is there something i need to do to make them
   groups pick correctly?
 * Thanks
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17359993)
 * As I told you before, you are not using the right meta keywords. If you read 
   the Documentation tab, which you should always read before asking support; you
   will see that the names for example you can import them using the basic WordPress
   data: first_name and last_name.
 * Regarding the second thing, I can’t tell you much because your problem is not
   directly related to us, but to Ultimate Members.
 * We don’t offer compatibility with the complex data structures that UM may have,
   which I don’t know… and if you use standard data structures saving the data in
   usermeta you will just have to find in that plugin or they will tell you from
   their support which meta keys to use.
 *  Thread Starter [bangbingo](https://wordpress.org/support/users/bangbingo/)
 * (@bangbingo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17360936)
 * Thank you so much for the support, i truelly appreciate the help.
 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17361618)
 * Thanks to you.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Importing Users Error Message’ is closed to new replies.

 * ![](https://ps.w.org/import-users-from-csv-with-meta/assets/icon-256x256.png?
   rev=1174343)
 * [Import and export users and customers](https://wordpress.org/plugins/import-users-from-csv-with-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-users-from-csv-with-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/importing-users-error-message/#post-17361618)
 * Status: resolved