Overview
When saving configuration around searches and indexes, you may get an error like the one below.
It means that the SmartSearch index name is too long, likely created very long time ago when that may have been a valid name, and now some old settings are being restored to a new vault. Such long names should not be used, the index name for SmartSearch should be below 34 characters.
Solution
Delete the index that is too long from the configuration and create a new index in its place that has a short(er) name.
Note that until the indexing is complete, search results in the vault may be incomplete.
Example error stack
Error: The vault settings operation "SaveConfiguration" could not be completed.
Object marked to be available offline (The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters)
CoVaultNamedValueStorageOperations.cpp, 160, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
CoVaultNamedValueStorageOperations.cpp, 324, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
ServerVaultNamedValueStorageOperationsHelper.cpp, 74, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
CoRPCOverCOM.cpp, 6354, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
RPCNamedValueStorage.cpp, 139, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
MCallInLoop.h, 535, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
RPCNamedValueStorageHelper.cpp, 463, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
RPCNamedValueStorageHelper.cpp, 753, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
IndexValidation.cpp, 186, The parameter is incorrect. (Index configuration name 'prod-vault-981df211-5e06-4fb7-9fde-29d7d17ed60c' must not be longer than 34 characters) (0x80070057)
(M-Files 24.8.13981.4 2024-09-06T06:10:32.312Z)
