# 4kb limit to user\_metadata?

**URL:** <https://community.auth0.com/t/4kb-limit-to-user-metadata/88268>\
**Category:** Get Help\
**Created:** [August 5, 2022, 3:24pm UTC](https://community.auth0.com/t/4kb-limit-to-user-metadata/88268 "2022-08-05T15:24:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Downster](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/downster/32/39165_2.png) [@Downster](https://community.auth0.com/u/Downster)\
**Post date:** [August 5, 2022, 3:24pm UTC](https://community.auth0.com/t/4kb-limit-to-user-metadata/88268/1 "2022-08-05T15:24:36Z")

</div>

Hey all. Not sure whats happening as I thought metadata was limited to 16mb. Whenever I try to login after modifying the metadata, I get this error.

 ![Screen Shot 2022-08-04 at 8.00.10 PM](https://global.discourse-cdn.com/auth0/original/3X/1/8/18b405bbb329219c7f031776d3eafa9d771ee476.png)

Any thoughts on how I could fix this?

Thanks,  
Brendan

---

<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:** [August 5, 2022, 5:12pm UTC](https://community.auth0.com/t/4kb-limit-to-user-metadata/88268/3 "2022-08-05T17:12:40Z")

</div>

Hi @Downster,

Welcome to the Auth0 Community!

I understand that you have encountered the 4kB limit on user\_metadata.

This is the expected behavior as described in our [Actions Limitations](https://auth0.com/docs/customize/actions/limitations) documentation. Specifically, each session may have a maximum of 4kB each of user metadata persistence and 4kB of app metadata persistence. With that said, please make sure to adjust your user metadata so that it does not exceed the allowed limit of 4kB.

I hope this answers your question!

Please let me know if there’s anything else I can do to help.

Thank you.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 21, 2022, 5:13pm UTC](https://community.auth0.com/t/4kb-limit-to-user-metadata/88268/4 "2022-12-21T17:13:12Z")

</div>


