# Organisation Metadata max length

**URL:** <https://community.auth0.com/t/organisation-metadata-max-length/82809>\
**Category:** Get Help\
**Tags:** organizations, metadata\
**Created:** [May 3, 2022, 3:14pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809 "2022-05-03T15:14:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![diarmuid.byrne](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/diarmuid.byrne/32/32602_2.png) [@diarmuid.byrne](https://community.auth0.com/u/diarmuid.byrne)\
**Post date:** [May 3, 2022, 3:14pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/1 "2022-05-03T15:14:00Z")

</div>

The organisation\_metadata appears to function quite differently to users app\_metadata. However, we had planned to use them similarly, as access information to store what features/modules the organisation has paid for and has access to. However the org\_metadata appears to be quite restrictive in that it uses raw text instead of valid JSON and each slot has a very short character limit (255 characters).

Are there any plans in future for a less restrictive metadata field for organisations?

---

<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:** [May 3, 2022, 8:26pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/3 "2022-05-03T20:26:30Z")

</div>

Hi @diarmuid.byrne,

Thanks for reaching out to the Auth0 Community!

> [@diarmuid.byrne](#):
>
> the org\_metadata appears to be quite restrictive in that it uses raw text instead of valid JSON and each slot has a very short character limit (255 characters).

I have just checked the organization metadata values using the Management API [Get an Organization endpoint](https://auth0.com/docs/api/management/v2#!/Organizations/get_organizations_by_id) and did not find the same observations. The values are in JSON and not in raw text. Could you please clarify where and how you observe the raw text format?

My results showed:

```auto
{
  "id": "org_91aHlTqTBtIrzd1C",
  "name": "test-org",
  "display_name": "test-org",
  "metadata": {
    "test": "metadata"
  }
}

```

> [@diarmuid.byrne](#):
>
> Are there any plans in future for a less restrictive metadata field for organisations?

Currently, the 255 character limit enforced for the organization metadata cannot be changed, and there are no plans to increase the character limit. Moreover, the 255 character limit is a large number, could you please elaborate further on the KEY:VALUE pairs you are creating?

And are you currently exceeding this character limit?

I am looking forward to your reply.

Thank you.

---

<div class="post-metadata">

**Author:** ![hsoto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hsoto/32/13404_2.png) [@hsoto](https://community.auth0.com/u/hsoto)\
**Post date:** [June 29, 2022, 12:51am UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/4 "2022-06-29T00:51:07Z")

</div>

Do you have a hard # of key-pair values that an organization can have?

---

<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:** [June 29, 2022, 6:32pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/5 "2022-06-29T18:32:17Z")

</div>

Hi @hsoto,

Thank you for your question.

An Organization can have up to 10 key-value pair metadata values. You can find this shown on your Auth0 Dashboard as well. See below for clarity:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/f/9/f9313d13c156da13a390429b7743bffc20118221.png)

Please let me know if you have any questions.

Thanks!

---

<div class="post-metadata">

**Author:** ![hsoto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hsoto/32/13404_2.png) [@hsoto](https://community.auth0.com/u/hsoto)\
**Post date:** [June 30, 2022, 3:36am UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/6 "2022-06-30T03:36:45Z")

</div>

Thanks Rueben!! Is there a way to increase the “10 metadata slots free” policy?

---

<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:** [June 30, 2022, 4:07pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/7 "2022-06-30T16:07:27Z")

</div>

Hi @hsoto,

Thank you for your response.

Unfortunately, there is no way to increase the 10 metadata slots. This is a fixed maximum and cannot be changed as described in our documentation [here](https://auth0.com/docs/manage-users/organizations/configure-organizations/create-organizations#management-api).

I hope this helps!

Thank you.

---

<div class="post-metadata">

**Author:** ![hayashi-ay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hayashi-ay/32/19643_2.png) [@hayashi-ay](https://community.auth0.com/u/hayashi-ay)\
**Post date:** [September 16, 2022, 3:48am UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/8 "2022-09-16T03:48:59Z")

</div>

Hi there,

Why is there a limit on the number of metadata keys? Is there any plan to increase the limitation in the future?

---

<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:** [September 16, 2022, 6:01pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/9 "2022-09-16T18:01:57Z")

</div>

Hi @hayashi-ay,

Thanks for reaching out.

We currently have no plans in our roadmap to increase the Organization metadata pairs. Since metadata is abstract, one workaround we recommend is to nest additional metadata fields under an object.

This way, you could imitate having more than 10 properties.

If you have a moment, I would recommend creating a [feedback request](https://community.auth0.com/c/feedback/95) asking to increase the Organization metadata pairs.

If you have any further questions, please feel free to reach out.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![hayashi-ay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hayashi-ay/32/19643_2.png) [@hayashi-ay](https://community.auth0.com/u/hayashi-ay)\
**Post date:** [September 18, 2022, 12:41pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/11 "2022-09-18T12:41:35Z")

</div>

Thanks you for answering.

> [@rueben.tiow](#):
>
> Since metadata is abstract, one workaround we recommend is to nest additional metadata fields under an object.

What exactly do you mean by nesting addition metadata fields?

Is my following understanding correct?

For example, if there are two key-value pairs `name=hayashi-ay` and `email=hayashi-ay@gmail.com`, one slot can be freed by put them together like `info=hayashi-ay, hayashi-ay@gmail.com`.

This workaround still have a certain limit of properties because each value field can only 255 chars.

---

<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:** [September 21, 2022, 7:15pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/12 "2022-09-21T19:15:25Z")

</div>

Hi @hayashi-ay,

Thank you for your response.

> [@hayashi-ay](#):
>
> Is my following understanding correct?

Yes, your understanding is correct. And that is true that this workaround would still have certain limitations, such as the 255 character limit.

To the best of my knowledge, this is the recommended approach if you need more than 10 Organization metadata pairs.

I understand this may not be the answer you were expecting. But to circle back, I would encourage creating a [feedback request](https://community.auth0.com/c/feedback/95) for increasing the organization metadata pairs so that we can upvote the feedback, with higher upvotes leading to higher implementation priority.

Please let me know if there’s anything else I can assist with.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![hayashi-ay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hayashi-ay/32/19643_2.png) [@hayashi-ay](https://community.auth0.com/u/hayashi-ay)\
**Post date:** [September 22, 2022, 9:13am UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/13 "2022-09-22T09:13:22Z")

</div>

Thanks. I posted a feedback request. [Ability to store Organization Metadata in JSON format like app\_metadata](https://community.auth0.com/t/ability-to-store-organization-metadata-in-json-format-like-app-metadata/91114)

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [October 26, 2022, 3:21pm UTC](https://community.auth0.com/t/organisation-metadata-max-length/82809/14 "2022-10-26T15:21:20Z")

</div>


