Troubleshoot the DB2 connector in Azure Data Factory and Azure Synapse

APPLIES TO: Azure Data Factory Azure Synapse Analytics

This article provides suggestions to troubleshoot common problems with the Azure Database for PostgreSQL connector in Azure Data Factory and Azure Synapse.

Error code: DB2DriverRunFailed

  • Message: Error thrown from driver. Sql code: '%code;'

  • Cause: If the error message contains the string "SQLSTATE=51002 SQLCODE=-805", follow the "Tip" in Copy data from DB2.

  • Recommendation: Try to set "NULLID" in the packageCollection property.

For more troubleshooting help, try these resources: