# Cannot Delete User Source ROSTER\_ENTRY: UserSourceID

**URL:** <https://forum.inductiveautomation.com/t/cannot-delete-user-source-roster-entry-usersourceid/83388>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [December 20, 2023, 7:03pm UTC](https://forum.inductiveautomation.com/t/cannot-delete-user-source-roster-entry-usersourceid/83388 "2023-12-20T19:03:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdbeauregard](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@sdbeauregard](https://forum.inductiveautomation.com/u/sdbeauregard)\
**Post date:** [December 20, 2023, 7:03pm UTC](https://forum.inductiveautomation.com/t/cannot-delete-user-source-roster-entry-usersourceid/83388/1 "2023-12-20T19:03:38Z")

</div>

I'm trying to clean up our gateway and want to remove an old user source that has been decommissioned. But I get this error and cannot find this dependency.

Cannot delete user source "wb.local", the following objects depend on it:  
[ROSTER\_ENTRY: "UserSourceId"  
ROSTER\_ENTRY: "UserSourceId"]

I cannot find any source that is linked to this old "wb.local".

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![elliot.lohr](https://avatars.discourse-cdn.com/v4/letter/e/3bc359/32.png) [@elliot.lohr](https://forum.inductiveautomation.com/u/elliot.lohr)\
**Post date:** [February 2, 2024, 10:52pm UTC](https://forum.inductiveautomation.com/t/cannot-delete-user-source-roster-entry-usersourceid/83388/2 "2024-02-02T22:52:41Z")

</div>

Have a similar error, did you find a solution?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 2, 2024, 11:12pm UTC](https://forum.inductiveautomation.com/t/cannot-delete-user-source-roster-entry-usersourceid/83388/3 "2024-02-02T23:12:30Z")

</div>

You have an extant On Call Roster that contains one or more users from the user source you want to delete. The system is preventing you from deleting it so that those rosters don't end up with "orphaned" user references.

---

<div class="post-metadata">

**Author:** ![sdbeauregard](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@sdbeauregard](https://forum.inductiveautomation.com/u/sdbeauregard)\
**Post date:** [February 8, 2024, 3:29pm UTC](https://forum.inductiveautomation.com/t/cannot-delete-user-source-roster-entry-usersourceid/83388/4 "2024-02-08T15:29:38Z")

</div>

So I went through all of the on-call rosters and could see no reference to our old source 'wb.local'.  
Figured there must be some artifact still lingering somewhere associated with a user.  
So I systematically went through all on-call rosters and deleted all users, saved, and then re-entered the users for all 15 rosters.  
I was then able to successfully delete the old user source.

---

<div class="post-metadata">

**Author:** ![elliot.lohr](https://avatars.discourse-cdn.com/v4/letter/e/3bc359/32.png) [@elliot.lohr](https://forum.inductiveautomation.com/u/elliot.lohr)\
**Post date:** [February 14, 2024, 1:22am UTC](https://forum.inductiveautomation.com/t/cannot-delete-user-source-roster-entry-usersourceid/83388/5 "2024-02-14T01:22:11Z")

</div>

Thanks!
