# VALUE\_OUT\_OF\_RANGE error with "ai" collection after recent updates

**URL:** <https://community.directus.com/t/value-out-of-range-error-with-ai-collection-after-recent-updates/2104>\
**Category:** Help\
**Tags:** collections\
**Created:** [March 30, 2026, 8:06am UTC](https://community.directus.com/t/value-out-of-range-error-with-ai-collection-after-recent-updates/2104 "2026-03-30T08:06:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viktor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/viktor/32/1050_2.png) [@Viktor](https://community.directus.com/u/Viktor)\
**Post date:** [March 30, 2026, 8:06am UTC](https://community.directus.com/t/value-out-of-range-error-with-ai-collection-after-recent-updates/2104/1 "2026-03-30T08:06:02Z")

</div>

Hi there,

I’m facing a critical issue with a collection I’ve been using for a long time.

**The Issue:** I have a collection named **“ai”**. It has been working perfectly until recently. However, now I’m getting a `VALUE_OUT_OF_RANGE` error whenever I try to manage fields or set up relationships (like M2O) with this collection.

**Error Message:**

JSON

```auto
{
  "errors": [
    {
      "message": "Numeric value \"ai\" for field \"collection\" in collection \"directus_fields\" is out of range.",
      "extensions": {
        "collection": "directus_fields",
        "field": "collection",
        "value": "ai",
        "code": "VALUE_OUT_OF_RANGE"
      }
    }
  ]
}

```

**My Assumption:** I suspect this is happening because Directus recently introduced its own **native AI features**. It seems like the internal system is now trying to treat the string `"ai"` as a numeric value or a reserved system ID, causing a collision with my existing collection name.

**Questions:**

1. Is “ai” now a reserved keyword or restricted name in recent versions?

2. Why is the `collection` field in `directus_fields` trying to parse my collection name as a numeric value?

3. Is there any way to fix this without renaming my entire collection (which would break my current API integrations)?

Any help or workaround would be greatly appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![jonathanwagner](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/jonathanwagner/32/47_2.png) [@jonathanwagner](https://community.directus.com/u/jonathanwagner)\
**Post date:** [March 31, 2026, 3:06pm UTC](https://community.directus.com/t/value-out-of-range-error-with-ai-collection-after-recent-updates/2104/2 "2026-03-31T15:06:04Z")

</div>

> [@Viktor](#):
>
> ```auto
> {
> "errors": [
> {
> "message": "Numeric value \"ai\" for field \"collection\" in collection \"directus_fields\" is out of range.",
> "extensions": {
> "collection": "directus_fields",
> "field": "collection",
> "value": "ai",
> "code": "VALUE_OUT_OF_RANGE"
> }
> }
> ]
> }
> 
> ```

Directus does not use “ai” as a reserved or restricted name in any current or recent versions. Recommend checking the following:

- clear and confirm cache refreshed
- confirm the “directus\_fields.collection” field column is a varchar string type - it should not be a numeric type
- did anything go wrong with migrations during an upgrade (may need to rerun migrations)

If you have any other information about your set up let us know. I tested by creating a new collection “ai” with fields and added some data with no issues in one of my projects.
