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
{
"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:
-
Is “ai” now a reserved keyword or restricted name in recent versions?
-
Why is the
collectionfield indirectus_fieldstrying to parse my collection name as a numeric value? -
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!