---
title: COPY_FILE_AUTHORIZATION_ERROR error condition
description: Documentation for the COPY\_FILE\_AUTHORIZATION\_ERROR error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/copy-file-authorization-error-error-class
---

# COPY\_FILE\_AUTHORIZATION\_ERROR error condition

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

Authorization error while copying a file.

## COPY\_UNAUTHORIZED

User is not authorized to copy the source file from path `<source>` to `<destination>`.

## READ\_UNAUTHORIZED

User is not authorized to read the source file at path `<path>`.

## WRITE\_UNAUTHORIZED

User is not authorized to write the file to the destination path `<destination_path>`.
