How to fix 'Couldn't interpret '0000-07-01' as a valid DateTime' Error in copy activity - synapse analytics pipeline

Shrimathi M 40 Reputation points
2024-11-04T15:16:05.7266667+00:00

Hello,
Synapse analytics-copy data activity returning below error. But in my case many rows are having "0000-07-01" date in the DB table column.
I have tried to change the datatype then to debug. But failed to copy.
And then I tried copy activity with single table and bulk table. but there is no luck.
Can any one help for this?

"errorCode": "2200", "message": "Failure happened on 'Source' side. ErrorCode=UserErrorFailedFileOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The file operation is failed, upload file failed at path: 'usprodannex1/synapse/workspaces/synapse-preprod-annexcloud-01/warehouse/AllTables/user.parquet'.,Source=Microsoft.DataTransfer.Common,''Type=System.FormatException,Message=Couldn't interpret '0000-07-01' as a valid DateTime,Source=MySqlConnector,''Type=System.ArgumentOutOfRangeException,Message=Year, Month, and Day parameters describe an un-representable DateTime.,Source=mscorlib,'", "failureType": "UserError", "target": "Testcopy Data", "details": [] }

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,916 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,980 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
843 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.