---
title: FILE_TYPE_MISSING_FILESPACE error condition
description: Documentation for the FILE\_TYPE\_MISSING\_FILESPACE error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/file-type-missing-filespace-error-class
---

# FILE\_TYPE\_MISSING\_FILESPACE error condition

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Cannot resolve a file space for a `MANAGED` FILE upload.

## NOT\_MANAGED\_FILE

This UDF's FILE output does not go into a FILE `MANAGED` column. Supply a destination path, or declare the target column as FILE `MANAGED`.

## NO\_UDF\_CONTEXT

FileRef.fromBytes / FileRef.fromLocalFile without a destination path can only be called from a UDF. Supply an explicit Volume path otherwise.

## TABLE\_PROPERTY\_NOT\_SET

Tables with FILE `MANAGED` columns require the 'databricks.filespace-preview' table property to be set.
