Microsoft Fabric · Column names

DeltaInvalidCharacterInColumnName in a Microsoft Fabric Copy activity

A column in the data being written has a name that a Delta table does not accept: it contains a space or one of ,;{}()=, a tab or a line break. Rename the column on its way in, or let Fabric create the table with column mapping, and the copy goes through.

The error
Failure happened on 'destination' side. ErrorCode=DeltaInvalidCharacterInColumnName,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Column name Location Code contains invalid characters. ",;{}()\n\t=" are not supported.,Source=Microsoft.DataTransfer.ClientLibrary,'

What this error means

Lakehouse tables are Delta tables. Unless a table uses the column mapping feature, Delta does not allow spaces or the characters listed in the message in column names. The Copy activity checks the names before it writes, so nothing is loaded. A space counts as well, although the list in the message does not show it clearly.

The message names the column, here Location Code. Failure happened on 'destination' side only means the Lakehouse refused the name. The name itself normally comes from the source.

Why it happens

  • Source columns with spaces or symbols. SQL Server, Excel and CSV sources often have names such as Location Code or Amount (USD).
  • A new column appeared in the source. The table loaded for months, until someone added a column whose name contains a space.
  • The table was created without column mapping. Fabric can create a new table with column mapping when source names contain special characters, but an existing table without it still refuses them.
  • A mapping that is not applied. In a metadata-driven pipeline, a column mapping passed as a plain string instead of JSON is ignored, so the original names reach the Lakehouse.

How to fix it

  1. Read the column name in the message

    The text between Column name and contains invalid characters is the column to deal with. If several names are invalid, each run reports one of them.

  2. Rename it in the mapping

    On the Copy activity’s Mapping tab, import the schemas and give the destination column a valid name such as Location_Code. Letters, digits and underscores are safe.

  3. Or rename it in the source query

    For a SQL source, read with a query instead of the table and give the column an alias. A view with clean names does the same for every pipeline that reads the table.

    Source query: alias the column to a valid name
    01 SELECT02-  [Location Code],03+  [Location Code] AS Location_Code,04   [timestamp]05 FROM dbo.Stock;
  4. Or let Fabric create the table with column mapping

    To keep the original names, load into a new table or use the Overwrite table action. Microsoft documents that the copy then creates the table with delta.columnMapping.mode set to name when source columns include special characters and whitespace. Check first that the tools reading the table support Delta column mapping.

  5. Rerun and look at the table

    Run the pipeline again, then open the table in the Lakehouse and confirm the column names and the row count.

How to stop it coming back

  • Agree one naming rule for landed tables: letters, digits and underscores only.
  • Read wide or changing sources through a view that sets the names once.
  • In metadata-driven pipelines, generate destination names by replacing invalid characters, and pass the mapping as JSON.

With PipelineMender AI

The next failed run explains itself.

PipelineMender reads the failing activity’s error, input and output through the Fabric REST API, and the pipeline definition when it has Contributor access. For this failure the report quotes the column named in the error, shows where that column enters the pipeline, and proposes the alias or mapping change for you to review.

Is the error in front of you now? Start a trial, choose Report an incident and paste it in. No connection is needed for that.

  • Read-only access
  • You review every change
  • No model training

Questions

Common questions about this error.

Which characters are not allowed in a Lakehouse column name?

For a table without column mapping: spaces, commas, semicolons, curly braces, parentheses, equals signs, tabs and line breaks. Microsoft’s Lakehouse guidance is to use letters, digits and underscores, and at most 128 characters.

Why does the error say destination when the name comes from the source?

Because the Lakehouse is where the name is refused. The column name arrives from the source unless the query or the mapping renames it first.

Can I keep spaces in column names?

Yes, if the table uses Delta column mapping. Fabric creates a new or overwritten table with column mapping when source names contain special characters or spaces. An existing table without it has to be recreated, or its columns renamed.

Checked against: Configure Lakehouse in a copy activity Troubleshoot Lakehouse errors: invalid column names Troubleshoot connectors in Microsoft Fabric

Last reviewed 13 November 2026 against Microsoft’s documentation. PipelineMender AI is an independent product and is not affiliated with Microsoft or Databricks; product names are trademarks of their owners.