---
title: EXPORT_TO_OSSIE error condition
description: Documentation for the EXPORT\_TO\_OSSIE error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/export-to-ossie-error-class
---

# EXPORT\_TO\_OSSIE error condition

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot read Apache Ossie YAML from the metric view.

## FEATURE\_DISABLED

The export\_to\_ossie function is disabled. Please make sure "spark.databricks.sql.metricView\.exportToOssie.enabled" is set to true.

## INVALID\_DEFINITION

The metric view `<name>` has no stored definition to convert.

## NOT\_A\_METRIC\_VIEW

`<name>` is not a metric view (table type: `<tableType>`).

## NOT\_REPRESENTABLE\_IN\_OSSIE

The metric view `<name>` cannot be represented in Apache Ossie: `<message>`

## REQUIRES\_TABLE\_ARGUMENT

The `<functionName>` function requires the metric view to be referenced by name as a `TABLE` argument, for example, export\_to\_ossie(`TABLE`(catalog.schema.metric\_view)).

## UNSUPPORTED\_VERSION

The metric view `<name>` is stored as version `<version>`, which cannot be converted to Apache Ossie. Only version 1.1 is supported.
