An Azure service for ingesting, preparing, and transforming data at scale.
It sounds like you're running into a type conversion error during your copy activity. The error message you shared indicates that the system is struggling to convert a value from a Date type to a String type, which can be quite frustrating. Here's what you can try to resolve this issue:
Check Column Mapping: Double-check the column mapping settings in your copy activity. Ensure that both source and destination tables are correctly configured with the same data types for the CaptureDateOnly column. It sounds like both should be Date types, so make sure there are no overrides or incorrect settings in the mapping tab.
Data Format Issues: Since the error mentions a specific date 09/30/2025 00:00:00, verify how dates are formatted in your source system. Ensure that there are no unexpected or varying formats in your data, as this could lead to conversion issues.
Fault Tolerance Settings: You can enable fault tolerance in your copy activity to skip over rows that are causing conversion errors. This won't fix the underlying issue, but it allows the activity to continue processing other rows. More on this can be found in the fault tolerance documentation.
Conversion Settings: You mentioned trying different values for Date and DateTime formats in the conversion type settings. Make sure you're using a format that matches the source data. You might want to look into the formatting guides for date types in Azure Data Factory.
Run Diagnostics: Use copy activity diagnostics to check for any underlying issues that might not be obvious. The troubleshooting guide for copy activity errors may provide additional context for your specific error.
If after trying these steps you're still blocked, here are some follow-up questions to help narrow down the problem:
- What type of data source are you copying from? (e.g., SQL Server, Azure SQL Database, etc.)
- Can you confirm the data types of both the source and destination columns for
CaptureDateOnly? - Are there any additional transformations or mappings applied to the data in your copy activity?
- Has this error occurred for all rows, or only specific values in your dataset?
Hope this helps get you back on track! Let me know if you have any other questions!