Thank you for posting query in Microsoft Q&A Platform.
You need to consider using Assert Transformation or Conditional Split Transformation to filter error rows from source and then accordingly load then to sink.
Please check below two videos that help you to understand this better.
Assert Transformation in Mapping Data Flows in Azure Data Factory
Handle Error Rows in Data Factory Mapping Data Flows
Hope this helps.
------------
Please consider hitting Accept Answer
button. Accepted answers help community as well.