---
title: FILE_TYPE_INVALID_OUTPUT_FILE error condition
description: Documentation for the FILE\_TYPE\_INVALID\_OUTPUT\_FILE error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/file-type-invalid-output-file-error-class
---

# FILE\_TYPE\_INVALID\_OUTPUT\_FILE error condition

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The file returned by the UDF cannot be read as a FILE value.

## INVALID\_PATH

The file '`<path>`' returned by the UDF is not a valid FILE value.

## NOT\_FOUND

The file '`<path>`' was not found or is not a regular file.

## REUSED\_ACROSS\_ROWS

The UDF returned the same FileRef in more than one row. Create a new FileRef for each row.
