Skip to main content

SFTP_URI_AND_CREDENTIAL_MISMATCH error condition

SQLSTATE: 08006

When loading data from an SFTP path using the 'databricks.connection' option, the configuration in the SFTP URI does not match the Unity Catalog connection credentials for path <path>. Please update your SFTP URI or Unity Catalog connection to ensure the host, port, and user are consistent.

HOST_MISMATCH

The host in the URI '<hostInUri>' does not match the host in the credentials

'<hostInCredentials>'.

MISSING_HOST

The SFTP URI is missing a host. Please specify a valid SFTP URI in the format

'sftp://host/path' or 'sftp://user@host/path'.

PORT_MISMATCH

The port in the URI '<portInUri>' does not match the port in the credentials

'<portInCredentials>'.

USER_MISMATCH

The user in the URI '<userInUri>' does not match the user in the credentials

'<userInCredentials>'.