erquhartE
Convex Community2y ago
2 replies
erquhart

Index name length limit undocumented, incorrect error message

I believe I ran into a 64 character limit on index names, I'm not sure if it's documented, but I couldn't find it in any of the limit docs.

Passing the limit triggers the invalid name error, which doesn't mention length:
400 Bad Request: InvalidIndexName: Hit an error while evaluating your schema:
In table `my_table`: Invalid index name: by_aField_anotherField_moarField_andThisFieldTooAlso_andAnotherOne
. Identifiers must start with a letter and can only contain letters, digits, and underscores.
Was this page helpful?