Skip to content

[BUG] Cannot delete a model that was created with missing additional_config #3965

Open
@kimpepper

Description

@kimpepper

What is the bug?

I have been trying to get semantic search with Bedrock set up locally using docker compose, and created a model with missing additional_config. However, I cannot delete this model as I get the following error:

{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "Space type must be provided in additional_config for remote text embedding model"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "Space type must be provided in additional_config for remote text embedding model"
  },
  "status": 400
}

How can one reproduce the bug?

  1. Create a remote model with missing additional_config
  2. Try to delete the model
  3. Get a validation error when trying to delete

What is the expected behavior?

The index is deleted.

What is your host/environment?

  • OS: Ubuntu
  • Version 25.04
  • Plugins

Do you have any screenshots?
N/A

Do you have any additional context?

A workaround is to delete the docker volumes and start again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions