# Event.User with missing properties executing an Auth0 custom action

**URL:** <https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433>\
**Category:** Get Help\
**Tags:** actions, auth0\
**Created:** [November 1, 2021, 3:08pm UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433 "2021-11-01T15:08:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![marmv90](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marmv90/32/25410_2.png) [@marmv90](https://community.auth0.com/u/marmv90)\
**Post date:** [November 1, 2021, 3:08pm UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/1 "2021-11-01T15:08:02Z")

</div>

I have a custom action in Auth0, however when i try to retrieve the event.user properties, there only these properties are available: email, email\_verified, id, last\_password\_reset and user\_id. All the rest of user properties (for example given\_name, family\_name, etc) are missing. How can I access them?  
It seems there’s no rule enabled.  
Thanks

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 2, 2021, 8:51pm UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/3 "2021-11-02T20:51:45Z")

</div>

Hi @marmv90,

Thanks for reaching out to the Auth0 Community!

I understand that you would like to get the complete user profile with Actions.

It appears that you are using a Post-Change-Password Action, which only has the `email`, `email_verified`, `id`, `last_password_reset`, and `user_id` properties available. This is consistent with our [https://auth0.com/docs/actions/triggers/post-change-password/event-object](https://auth0.com/docs/actions/triggers/post-change-password/event-object) documentation.

As a workaround, you could use the Management API with Actions and query for the complete user profile that way.  
Please read our FAQ on [How can I use the Management API in Actions?](https://community.auth0.com/t/how-can-i-use-the-management-api-in-actions/64947) .

Then, you will need to take the `event.user.user_id` and pass it to the Management API [GET](https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id)[/api/v2/users/{id}](https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id) endpoint.

After doing so, you should have the full user profile.

Please let me know if you have any other questions. I’d be happy to help.

Thank you.

---

<div class="post-metadata">

**Author:** ![r.cauquil](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/r.cauquil/32/12962_2.png) [@r.cauquil](https://community.auth0.com/u/r.cauquil)\
**Post date:** [November 12, 2021, 10:24am UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/4 "2021-11-12T10:24:55Z")

</div>

I have the same issue and according to [Actions Triggers: post-user-registration - Event Object](https://auth0.com/docs/actions/triggers/post-user-registration/event-object) you should get it though

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 12, 2021, 4:21pm UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/5 "2021-11-12T16:21:06Z")

</div>

Hi @r.cauquil,

I just tested your observations and did not find the same results. Instead the Post-User-Registration Action is working and producing the `event.user.user_id` value. See below.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/d/ed1cc5bf36fce191aa2968c81059be5b213ea51b.jpeg)

Thank you.

---

<div class="post-metadata">

**Author:** ![r.cauquil](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/r.cauquil/32/12962_2.png) [@r.cauquil](https://community.auth0.com/u/r.cauquil)\
**Post date:** [November 13, 2021, 7:07am UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/6 "2021-11-13T07:07:29Z")

</div>

hi @rueben.tiow

My observations are on this “All the rest of user properties (for example given\_name, family\_name, etc) are missing” and I have the same issue from `event. user`

Have a good day

---

<div class="post-metadata">

**Author:** ![r.cauquil](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/r.cauquil/32/12962_2.png) [@r.cauquil](https://community.auth0.com/u/r.cauquil)\
**Post date:** [November 15, 2021, 3:50pm UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/7 "2021-11-15T15:50:29Z")

</div>

Hi @rueben.tiow,

I’ve seen people having the same issue [here](https://community.auth0.com/t/event-user-nickname-undefined-when-referenced-in-custom-action-in-post-reg-flow/70480)

Please also see my [previous post](https://community.auth0.com/t/post-user-registration-action-not-triggered-after-manage-api-createuser/73006/4) with more details on the `event.user` payload

Have a great day

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 15, 2021, 5:53pm UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/8 "2021-11-15T17:53:55Z")

</div>

Hi @r.cauquil,

Thank you for your response.

Let us continue the conversation in your other [Community Post](https://community.auth0.com/t/post-user-registration-action-not-triggered-after-manage-api-createuser/73006) since this is **unrelated** to the Post-Change-Password Action when the issues observed are related to a Post-User-Registration Action.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 30, 2021, 5:54pm UTC](https://community.auth0.com/t/event-user-with-missing-properties-executing-an-auth0-custom-action/72433/9 "2021-11-30T17:54:16Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
