4kb limit to user_metadata?

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.

Any thoughts on how I could fix this?

Thanks,
Brendan

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 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.