Skip to content

ConfigFieldMissingError

relationalai.config.errors.exceptions
ConfigFieldMissingError(
field_path: list[str], context: ConfigErrorContext, suggestion: str | None = None
)

Raised when a required configuration field is missing.

This error is raised during config loading/validation when a required key (for example connections.sf.password) is absent.

  • field_path

    (list[str]) - Path segments to the missing field.
  • context

    (:class:~relationalai.config.errors.ConfigErrorContext) - Where the invalid config came from (source, file, profile, connection).
  • suggestion

    (str, default: None) - Optional config snippet showing what to add.
ConfigFieldMissingError.field_path: list[str]

Path segments to the missing field.

ConfigFieldMissingErrorConfigValidationErrorConfigErrorbuiltins.Exceptionbuiltins.ValueError