---
title: "Integrity Check Error: Object refers to a missing user"
canonical: "https://support.appfire.com/space/SUPPORT/1236860975/Integrity%20Check%20Error%3A%20Object%20refers%20to%20a%20missing%20user"
format: markdown
---
## \uD83E\uDD14 Problem

During an Integrity Check scan, objects that refer to a missing user are found.  


![Integrity1 (1)-20240826-060034.JPG](media://56e3a064-24a4-4588-bed9-5a160d86931c)

## \uD83C\uDF31 Solution

1. The general solution is to remove all references of the missing user from the missing object (boards) or create the user so it's available on the system. [https://appfire.atlassian.net/wiki/spaces/CMJ/pages/197893044/Integrity+Error+Types#Missing-object](https://appfire.atlassian.net/wiki/spaces/CMJ/pages/197893044/Integrity+Error+Types#Missing-object)
2. In some cases, the object shows all the users as active, and the user reference cannot be found to remove or modify it.
  - This is because the Jira system may still reference a user who has been deleted from the user interface but remains in the database. This causes inconsistencies during integrity checks.
  - To identify the deleted user, run the following SQL query on the database to check for the user's presence:
    or run the REST API : `$JIRA_URL/rest/api/2/user?``key=JIRAUSERXXXXX`  
Note:- Please replace `JIRAUSERXXXXX` with the user that is seen in the error,  for example, `JIRAUSER57721`
  - Execute the following SQL query to determine if the deleted user is listed as the owner of any boards:
  - Also,  check the filter query of the boards to see if the user is present in the JQL query
  - If references to the deleted user are found, update the board to point to an existing user or delete the reference.

> 📝 Please ensure to make a backup of the database before making any changes to it.