This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am getting error ORA-00001 Unique Constraint Violated for any error when updating my Oracle table.
Specifically, my workflow's output tool Output Options is "Update, Insert if new" so I should never get an ORA-00001 error. If the record exists, it should be updated, if it does not exist, it should be inserted. The update happens most of the time, however when the update fails, the actual error my database is raising is an ORA-20001 error with a custom error message that I want to pass all the way back to the person reading the workflow log. When I run an update in the database I receive the correct error: ORA-20001: No overrides to Sales allowed on data in closed periods. INVOICE_NBR=12345. But the error Alteryx is presenting my user is: Error: MyWorkflow_output: DataWrap2OCI::SendBatch: ORA-00001: unique constraint (MY_SCHEMA.MY_TABLE_PK) violated.
Am I misinterpreting the error in Designer or is the incorrect error being presented to me?