---
title: CREATE_FILE_ERROR error condition
description: Documentation for the CREATE\_FILE\_ERROR error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/create-file-error-error-class
---

# CREATE\_FILE\_ERROR error condition

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

Error creating a file.

## FAILED\_TO\_WRITE\_FILE

Failed to write the file at path `<path>`. Cause: `<cause>`.

## FILE\_ALREADY\_EXISTS

A file already exists at the path `<path>`. Please override if\_file\_exists with the modes "skip" to skip uploading this file, or "overwrite" to overwrite the existing file.
