---
title: FILE_TYPE_INVALID_DESTINATION error condition
description: Documentation for the FILE\_TYPE\_INVALID\_DESTINATION error condition on Databricks
canonical_url: https://docs.databricks.com/aws/en/error-messages/file-type-invalid-destination-error-class
---

# FILE\_TYPE\_INVALID\_DESTINATION error condition

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

Invalid destination for a FILE output.

## EXTERNAL\_MISSING\_PATH

`EXTERNAL` FILE output requires a destination path. Specify a Volume path when creating the FileRef, or write to a FILE `MANAGED` column instead.

## MANAGED\_UNEXPECTED\_PATH

`MANAGED` FILE output does not accept a destination path. Return the FileRef without a path, or write to a FILE `EXTERNAL` column instead.

## NOT\_A\_VOLUME\_PATH

Destination '`<path>`' is not a Volume path. Specify a path under /Volumes.

## UNRESOLVED\_MODE

FILE output column has an unresolved mode. Declare the target column as FILE `MANAGED` or FILE `EXTERNAL`.
