---
title: FILE_REFERENCE_ERROR error condition
description: Documentation for the FILE\_REFERENCE\_ERROR error condition on Databricks
canonical_url: https://docs.databricks.com/aws/en/error-messages/file-reference-error-error-class
---

# FILE\_REFERENCE\_ERROR error condition

[SQLSTATE: 58030](https://docs.databricks.com/aws/en/error-messages/sqlstates.md#class-58-system-error)

Cannot read file `<path>`.

## STALE\_ETAG

The file changed after the FILE reference was created, so its ETag no longer matches. Recreate the reference with to\_file.

## STALE\_SIZE

The file is `<actualSize>` bytes, but the FILE reference specifies `<expectedSize>` bytes. Recreate the reference with to\_file.
