# Management api bug - GET user include\_fields app\_metadata does not work

**URL:** <https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429>\
**Category:** Get Help\
**Tags:** app\_metadata, bug, management-api\
**Created:** [July 9, 2017, 7:06am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429 "2017-07-09T07:06:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cory](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cory/32/6270_2.png) [@cory](https://community.auth0.com/u/cory)\
**Post date:** [July 9, 2017, 7:06am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/1 "2017-07-09T07:06:18Z")

</div>

Steps to repro:

- Create a user with app\_metadata
- Confirm the app\_metadata is retrievable `/api/v2/users/auth0%7C __user_id__ `
- Add include fields app\_metadata, and an empty object will be returned: `/api/v2/users/auth0%7C __user_id__?fields=app_metadata&include_fields=true` =\> `{}`

---

<div class="post-metadata">

**Author:** ![cory](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cory/32/6270_2.png) [@cory](https://community.auth0.com/u/cory)\
**Post date:** [July 9, 2017, 7:07am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/2 "2017-07-09T07:07:41Z")

</div>

Sorry for the formatting. Can’t get markdown or the wysiwyg editor to work.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [July 10, 2017, 7:41am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/3 "2017-07-10T07:41:35Z")

</div>

Can you confirm the user has app\_metadata in the User dashboard? I have been unable to reproduce this on my end. Can you also try this with another user and see whether the problem persists.

---

<div class="post-metadata">

**Author:** ![cory](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cory/32/6270_2.png) [@cory](https://community.auth0.com/u/cory)\
**Post date:** [July 13, 2017, 4:46am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/4 "2017-07-13T04:46:45Z")

</div>

I’m no longer seeing it either. This is not the first time I’ve experienced a problem with the management API that goes away on its own. It seems there are updates made to the API that gives me a problem that goes away. Not good.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [July 13, 2017, 7:01am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/5 "2017-07-13T07:01:02Z")

</div>

I was not able to reproduce this on my end. One thing to note is that we did experience increased error for Users Search in the US region, approximately during the timeframe you experienced the issue. This may be the cause for your issue.  
[https://status.auth0.com/incidents/5h7ltqz16btt](https://status.auth0.com/incidents/5h7ltqz16btt)

I suggest subscribing to updates from our Status page, so you can receive instant notifications of future events:  
[https://status.auth0.com/](https://status.auth0.com/)

---

<div class="post-metadata">

**Author:** ![cory](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cory/32/6270_2.png) [@cory](https://community.auth0.com/u/cory)\
**Post date:** [July 13, 2017, 7:02am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/6 "2017-07-13T07:02:27Z")

</div>

My experiences aren’t downtime, they’re changes in behavior with something behaving one way today, and changing another way tomorrow.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [July 14, 2017, 6:58am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/7 "2017-07-14T06:58:47Z")

</div>

Changes in behaviour can be caused by the errors experienced by the User Search API. It was not down, but rather threw errors internally, possibly resulting in the change of behaviour you experienced.

---

<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:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/management-api-bug-get-user-include-fields-app-metadata-does-not-work/7429/8 "2018-03-02T05:55:14Z")

</div>


