Database connectors can return errors when input validation fails, database connections cannot be established, SQL statements contain invalid syntax, or database operations violate constraints. These errors can be handled within a process to support exception handling, troubleshooting, and recovery workflows.
The MariaDB, PostgreSQL, and Microsoft SQL Server connectors use the same error model and return the same set of connector errors:
| Error | Description |
|---|---|
| MISSING_INPUT | A required input parameter was not provided. Verify that all mandatory connector inputs are mapped and contain values. |
| INVALID_INPUT | An input parameter contains an invalid value or unsupported data type. Verify that the input matches the format expected by the connector action. |
| DATA_ACCESS_ERROR | The connector could not access the requested data. Verify the query, database configuration, and data availability. |
| DATA_INTEGRITY_VIOLATION_ERROR | The database operation violated a data integrity constraint, such as a foreign key, unique constraint, or required field restriction. |
| CONNECTION_ERROR | The connector could not establish a connection to the database. Verify the database host, port, credentials, and network connectivity. |
| SQL_GRAMMAR_ERROR | The SQL statement contains invalid syntax. Verify that the query is valid for the target database platform. |
| DUPLICATE_KEY_ERROR | The operation attempted to insert or update data that conflicts with a unique key or primary key constraint. |
| OPTIMISTIC_LOCK_ERROR | The operation failed because another transaction modified the same data before the current update completed. |
| DEAD_LOCK_ERROR | The database detected a deadlock between concurrent transactions and terminated one of the operations. |
| PERMISSION_DENIED_ERROR | The configured database user does not have sufficient permissions to perform the requested operation. |
| UNKNOWN_ERROR | An unexpected error occurred during database processing. Review database logs and connector configuration for more information. |