Power BI Refresh Error:
Fabric Copy Activity Error 20020
What does this error mean?
The copy activity source path contains a wildcard character, but the connector or configuration being used does not support wildcard-based file path resolution. The activity fails at the path evaluation stage before any data transfer begins.
Common causes
- 1A wildcard pattern (e.g., '*.csv' or 'folder/*/file.parquet') was entered in the file path field of a connector that does not natively support wildcard expansion
- 2The dataset or linked service was migrated from Azure Data Factory where wildcard support was available for the connector, but the equivalent Fabric connector has different capabilities
- 3A dynamic expression intended to build a specific path string accidentally produces a wildcard character in the resolved value
- 4Confusion between the 'wildcard file path' and 'file path' settings in the copy activity source configuration, resulting in wildcards in the wrong field
How to fix it
- 1Step 1: Open the copy activity source configuration and review the file path and wildcard file path fields to confirm where the wildcard character is set.
- 2Step 2: Check the official Microsoft Fabric connector documentation for your specific source connector to verify whether wildcard path patterns are supported.
- 3Step 3: If wildcards are not supported, replace the wildcard path with an explicit file path or use a ForEach activity to iterate over a list of specific file paths instead.
- 4Step 4: If you need dynamic file discovery, consider using a Get Metadata activity upstream to list files, then pass the explicit file names to the copy activity via pipeline parameters.
- 5Step 5: If the wildcard was introduced by a dynamic expression, add a debug print of the resolved expression value before the copy activity to catch accidental wildcard characters in the output.