# Imported Discourse -\> Wordpress Users Get Error

**URL:** <https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903>\
**Category:** WordPress\
**Created:** [October 6, 2018, 8:33pm UTC](https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903 "2018-10-06T20:33:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)\
**Post date:** [October 6, 2018, 8:33pm UTC](https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903/1 "2018-10-06T20:33:00Z")

</div>

I’m working on setting up SSO on my community at [https://community.productivityguild.com](https://community.productivityguild.com) where my Wordpress site at [https://productivityguild.com](https://productivityguild.com) is set as the SSO provider. Everything appears to be working correctly for new user signups and for users who sign up for a Wordpress account manually. However, for imported users, I’m getting this error in the Discourse logs:

```plaintext
Verbose SSO log: Record was invalid: User 
{:primary_email=>"has already been taken"}

Attributes:
{"admin"=>false, "moderator"=>false, "locale"=>nil, "name"=>"justin_test", "title"=>nil, "username"=>"justin_test1"}

SSO Diagnostics:
add_groups: 
admin: 
moderator: 
avatar_force_update: false
avatar_url: https://secure.gravatar.com/avatar/da5a673780dc8ac88d30098e04153730?s=96&d=404&r=g
bio: 
card_background_url: 
email: dirose.justin+test@gmail.com
external_id: 1216
groups: 
locale: 
locale_force_update: 
name: justin_test
nonce: d13a1196fbea800db55411422de0721f
profile_background_url: 
remove_groups: 
require_activation: true
return_sso_url: 
suppress_welcome_message: 
title: 
username: justin_test
website: 

```

It’s true because the account already exists on the Discourse site. However from the looks of the error it is passing a new username over to Discourse with a 1 appended to it.

Wordpress debug logs don’t show anything out of the ordinary either. I’m not quite sure where to go with this one. @simon or others, have any suggestions?

---

_[View the full topic](https://meta.discourse.org/t/imported-discourse-wordpress-users-get-error/98903)._
