weaviate/weaviate · error
init additional properties provider
Error message
init additional properties provider
What it means
This error wraps any failure from initAdditionalPropertiesProvider() during the text2vec-openai module's Init phase. The additional properties provider fetches/uses the OpenAI embeddings-based nearText properties support (e.g. 'moveAwayFrom'/'moveTo' helpers relying on the vectorizer); if its internal initialization fails, the module aborts startup and the error is surfaced wrapped as 'init additional properties provider'. It indicates the module could not complete plugin initialization, so Weaviate will refuse to start with this module enabled.
Solutions
- Read the inner (wrapped) error in the log for the root cause; this wrapper is only the context layer
- Verify ENABLE_MODULES only lists correctly built/compatible modules for your Weaviate version
- Upgrade/downgrade the text2vec-openai module to match the Weaviate core version
- Rebuild the Weaviate binary including the module if using a custom build
- If you don't need the module, remove text2vec-openai from ENABLE_MODULES
Example fix
// before ENABLE_MODULES=text2vec-openai,text2vec-transformers // after (module built from mismatched source) // rebuild with matching version, then: ENABLE_MODULES=text2vec-openai
Defensive patterns
Strategy: validation
Validate before calling
// Bash, before starting Weaviate
docker run --rm weaviate/weaviate:latest 2>&1 | grep -q 'init additional properties provider' \
&& echo 'module init failed' || echo 'ok'
// In Go (embedding weaviate):
import "strings"
func isAdditionalPropsInitErr(err error) bool {
return err != nil && strings.Contains(err.Error(), "init additional properties provider")
} Type guard
func moduleInitErrIs(err error, ctx string) bool {
// errors from module Init are wrapped; unwrap to classify
for e := err; e != nil; e = errors.Unwrap(e) {
if strings.Contains(e.Error(), ctx) {
return true
}
}
return false
}
// usage: moduleInitErrIs(err, "init additional properties provider") Try / catch
if err := mod.Init(ctx, params); err != nil {
if strings.Contains(err.Error(), "init additional properties provider") {
logger.Fatalf("text2vec-openai additional-properties init failed, check inner error: %v", err)
}
return fmt.Errorf("module init failed: %w", err)
} Prevention
- Keep module binaries and Weaviate core on matching release versions
- Pin ENABLE_MODULES to only modules you actually use
- Check Weaviate startup logs immediately after upgrades for wrapped init errors
- Test module enablement in a staging container before production rollout
When it happens
Trigger: Calling Weaviate startup with ENABLE_MODULES=text2vec-openai; the Init(ctx, params) method runs and initAdditionalPropertiesProvider() returns an error, causing errors.Wrap(err, "init additional properties provider"). Any failure inside the provider's constructor/dependency lookup produces this wrapper.
Common situations: Starting Weaviate with the OpenAI text2vec module enabled in docker-compose or helm; broken module binary or version mismatch where the module does not expose the required additional-properties capability; nil dependencies passed to module Init in custom wiring.
Related errors
- init additional properties provider
- init additional properties provider
- init graphql provider
- init graphql provider
- init module ( )
AI-assisted analysis of weaviate/weaviate@75aa4b6d11 (2026-09-04).
Data as JSON: /api/errors/e531b134ab3408bb.
Report an issue: GitHub.
Appendix: source
Thrown at modules/text2vec-openai/module.go:80
func (m *OpenAIModule) Name() string {
return Name
}
func (m *OpenAIModule) Type() modulecapabilities.ModuleType {
return modulecapabilities.Text2ManyVec
}
func (m *OpenAIModule) Init(ctx context.Context,
params moduletools.ModuleInitParams,
) error {
m.logger = params.GetLogger()
if err := m.initVectorizer(ctx, params.GetConfig().ModuleHttpClientTimeout, m.logger); err != nil {
return errors.Wrap(err, "init vectorizer")
}
if err := m.initAdditionalPropertiesProvider(); err != nil {
return errors.Wrap(err, "init additional properties provider")
}
return nil
}
func (m *OpenAIModule) InitExtension(modules []modulecapabilities.Module) error {
for _, module := range modules {
if module.Name() == m.Name() {
continue
}
if arg, ok := module.(modulecapabilities.TextTransformers); ok {
if arg != nil && arg.TextTransformers() != nil {
m.nearTextTransformer = arg.TextTransformers()["nearText"]
}
}
}
if err := m.initNearText(); err != nil {View on GitHub (pinned to 75aa4b6d11)