> How can I tell exactly what SQL/insert it tried to run?

Set DEBUG_DBMS_FLAGS=1 in your configuration (export, etc), and run again.
All SQL statements will be traced to the log.

  Eric