# Perspective - User Source - user not found in user source 'default'

**URL:** <https://forum.inductiveautomation.com/t/perspective-user-source-user-not-found-in-user-source-default/98832>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 20, 2024, 3:57am UTC](https://forum.inductiveautomation.com/t/perspective-user-source-user-not-found-in-user-source-default/98832 "2024-11-20T03:57:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisl](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@chrisl](https://forum.inductiveautomation.com/u/chrisl)\
**Post date:** [November 20, 2024, 3:57am UTC](https://forum.inductiveautomation.com/t/perspective-user-source-user-not-found-in-user-source-default/98832/1 "2024-11-20T03:57:10Z")

</div>

Hi there! I have a Perspective page with authentication enabled, requiring users to log in. After a user logs in the button binding works fine but after sometime, `session.props.auth.user.userName` is occasionally not found in the default user source . Most of the time, the expression binding works fine, but sometimes this issue happens.

Note that `session.props.auth.user.userName` always has a value, but the default user source becomes empty when the issue occurs.

Error on button

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/2/021bd3fd8b0124694f5173b65246f9343137dd57.png)

Expression binding

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/5/a55a2bd270fb6cf592680fd4ec91dfdd5249f12f.png)

---

<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:** [November 20, 2024, 4:30pm UTC](https://forum.inductiveautomation.com/t/perspective-user-source-user-not-found-in-user-source-default/98832/2 "2024-11-20T16:30:23Z")

</div>

> [@chrisl](#):
>
> the default user source becomes empty when the issue occurs.

What do you mean by this? What's your indication of this?

---

<div class="post-metadata">

**Author:** ![chrisl](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@chrisl](https://forum.inductiveautomation.com/u/chrisl)\
**Post date:** [November 21, 2024, 3:40am UTC](https://forum.inductiveautomation.com/t/perspective-user-source-user-not-found-in-user-source-default/98832/3 "2024-11-21T03:40:43Z")

</div>

Hi @paul-griffith , it seems like on some rare instances , the users saved on this user source becomes empty and comes back again after a minute or two or reloading the perspective page. (This may be due to network issues, but i thought i share it to you in case there is a similar issue that you've encountered before)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/3/d35654cd9d624da98d1b4a0dbd7c79e55ff2e93e.png) Thanks for the reply

---

<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:** [November 21, 2024, 4:03pm UTC](https://forum.inductiveautomation.com/t/perspective-user-source-user-not-found-in-user-source-default/98832/4 "2024-11-21T16:03:11Z")

</div>

I've never heard of that happening and I don't really see _how_ that could happen with an internal user source; the users and roles in the internal user source are in the same configuration database that holds everything else in your system, and it's stored as a file wherever the gateway is installed.

I would check your gateway logs for errors around the time these issues are happening, and also contact our [support department](https://support.inductiveautomation.com) officially.

---

<div class="post-metadata">

**Author:** ![chrisl](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@chrisl](https://forum.inductiveautomation.com/u/chrisl)\
**Post date:** [November 22, 2024, 9:21am UTC](https://forum.inductiveautomation.com/t/perspective-user-source-user-not-found-in-user-source-default/98832/5 "2024-11-22T09:21:13Z")

</div>

Thanks for the clarification and suggestion! I'll check the gateway logs for any errors and reach out to the support department if needed. Appreciate your help!
