---
title: DATA_SOURCE_INVALID_RUNTIME_FILTER_ATTRIBUTE error condition
description: Documentation for the DATA\_SOURCE\_INVALID\_RUNTIME\_FILTER\_ATTRIBUTE error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/data-source-invalid-runtime-filter-attribute-error-class
---

# DATA\_SOURCE\_INVALID\_RUNTIME\_FILTER\_ATTRIBUTE error condition

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The runtime filter attribute `<attribute>` reported by `<method>` in data source scan `<scanClass>` is invalid for the scan relation output `<relationOutput>`.

## CANNOT\_RESOLVE

The attribute cannot be resolved.

## NOT\_IN\_FILTER\_ATTRIBUTES

The attribute must also be returned by `filterAttributes()`.

## NOT\_TOP\_LEVEL

The attribute must be top-level, but it is a nested reference.
