Answers.Body: <p>See if there's a deleted contact with the same deets?.</p>
  
  <p>Also petendz's advice is stellar as ever. Use the api explorer do get uf match on that email if for whatever reason you can't access the MySQL table.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-28T22:54:49.730Z
Answers.LastActivityDate: 2017-02-28T22:54:49.730Z
Answers.UserDisplayName: JohnFF
Body: <p>Our Drupal 7.50 website is set up so that users can subscribe through CiviMemberships via a contribute page and then we use CiviMember Role Sync Module to assign them a new Drupal role. This has worked well and thousands have gone through this process. However, we have one user who went through the process of creating a Drupal account and then subscribing (becoming a member) and the sync refuses to sync his accounts. I had to give him the Drupal role manually. Names and email address are the same in his Drupal account and his CiviCRM contact record. The contact record shows his membership and contribution. Any ideas how to troubleshoot or manually sync this one user?</p>
  
  <p>CiviCRM 4.7.15 Drupal 7.50 Commons</p>
  
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-28T21:32:33.843Z
Comments.Text: check everything looks right in the uf_match table?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-06T17:47:15.493Z
Comments.Text: This problem has come up again, where the User ID is off by one number. What do I look for in the uf_match table to see if it's correct or not?
Comments.UserDisplayName: Christia
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-06T20:49:42.913Z
Comments.Text: I would search for his email in that table, and then see what user id and contact id is connected.
Comments.UserDisplayName: petednz - fuzion
Tags: <drupal><civimember><roles>
Title: CiviMember Role Sync not Syncing One User
ThreadText: # CiviMember Role Sync not Syncing One User
  
  (Asked by: username_0 on 2017-02-28)
  
  Our Drupal 7.50 website is set up so that users can subscribe through CiviMemberships via a contribute page and then we use CiviMember Role Sync Module to assign them a new Drupal role. This has worked well and thousands have gone through this process. However, we have one user who went through the process of creating a Drupal account and then subscribing (becoming a member) and the sync refuses to sync his accounts. I had to give him the Drupal role manually. Names and email address are the same in his Drupal account and his CiviCRM contact record. The contact record shows his membership and contribution. Any ideas how to troubleshoot or manually sync this one user?
  
  CiviCRM 4.7.15 Drupal 7.50 Commons
  
  Thanks!
  
  **Tags:** drupal, civimember, roles
  
  > **Comments:**
  > **username_1**: check everything looks right in the uf_match table?  
  > **username_0**: This problem has come up again, where the User ID is off by one number. What do I look for in the uf_match table to see if it's correct or not?  
  > **username_1**: I would search for his email in that table, and then see what user id and contact id is connected.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-02-28. Score: 1
  
  See if there's a deleted contact with the same deets?.
  
  Also petendz's advice is stellar as ever. Use the api explorer do get uf match on that email if for whatever reason you can't access the MySQL table.
  
  
  ---
  
  