Skip to content

Misleading error message when updating replication config - claims vectorizer config is immutable #1816

@Shah91n

Description

@Shah91n

Environment:

  • Server: 1.31.12
  • Client: Python (Latest)

Issue Description:
When attempting to update only the replication configuration (deletion strategy and async settings) for a collection, the operation fails with a misleading error message claiming the vectorizer config is immutable.

Error Message:

Failed to update configuration for collection <> : Collection configuration may not have been updated.! Unexpected status code: 422, with response body: {'error': [{'message': 'vectorizer config of vector "<>" is immutable'}]}

Code Used:

collection.config.update(
    replication_config=Reconfigure.replication(
        deletion_strategy=ReplicationDeletionStrategy.DELETE_ON_CONFLICT,
        async_enabled=True
    )
)

Expected Behavior:

  • The replication configuration should be updated successfully since only replication settings are being modified
  • If the operation cannot be completed, the error message should accurately reflect what's preventing the update

Actual Behavior:

  • Operation fails with vectorizer immutability error despite no vectorizer changes being requested
  • Error message is confusing and doesn't indicate the actual cause of the failure

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions