I'm trying to create some TTL indexes in azure cosmosdb collections (mongo API), these collection's elements are all string or integer, but when I use the index spec
{
"expireAfterSeconds":1000,
"key": {"_ts":1}
}
to create TTL indexes, some collections can be created correctly, but some tables return such error message: "{"Errors":["Fields in 'spatialIndexes' are only allowed with newer API versions. Update your API version from '2018-06-18' to '2018-09-17' leverage this new feature."
but I do nothing about spatialIndexes, so why I got this error?